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
Marketplace item
Page contact
Profile
Post comments
Marketplace
Search posts
Ad transcript
Comment replies
Ad details
Post transcript
Events search
Photos
Search pages
capped at $0.11 per request1 result$0.0126 results$0.06611 results$0.11 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.
Event details
Page lookup
Events
Profile events
Ad details full
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.
Marketplace location search
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.5s
- Request-weighted average of endpoint p50 values, not a combined request percentile
- Weighted p99 estimate
- 13.9s
- 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 10 sources, falling back automatically when one fails. Pricing is in US dollars, from $0.38 per 1,000 requests on the cheapest endpoint, with no subscription and no monthly minimum. Over the last 30 days, 99.9% of Facebook calls through AnyAPI succeeded, with a request-weighted median response time of 2.5 seconds across 3,395,981 measured calls.