Facebook API
Public Facebook pages and profiles as structured JSON: pass a page URL or handle, get a normalized payload back. One key, one wallet, billed per request in real dollars.
Post
Most usedCompany ads
Ads search
Profile reels
Profile posts
Search companies
Group posts
Post comments
Profile
Page contact
Marketplace item
Search posts
Comment replies
Marketplace
Ad details
Ad transcript
Events search
Event details
Profile events
Search pages
capped at $0.101 per request1 result$0.0116 results$0.060511 results$0.101 capYou are charged for what comes back. Lower the limit to pay less - and no single request can cost more than the cap, however much comes back.
Post transcript
Ad details full
Photos
Page lookup
Events
Marketplace location search
Followers
capped at $0.063 per request1 result$0.00610 results$0.03320 results$0.063 capYou are charged for what comes back. Lower the limit to pay less - and no single request can cost more than the cap, however much comes back.
About the Facebook API
Every provider prices each endpoint independently, so the table shows the cheapest per endpoint. Open one to compare all providers.
Call the Facebook API
https://api.getanyapi.comAuthorization: Bearer $ANYAPI_KEYcurl -X POST https://api.getanyapi.com/v1/run/facebook.post \ -H "Authorization: Bearer $ANYAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://www.facebook.com/reel/2166091230582141/"}'
Measured performance
What the Facebook API actually does
Every call through AnyAPI over the last 30 days, counted here rather than promised.
- Weighted p50 estimate
- 2.3s
- Request-weighted average of endpoint p50 values, not a combined request percentile
- Weighted p99 estimate
- 13.4s
- Request-weighted average of endpoint p99 values, not a combined request percentile
Run Facebook data in the browser
The same public data, with no key and no account, before you write any code.
Or browse every free tool.
FAQ
About the Facebook API
The AnyAPI Facebook API returns Facebook data as normalized JSON across 27 endpoints: profile, profile posts, post, post comments, profile reels, ad details, ad details full, ad transcript, ads search, comment replies, company ads, event details, events, events search, followers, group posts, marketplace, marketplace item, marketplace location search, page contact, page lookup, photos, post transcript, profile events, search companies, search pages, and search posts. You call one endpoint per job with a single key, and AnyAPI routes each request across 9 sources, falling back automatically when one fails. Pricing is in US dollars, from $0.40 per 1,000 requests on the cheapest endpoint, with no subscription and no monthly minimum. Over the last 30 days, 99.8% of Facebook calls through AnyAPI succeeded, with a request-weighted median response time of 2.3 seconds across 2,730,671 measured calls.