API Reference
API Overview
Base URL, authentication, and the endpoints of the SocialAPI REST API.
Every endpoint with its parameters, its answer and a real request, in TypeScript, Python and cURL.
Base URL
https://api.socialapi.shEvery endpoint is a GET under /v1, with the platform first: /v1/tiktok/profile.
Authentication
Send your API key as a bearer token. See Authentication.
curl https://api.socialapi.sh/v1/credits \
-H "Authorization: Bearer $SOCIALAPI_API_KEY"Responses
| Answer | Shape |
|---|---|
| One item | { "data": … } |
| A list | { "data": [...], "pagination": … } |
| An error | { "error", "code", "param" } |
Each answer carries its cost and request id in headers. See Responses.
Errors and Rate Limits
- A call that fails costs nothing. See Errors.
- A workspace sends up to 600 requests a minute. See Rate Limits.
Endpoints
Platforms
TikTok22 endpoints for profiles, posts and transcripts.Instagram15 endpoints for profiles, reels and places.Threads10 endpoints for profiles, threads and search.Facebook13 endpoints for Pages, posts and Marketplace.YouTube26 endpoints for channels, videos and transcripts.Reddit17 endpoints for users, communities and comments.Pinterest19 endpoints for pins, boards and trends.Twitch20 endpoints for channels, clips and live status.Bluesky30 endpoints for accounts, posts and feeds.X (Twitter)13 endpoints for accounts, posts and Spaces.Telegram6 endpoints for channels, posts and comments.Kick16 endpoints for channels, clips and chat replays.Douyin15 endpoints for accounts, posts and the hot list.LinkedIn17 endpoints for profiles, companies, jobs and ads.
Workspace
OpenAPI
The whole API as one OpenAPI document, for code generators and API clients: /openapi.json.