How to get Facebook page details
GET request to /v1/facebook/page-details with your input. You get clean JSON back in seconds for 2 credits per call — no OAuth, scraping or platform SDKs. Facebook page profile — likes vs followers (distinct), talkingAbout, category, website, and public email.How to get Facebook page details (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Facebook Page Details API
Send an authenticated GET request to /v1/facebook/page-details with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/facebook/page-details?url=https%3A%2F%2Fwww.facebook.com%2FNASA" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"platform": "facebook",
"url": "https://www.facebook.com/NASA",
"username": "NASA",
"displayName": "NASA",
"fullName": "NASA - National Aeronautics and Space Administration",
"bio": "Explore the universe and discover our home planet. \nThere's space for everybody. ✨",
"followers": 28000000,
"followersIsApproximate": true,
"following": 52,
"likes": 28657418,
"likesIsApproximate": false,
"talkingAbout": 87542,
"talkingAboutIsApproximate": false,
"verified": true,
"profileImage": "https://scontent-ams2-1.xx.fbcdn.net/v/t39.30808-1/243095782_416661036495945_3843362260429099279_n.png?stp=dst-png&cstp=mx800x800&ctp=s200x200&_nc_cat=1&ccb=1-7&_nc_sid=f907e8&_nc_ohc=p-I5WtLvyPIQ7kNvwGNqQPz&_nc_oc=AdrHdhh-STMw354rnrjuFVcB_iniLxrLE45ODKhANclECwfCGQeoggO3Y69bFTeV3u0&_nc_zt=24&_nc_ht=scontent-ams2-1.xx&_nc_gid=zOsU00hAz3vIE0xLeuEEjA&_nc_ss=7b289&oh=00_AQG0XVSduh4nqyw_0PUHNXFrPsaQWgImWMlBgnFHw-mkCQ&oe=6A764C55",
"coverImage": "https://scontent-ams2-1.xx.fbcdn.net/v/t39.30808-6/663298991_1496429661852405_5171518456419416626_n.jpg?stp=dst-jpg_tt6&cstp=mx2048x1366&ctp=s960x960&_nc_cat=105&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=jJ1aogFmMrAQ7kNvwEgUz8r&_nc_oc=AdpCeQFsutnpqxSVozuP96M4esxiGp_E5LtUwYSr-XGvAxD-YEWuH7-t6kuRXoOl2hI&_nc_zt=23&_nc_ht=scontent-ams2-1.xx&_nc_gid=zOsU00hAz3vIE0xLeuEEjA&_nc_ss=7b289&oh=00_AQFVelTF7GeR-4rMFhrEk2wwf2DLSBrFT0qUkp3H6V8uKg&oe=6A7628E3",
"category": "Government organization",
"website": "https://nasa.gov/nasa-app",
"email": "public-inquiries@hq.nasa.gov"
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Facebook page URL, @handle, or page name, e.g. https://facebook.com/PageName. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| cache | boolean | No | Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. |
Frequently asked questions
What does the Facebook Page Details API do?
The Facebook Page Details API lets you fetch profile or page details and audience stats from a public Facebook profile or page using one GET request to /v1/facebook/page-details. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the Facebook Page Details API cost?
Each successful call costs 2 credits. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.
Do I need a Facebook API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the Facebook Page Details API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.
Ready to get Facebook page details?
Start free with 100 credits — no credit card required.
Get your free API key