DataSocial
v1.0.0Query a TikTok data warehouse (creators, videos, sounds, daily history) with read-only SQL.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_tables List tables
The tables in the DataSocial TikTok warehouse: name, row count, what one row is, and what it holds.
describe_table Describe a table
One table's columns with types and meanings, its sort key and coverage. Read it before writing SQL on a table.
| Parameter | Type | Description |
|---|---|---|
table * | string | The table, e.g. "creators" or "tiktok.creators" |
examples Examples and SQL tips
Worked examples (a question and SQL that runs here) and the SQL tips: growth maths, history-table patterns, big sound_history days. Pass a table to get only its examples.
| Parameter | Type | Description |
|---|---|---|
table | string | Only examples on this table, e.g. "sound_history"; omit for all |
run_sql Run SQL
Run one read-only ClickHouse SELECT on tiktok.* and get the rows back (at most 100 per request; 10 s per query). Name the columns you need and add a LIMIT.
| Parameter | Type | Description |
|---|---|---|
sql * | string | One ClickHouse SELECT, e.g. SELECT username, followers FROM tiktok.creators WHERE country = 'US' ORDER BY followers DESC LIMIT 10 |