How to get Facebook page details
GET request to /v1/facebook/page-details with your input. You get clean JSON back in seconds for 1 credit per call — no OAuth, scraping or platform SDKs. Fetch a public Facebook page — links, bio, and profile fields as structured JSON.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": 28673921,
"following": 52,
"likes": 28673921,
"verified": true,
"profileImage": "https://scontent-lga3-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=ZOjc8KcuDOgQ7kNvwE7CTLr&_nc_oc=Adoa7_rV88w6UGTBctpfkQxCwKMEJAfttamsrAzUgaxsvFuAtH-42W1rkk1zJ_dFATSsCRFGixMaMbjc7SYMrB_v&_nc_zt=24&_nc_ht=scontent-lga3-1.xx&_nc_gid=XCcf-_SQpXu-jtWmyttXoA&_nc_ss=72289&oh=00_AQC42UTKpB-Gky692TMK2FWs5x5dxdQBLQehImKHB5TYog&oe=6A4DA615",
"coverImage": "https://scontent-lga3-2.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=0QAP_MMtk50Q7kNvwFgcqi0&_nc_oc=AdoJpPBonHxjkLIP7mlVaku5506smtlIQWXieqssnUzfxlCiHAdpY_T0chqFgLLGVAnglIiW5gYsxVGtoQRZlMsh&_nc_zt=23&_nc_ht=scontent-lga3-2.xx&_nc_gid=XCcf-_SQpXu-jtWmyttXoA&_nc_ss=72289&oh=00_AQCQe_gWukpCwL80HP-OA7vMjQD5yP2Qkn6uaFGHogLcig&oe=6A4DBAE3",
"category": "Government organization",
"website": "https://www.nasa.gov/nasa-app/",
"email": "public-inquiries@hq.nasa.gov",
"createdAt": "March 4, 2009"
}
}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. Default false — always fetch fresh data. |
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 1 credit. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. 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 shared cache (0 credits on hit); default is always fresh. 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