How much does X scraping cost?
Most standard endpoints start at 1 credit per successful call. Endpoint pages list the exact credit cost, cache window, and parameters before you run a request.
X API: 15 endpoints for public X data through the SocialQuery response format. One x-api-key header, generated docs, and normalized JSON alongside 67 other platforms.
TL;DR
The X API by SocialQuery returns public X data as structured JSON through 15 endpoints with one shared response envelope.
Where to find SocialQuery
Type a public X handle, URL, or query, run a real request, and inspect the JSON SocialQuery returns.
See real data before writing a single line
Every X endpoint returns structured JSON with request metadata, credit usage, cache information, and normalized fields.
Twitter profile. Availability depends on the configured provider route.
Twitter user tweets. Availability depends on the configured provider route.
Twitter tweet. Availability depends on the configured provider route.
Twitter community. Availability depends on the configured provider route.
Twitter community tweets. Availability depends on the configured provider route.
Twitter tweet transcript. Availability depends on the configured provider route.
Twitter ai search. Availability depends on the configured provider route.
Twitter search tweets. Availability depends on the configured provider route.
Twitter tweet replies. Availability depends on the configured provider route.
Twitter user media. Availability depends on the configured provider route.
Twitter user followers. Availability depends on the configured provider route.
Twitter user following. Availability depends on the configured provider route.
Twitter tweet retweeters. Availability depends on the configured provider route.
Twitter search users. Availability depends on the configured provider route.
Twitter profile full. Availability depends on the configured provider route.
Scrape public X data without maintaining source-specific routing, parsing, retries, or response adapters.
Query 68 platforms with identical response structures. Write your integration once.
Every response includes engagement, content, cache, and request metadata ready for dashboards.
Run browser demos, copy request snippets, and inspect JSON before moving into production.
import requests
response = requests.get(
'https://socialquery.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sq_YOUR_API_KEY'}
)
data = response.json()const response = await fetch(
'https://socialquery.dev/v1/tiktok/profile?handle=charlidamelio',
{
headers: {
'x-api-key': 'sq_YOUR_API_KEY'
}
}
);
const data = await response.json();curl 'https://socialquery.dev/v1/tiktok/profile?handle=charlidamelio' \
-H 'x-api-key: sq_YOUR_API_KEY'import requests
response = requests.get(
'https://socialquery.dev/v1/instagram/profile',
params={'handle': 'mkbhd'},
headers={'x-api-key': 'sq_YOUR_API_KEY'}
)
data = response.json()const response = await fetch(
'https://socialquery.dev/v1/instagram/profile?handle=mkbhd',
{
headers: {
'x-api-key': 'sq_YOUR_API_KEY'
}
}
);
const data = await response.json();curl 'https://socialquery.dev/v1/instagram/profile?handle=mkbhd' \
-H 'x-api-key: sq_YOUR_API_KEY'import requests
response = requests.get(
'https://socialquery.dev/v1/youtube/channel',
params={'handle': '@mkbhd'},
headers={'x-api-key': 'sq_YOUR_API_KEY'}
)
data = response.json()const response = await fetch(
'https://socialquery.dev/v1/youtube/channel?handle=@mkbhd',
{
headers: {
'x-api-key': 'sq_YOUR_API_KEY'
}
}
);
const data = await response.json();curl 'https://socialquery.dev/v1/youtube/channel?handle=@mkbhd' \
-H 'x-api-key: sq_YOUR_API_KEY'import requests
response = requests.get(
'https://socialquery.dev/v1/reddit/subreddit',
params={'name': 'saas'},
headers={'x-api-key': 'sq_YOUR_API_KEY'}
)
data = response.json()const response = await fetch(
'https://socialquery.dev/v1/reddit/subreddit?name=saas',
{
headers: {
'x-api-key': 'sq_YOUR_API_KEY'
}
}
);
const data = await response.json();curl 'https://socialquery.dev/v1/reddit/subreddit?name=saas' \
-H 'x-api-key: sq_YOUR_API_KEY'{
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}{
"success": true,
"platform": "instagram",
"data": {
"author": {
"username": "mkbhd",
"followers": 5240000
},
"engagement": {
"likes": 178000,
"engagement_rate": 0.034
},
"metadata": {
"language": "en",
"content_category": "tech"
}
}
}{
"success": true,
"platform": "youtube",
"data": {
"channel": {
"handle": "@mkbhd",
"subscribers": 19400000
},
"engagement": {
"avg_views": 4200000,
"engagement_rate": 0.062
},
"metadata": {
"language": "en",
"content_category": "tech"
}
}
}{
"success": true,
"platform": "reddit",
"data": {
"subreddit": {
"name": "saas",
"subscribers": 412000
},
"engagement": {
"posts_24h": 47,
"top_post_upvotes": 1240
},
"metadata": {
"language": "en",
"content_category": "business"
}
}
}X has its own URLs, naming, pagination, freshness, and response quirks. SocialQuery turns those details into one API contract.
68 platforms return different JSON shapes. SocialQuery normalizes each response into one consistent structure.
Every response carries request ids, cache state, credit usage, computed metadata, and source-specific fields in one envelope.
Keep a single server-side key and route public-data workflows across social, reviews, search, commerce, and developer platforms.
Endpoint docs expose cost, cache, params, and pagination behavior before a request runs.
curl -X GET 'https://socialquery.dev/v1/twitter/profile?handle=elonmusk' \
-H "x-api-key: $SOCIALQUERY_API_KEY"// Edit the params above and hit "Try it" to run a live request against the APISocialQuery is built for teams that need X data through one key, one schema, generated docs, and cross-platform workflows.
Most standard endpoints start at 1 credit per successful call. Endpoint pages list the exact credit cost, cache window, and parameters before you run a request.
Use public data, respect source rules, and design retention and downstream processing around your jurisdiction and customer-approved use case.
FAQ
Find answers to commonly asked questions about this SocialQuery API, pricing, and production use.
Public X API stats and cost details are generated from the current SocialQuery catalog.
15
X endpoints
1
starting credits
30 minutes
sample cache
Get your API key and start with 100 free credits. Try live endpoints in under 60 seconds.
Dashboard