DataSocial

Search DataSocial

Guides, tables, questions and live endpoints

API keys

Run SQL (and, once it opens, the Live API) from your own code. Every call with a key spends your credits, like Search. How to use the API

Sign in to create a key
Keys are free on every plan and use your account's credits: 1,000 free every month.
Use a key
Send it as a bearer token. Keep it out of web pages and public code: anyone with it spends your credits.
curl https://api.datasocial.ai/v1/data/sql \
  -H "Authorization: Bearer $DATASOCIAL_KEY" \
  -H 'content-type: application/json' \
  -d '{"sql": "SELECT count() FROM tiktok.sounds"}'

DataSocial: TikTok data you can ask questions of.