Real-time Facebook data, one API call.
Pull details, summaries, and comments from public Facebook videos and pages.
The Facebook API from Captapi gives developers reliable access to public Facebook data without building or maintaining scrapers — send one authenticated request and get clean, structured JSON back.
curl "https://api.captapi.com/v1/facebook/details?url=https%3A%2F%2Fwww.facebook.com%2Fwatch%2F%3Fv%3D1234567890123456" \
-H "Authorization: Bearer capt_live_..."What is the Facebook API?
Pull details, summaries, and comments from public Facebook videos and pages. Every endpoint is a single authenticated GET request that responds with predictable JSON, so the data drops straight into dashboards, AI pipelines, RAG systems, and no-code automations. AI agents can call the same endpoints as MCP tools via @captapi/mcp.
Endpoints
What you can do with the Facebook API
Details
GET /v1/facebook/details
Facebook post or Reel — caption, engagement, author id, video{} playback, and music when Facebook exposes them.
2 credits
Summarizer
GET /v1/facebook/summarize
Turn any Facebook video into an AI summary with key points, topics, and sentiment.
4 credits
Comments
GET /v1/facebook/comments
Facebook post comments with reactionCount, reactions.like when mixed, author.id (pfbid), and replyCount.
2 credits
Page Details
GET /v1/facebook/page-details
Facebook page profile — likes vs followers (distinct), talkingAbout, category, website, and public email.
2 credits
Profile Posts
GET /v1/facebook/profile-posts
Latest posts and Reels from a Facebook page — listingHits / hydrateSkipped / truncatedReason on the envelope.
2 credits
Profile Reels
GET /v1/facebook/profile-reels
Latest Facebook page Reels — views, likes, comments, shares; newest-first without archive padding.
2 credits
Group Posts
GET /v1/facebook/group-posts
Public Facebook group posts — listingHits / hydrateFailures / hydrateSkipped, sortBy, and per-count *IsApproximate.
2 credits
Comment Replies
GET /v1/facebook/comment-replies
Pull replies under a Facebook comment — author, text, likes, and time.
2 credits
Profile Photos
GET /v1/facebook/profile-photos
Photo grid from a Facebook Page — full image URL plus accessibilityCaption (alt-text, not a post caption).
2 credits
How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Call any endpoint above with
Authorization: Bearer capt_live_...and parse the JSON response. Passcache=trueto reuse a prior response from the 24h cache at no cost.
Frequently asked questions
What is the Facebook API?+
The Facebook API is a REST API from Captapi that returns public Facebook data as clean, structured JSON. It covers 9 endpoints — Details, Summarizer, Comments, Page Details, Profile Posts, Profile Reels, and more — behind one Bearer API key, with no OAuth flow and no infrastructure to build or maintain.
What data can I get from the Facebook API?+
Pull details, summaries, and comments from public Facebook videos and pages. Each endpoint is a single GET request that responds with predictable JSON fields, so the data is ready for dashboards, AI pipelines, and automations.
Do I need a Facebook developer account or OAuth?+
No. You only need a Captapi key (capt_live_...), sent as an Authorization: Bearer header. The same key works across all 32 platforms Captapi supports. We handle proxies, rate limits, retries, and parsing for you.
How much does the Facebook API cost?+
Facebook endpoints cost between 2 and 4 credits per call, depending on the endpoint and how many results you request. New accounts start with 100 free credits (no credit card). Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d.
Can AI agents use the Facebook API?+
Yes. Every Facebook endpoint is exposed as a tool in the official MCP server (@captapi/mcp) for Claude, Cursor, and VS Code, and is also available through the @captapi/cli CLI, an n8n community node, a Make.com app, and an Apify Actor.
Is the Facebook API suitable for production use?+
Yes. It is a stable REST API with predictable JSON, automatic retries, and upstream fallbacks. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Only successful responses consume credits — failed or empty results are never charged.
Explore other platforms
Start using the Facebook API in sixty seconds
Sign up, grab your API key, and make your first request. 100 credits on the house — no credit card.