Facebook API
25 endpoints for Facebook. Every request is GET unless marked, takes the x-api-key header and answers in the same envelope.
Ad Library#
| Endpoint | Request | Credits |
|---|---|---|
| Facebook Ad Library search | GET /v1/facebook/ad-library/search | 1 |
| Facebook Ad Library search (POST body) | POST /v1/facebook/ad-library/search | 1 |
| Facebook Ad Library ads by page | GET /v1/facebook/ad-library/company/ads | 1 |
| Facebook Ad Library ads by page (POST body) | POST /v1/facebook/ad-library/company/ads | 1 |
| Facebook Ad Library ad details | GET /v1/facebook/ad-library/ad | 1 |
| Facebook Ad Library ad transcript | GET /v1/facebook/ad-library/ad/transcript | 1 (captions), more for AI |
| Facebook Ad Library advertiser search | GET /v1/facebook/ad-library/search/companies | 1 |
Profile#
| Endpoint | Request | Credits |
|---|---|---|
| Facebook profile or page | GET /v1/facebook/profile | 1 |
| Facebook profile posts | GET /v1/facebook/profile/posts | 1 |
| Facebook profile reels | GET /v1/facebook/profile/reels | 1 |
| Facebook profile photos | GET /v1/facebook/profile/photos | 1 |
| Facebook page events | GET /v1/facebook/profile/events | 1 |
Search#
| Endpoint | Request | Credits |
|---|---|---|
| Facebook video search | GET /v1/facebook/search/videos | 1 |
Post#
| Endpoint | Request | Credits |
|---|---|---|
| Facebook post details | GET /v1/facebook/post | 1 |
| Facebook video transcript | GET /v1/facebook/post/transcript | 1 (captions), more for AI |
| Facebook post comments | GET /v1/facebook/post/comments | 1 |
| Facebook comment replies | GET /v1/facebook/post/comment/replies | 1 |
Group#
| Endpoint | Request | Credits |
|---|---|---|
| Facebook public group | GET /v1/facebook/group | 1 |
| Facebook public group posts | GET /v1/facebook/group/posts | 1 |
Marketplace#
| Endpoint | Request | Credits |
|---|---|---|
| Facebook Marketplace location search | GET /v1/facebook/marketplace/location/search | 1 |
| Facebook Marketplace search | GET /v1/facebook/marketplace/search | 1 |
| Facebook Marketplace listing | GET /v1/facebook/marketplace/item | 1 |
Events#
| Endpoint | Request | Credits |
|---|---|---|
| Facebook Events search | GET /v1/facebook/events/search | 1 |
| Facebook city events | GET /v1/facebook/events | 1 |
Event#
| Endpoint | Request | Credits |
|---|---|---|
| Facebook event details | GET /v1/facebook/event | 1 |
See also: Quickstart, Credits and pricing, Errors.