Catalog

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.

Endpoints27Providers7From · post$1.20/1k req · GiraffeFull breakdownRead docs
Uptime
99.70%
30d · 1,407,703 calls
Requests
1.4M
30d · weekly, last 12 wks
Response
2.2s
median · 30d
POST

Post

Most used
/v1/run/facebook.postfacebook.post
A single Facebook post by URL: text and engagement counts (likes, comments, shares, views).
568,896 /mo
▲19423.4%
99.98%
1977ms p50
3
from$1.20/1k req
Giraffe
POST

Profile reels

/v1/run/facebook.profile_reelsfacebook.profile_reels
List a page’s reels by URL with cursor pagination: caption, view count, permalink and thumbnail.
179,446 /mo
▲5259%
99.99%
2458ms p50
3
from$1.20/1k req
Giraffe
POST

Company ads

/v1/run/facebook.company_adsfacebook.company_ads
List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.
166,128 /mo
▲809.6%
99.79%
1139ms p50
2
from$1.10/1k req
Lemur
POST

Ads search

/v1/run/facebook.ads_searchfacebook.ads_search
Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
158,186 /mo
▲1810.2%
98.13%
1569ms p50
4
from$1.10/1k req
Lemur
POST

Profile posts

/v1/run/facebook.profile_postsfacebook.profile_posts
List a page’s recent posts by URL or page id with cursor pagination: text, author and permalink.
113,246 /mo
▲31.4%
99.63%
3860ms p50
4
from$1.20/1k req
Badger
POST

Group posts

/v1/run/facebook.group_postsfacebook.group_posts
Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
48,140 /mo
▲54.7%
99.84%
2980ms p50
3
from$1.20/1k req
Giraffe
POST

Profile events

/v1/run/facebook.profile_eventsfacebook.profile_events
List upcoming and past events hosted by any public Facebook page by URL (name, schedule, venue, and host) as normalized JSON.
38,600 /mo
▲214.5%
99.99%
1349ms p50
2
from$1.20/1k req
Giraffe
POST

Page contact

/v1/run/facebook.page_contactfacebook.page_contact
Look up a Facebook Page's public contact details (email, phone, website, and address) by page URL or ID.
33,533 /mo
▲155.4%
99.97%
3136ms p50
2
from$1.20/1k req
Giraffe
POST

Marketplace item

/v1/run/facebook.marketplace_itemfacebook.marketplace_item
Fetch full details for a single Facebook Marketplace listing by ID or URL (title, price, location, photos, and attributes) as normalized JSON.
23,563 /mo
▲152.4%
99.86%
2565ms p50
1
price$1.20/1k req
Giraffe
POST

Search companies

/v1/run/facebook.search_companiesfacebook.search_companies
Search the Meta Ad Library for advertisers by keyword and get matching pages: page ID, category, verification, follower counts, and linked Instagram.
23,312 /mo
▲241.8%
99.98%
744ms p50
3
from$1.10/1k req
Lemur
POST

Post comments

/v1/run/facebook.post_commentsfacebook.post_comments
List the comments on a post by URL with cursor pagination: text, author, reactions and reply count.
13,306 /mo
▲1875.7%
99.98%
3162ms p50
3
from$1.20/1k req
Giraffe
POST

Ad details

/v1/run/facebook.ad_detailsfacebook.ad_details
Look up a single Meta Ad Library ad by ID or URL and get the advertiser, creative text, call-to-action, platforms, and run dates as clean JSON.
10,999 /mo
▲15170.8%
99.82%
2001ms p50
2
from$1.20/1k req
Lemur
POST

Search posts

/v1/run/facebook.search_postsfacebook.search_posts
Search public Facebook posts by keyword, optionally filtered by location, and get structured post records (text, author, engagement).
9,218 /mo
▲426.3%
98.39%
18942ms p50
3
from$30.00/1k req
Dolphin
POST

Marketplace

/v1/run/facebook.marketplacefacebook.marketplace
Search Facebook Marketplace listings by keyword near a location, filter by price, condition, delivery, recency, and availability, and get title, price, location, and image as normalized JSON.
7,770 /mo
▲336.7%
99.97%
1863ms p50
2
from$1.20/1k req
Giraffe
POST

Profile

/v1/run/facebook.profilefacebook.profile
Public page or profile by URL or handle: name, category, about, likes/follower counts and avatar.
7,340 /mo
▲403%
99.94%
2762ms p50
2
from$1.20/1k req
Giraffe
POST

Comment replies

/v1/run/facebook.comment_repliesfacebook.comment_replies
List the replies to a Facebook post comment (text, author, reactions, and timestamps) as normalized JSON.
5,201 /mo
▲2785.6%
99.60%
1136ms p50
1
price$1.20/1k req
Giraffe
POST

Event details

/v1/run/facebook.event_detailsfacebook.event_details
Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
1,722 /mo
▲120.7%
98.55%
1746ms p50
1
price$1.20/1k req
Giraffe
POST

Events search

/v1/run/facebook.events_searchfacebook.events_search
Search public Facebook events by keyword and get structured event records (name, schedule, venue, pricing, and attendance) as normalized JSON.
1,581 /mo
▲863.4%
100.00%
4072ms p50
2
from$1.20/1k req
Giraffe
POST

Ad transcript

/v1/run/facebook.ad_transcriptfacebook.ad_transcript
Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL.
1,348 /mo
▲20.1%
99.93%
6424ms p50
2
from$1.20/1k req
Giraffe
POST

Search pages

/v1/run/facebook.search_pagesfacebook.search_pages
Search Facebook Pages by keyword, optionally narrowed to a location, and get structured page profiles (name, category, followers, contact details).
428 /mo
▲11.9%
87.15%
34108ms p50
1
price$11.18/1k resultsup to $0.123 / request
Octopus
POST

Photos

/v1/run/facebook.photosfacebook.photos
Fetch recent photos posted by any public Facebook page or profile (image URLs, captions, and dimensions) as normalized JSON.
338 /mo
▲16800%
99.68%
1321ms p50
2
from$1.20/1k req
Giraffe
POST

Post transcript

/v1/run/facebook.post_transcriptfacebook.post_transcript
Get the spoken-word transcript of any public Facebook video post by URL as normalized JSON.
174 /mo
▲1341.7%
100.00%
6209ms p50
2
from$1.20/1k req
Giraffe
POST

Ad details full

/v1/run/facebook.ad_details_fullfacebook.ad_details_full
Pull one Meta Ad Library ad with its creative: every carousel variant, image and video URL, headline, body, and call to action.
120 /mo
▲361.5%
98.33%
7782ms p50
1
price$4.62/1k req
Octopus
POST

Page lookup

/v1/run/facebook.page_lookupfacebook.page_lookup
Look up Facebook Pages and profiles by name with Facebook's own quick search. A name lookup that returns basic identity fields only: name, URL, profile image, Facebook id, and verified status. Matches can include personal profiles as well as Pages. For full Page details (category, followers, phone, website), use facebook.search_pages.
96 /mo
▲9500%
100.00%
2925ms p50
2
from$9.75/1k req
Fox
POST

Marketplace location search

/v1/run/facebook.marketplace_location_searchfacebook.marketplace_location_search
Resolve a place name to Facebook Marketplace locations with coordinates and metadata as normalized JSON.
41 /mo
▲1200%
100.00%
778ms p50
2
from$1.20/1k req
Giraffe
POST

Events

/v1/run/facebook.eventsfacebook.events
List public Facebook events for a city or place by its events-page URL (event name, date, venue, and attendance) as normalized JSON.
20 /mo
▲300%
100.00%
1747ms p50
1
price$1.20/1k req
Giraffe
POST

Followers

/v1/run/facebook.followersfacebook.followers
List the public followers (or accounts followed) of any Facebook page or profile URL as normalized JSON records.
20 /mo
▲183.3%
100.00%
7766ms p50
2
from$6.00/1k resultsup to $0.12 / request
Capybara

About the Facebook API

Every provider prices each endpoint independently, so the table shows the cheapest per endpoint. Open one to compare all providers.

Measured performance

What the Facebook API actually does

Every call through AnyAPI over the last 30 days, counted here rather than promised.

99.7%
of calls succeeded (1,407,703 calls)
Succeeded on first lane 98.8%Recovered by failover 0.9%Failed 0.3%
Response time estimate (1,403,516 calls across endpoints)
Weighted p50 estimate
2.2s
Request-weighted average of endpoint p50 values, not a combined request percentile
Weighted p99 estimate
13.7s
Request-weighted average of endpoint p99 values, not a combined request percentile
Free tools

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 7 sources, falling back automatically when one fails. Pricing is in US dollars, from $1.10 per 1,000 requests on the cheapest endpoint, with no subscription and no monthly minimum. Over the last 30 days, 99.7% of Facebook calls through AnyAPI succeeded, with a request-weighted median response time of 2.2 seconds across 1,407,703 measured calls.

Pricing is in US dollars, from $1.10 per 1,000 requests on the cheapest endpoint, with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

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. Every one takes the same authentication and returns the same normalized response shape, so reaching a second Facebook endpoint is a change of URL and nothing else.

Over the last 30 days, 99.7% of Facebook calls through AnyAPI succeeded, with a request-weighted median response time of 2.2 seconds across 1,407,703 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.