How much does Facebook 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.
Facebook API: 29 endpoints for public Facebook data through the SocialQuery response format. One x-api-key header, generated docs, and normalized JSON alongside 67 other platforms.
TL;DR
The Facebook API by SocialQuery returns public Facebook data as structured JSON through 29 endpoints with one shared response envelope.
Where to find SocialQuery
Type a public Facebook handle, URL, or query, run a real request, and inspect the JSON SocialQuery returns.
See real data before writing a single line
Every Facebook endpoint returns structured JSON with request metadata, credit usage, cache information, and normalized fields.
Facebook profile. Availability depends on the configured provider route.
Facebook profile posts. Availability depends on the configured provider route.
Facebook post. Availability depends on the configured provider route.
Facebook post comments. Availability depends on the configured provider route.
Facebook group posts. Availability depends on the configured provider route.
Facebook group. Availability depends on the configured provider route.
Facebook post transcript. Availability depends on the configured provider route.
Facebook profile photos. Availability depends on the configured provider route.
Facebook profile reels. Availability depends on the configured provider route.
Facebook adlibrary ad. Availability depends on the configured provider route.
Facebook adlibrary company ads. Availability depends on the configured provider route.
Facebook adlibrary search ads. Availability depends on the configured provider route.
Facebook adlibrary search companies. Availability depends on the configured provider route.
Facebook profile events. Availability depends on the configured provider route.
Facebook post comment replies. Availability depends on the configured provider route.
Facebook marketplace location search. Availability depends on the configured provider route.
Facebook marketplace search. Availability depends on the configured provider route.
Facebook marketplace item. Availability depends on the configured provider route.
Facebook events search. Availability depends on the configured provider route.
Facebook events. Availability depends on the configured provider route.
Facebook event details. Availability depends on the configured provider route.
Facebook adlibrary ad transcript. Availability depends on the configured provider route.
Facebook profile full. Availability depends on the configured provider route.
Facebook profile reels full. Availability depends on the configured provider route.
Facebook search posts. Availability depends on the configured provider route.
Facebook search pages. Availability depends on the configured provider route.
Facebook search people. Availability depends on the configured provider route.
Facebook search videos. Availability depends on the configured provider route.
Facebook search groups. Availability depends on the configured provider route.
Scrape public Facebook 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"
}
}
}Facebook 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/facebook/profile?url=https%3A%2F%2Fwww.facebook.com%2FMeta' \
-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 Facebook 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 Facebook API stats and cost details are generated from the current SocialQuery catalog.
29
Facebook 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