Skip to content
All sites
Data API

Facebook Data API

Public pages, posts and profile data from Facebook.

5endpointslogin_wall · Rate Limit handled for you
facebook.comGET/facebook/mark…GET/facebook/mark…GET/facebook/page…{ } JSON

Facebook Data API

Extract public pages, posts and profiles from Facebook as structured JSON. One POST per query, anti-bot handled, billed only on success.

POST /v1/data/facebook/{action}

Key Features

Structured JSON

Clean, normalized records for public pages, posts and profiles. No HTML parsing on your side.

5 endpoints

Across 4 categories, all under one base path.

Anti-bot handled

login_wall, Rate Limit cleared for you behind the scenes.

Fresh or cached

Serve instantly from the warm store, or force a live scrape per request.

Regions & Languages

Global coverage. Results are returned for the default locale.

Pagination

Page through results with page, cursor.

Quick Start

Send your key and a few params. Failed requests are free.

data_api.py
import requests

resp = requests.post(
    "https://api.capzy.ai/v1/data/facebook/search",
    json={
  "clientKey": "capzy_your_key_here",
  "params": {
    "query": "coffee",
    "tab": "top",
    "page": "1"
  }
},
)
print(resp.json()["result"])

Per-run pricing

failed requests are free
EndpointCategoryPrice / 1k results
/v1/data/facebook/marketplace/categoriesMarketplace CategoriesReference1 credit / run
/v1/data/facebook/marketplace/locationsMarketplace LocationsReference1 credit / run
/v1/data/facebook/pages/{identifier}Get PagePages1 credit / run
/v1/data/facebook/profiles/{identifier}Get ProfileProfiles1 credit / run
/v1/data/facebook/searchGlobal SearchSearch1 credit / run