Facebook API

Public Facebook Pages, Profiles, Events, and Marketplace Data as JSON

Scrape public Facebook pages and profiles, posts, photos with AI alt text, reels, videos, public groups, public events, and Marketplace listings through simple JSON endpoints. No Facebook login, no Meta app review, no credentials — just an API key and structured Facebook data.

500 free credits
No card needed
From $0.20 / 1k
Pay as you go
Structured JSON
Ready for apps
API key access
Test in minutes
20
Endpoints
3B+
Users
$0.20
Per 1k requests

Try it now

Make one request. Inspect structured JSON.

Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.

Request preview
Request
curl -X GET "https://scrappa.co/api/facebook/page?handle=nasa" \
  -H "Accept: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"
JSON response
{
  "success": true,
  "page": {
    "name": "NASA - Official Site",
    "description": "12.4M followers · 89 following",
    "url": "https://www.facebook.com/nasa",
    "type": "profile",
    "image": "https://...",
    "category": "Government Organization",
    "follower_count": 12400000,
    "following_count": 89,
    "talking_about_count": null,
    "like_count": null
  },
  "meta": {
    "classification": "ok",
    "billable": true,
    "endpoint_family": "facebook_page",
    "duration_ms": 4200
  }
}

What you can build

Structured data for real applications. Here are some ideas.

Brand & Competitor Monitoring

Track public page identities, follower counts, posting activity, and engagement on the pages you compete with or sell to. Build benchmark dashboards and share-of-voice reports without a Facebook login.

Event Discovery & Monitoring

Search public events and pull event details with start and end times, venue coordinates, reverse geocoded addresses, RSVP counts, and related events. Build calendars, city event guides, and attendance trend reports.

Marketplace Price Intelligence

Search and browse Marketplace listings with normalized prices, currencies, strikethrough values, sold and live flags, category ids, and seller-free location data. Track secondhand prices and category supply in any city.

Content & Media Research

Pull photo grids with AI-generated alt text, reel detail with view and reaction counts, video tabs with publish times, and posts with per-type reaction breakdowns. Enrich media databases and content taxonomies.

Audience & Community Research

Read public group shells and member counts, hosted page events, and public profile feeds. Map the communities around a topic, brand, or region for research and reporting.

Available endpoints

Everything you need in one API.

GET

Profile

/api/facebook/profile

Get a public profile identity with name, followers, talking-about count, bio and category

GET

Marketplace Search

/api/facebook/marketplace/search

Search Marketplace listings with the real filter keys and category taxonomy

Scrappa vs Generic Facebook Scrapers

See how Scrappa compares to the official API.

Photo alt text
Scrappa: AI alt text on every photo
Generic Facebook Scrapers: Usually absent
Reaction breakdown
Scrappa: Per type plus aggregate
Generic Facebook Scrapers: Aggregate only
Event RSVP counts
Scrappa: yes, with coordinates
Generic Facebook Scrapers: Rarely
Marketplace facets
Scrappa: Real keys and category taxonomy
Generic Facebook Scrapers: Invented or absent
Listings per request
Scrappa: Up to 24 search, 20 browse, 22 related
Generic Facebook Scrapers: Typically 10-25
Login required
Scrappa:
Generic Facebook Scrapers: Often yes
Credentials needed
Scrappa: None
Generic Facebook Scrapers: Facebook account
Price per 1k requests
Scrappa: $0.20
Generic Facebook Scrapers: Varies

Key features

Public pages and profiles with follower and following counts
AI-generated alt text on every photo record
Per-type reaction breakdowns with the aggregate beside them
Event RSVP counts plus coordinates and reverse geocoded addresses
Real Marketplace filter keys and category taxonomy, not invented facets
Up to 24 Marketplace listings, 21 videos, 22 related listings per request
No Facebook login, no cookies, no Meta app review
Structured JSON for easy integration

Frequently asked questions

No. Every Facebook endpoint reads publicly visible data without cookies, a session, or a Facebook login. You authenticate to Scrappa with your API key only, and we never ask for, store, or proxy a Facebook credential.

One request returns one page or one record, measured: 24 Marketplace search listings, 20 browse listings, 22 related listings on an item page, 21 videos, 10 reels, 8 photos, and 6 to 16 events per events search. Each call costs exactly one credit and returns that page. No endpoint follows a cursor behind your back, because that would silently cost more than one upstream lookup.

Follower, RSVP, reaction, and Marketplace currency figures are read from text that only parses in the English locale, so when the locale does not take they are returned as null rather than as a wrong number. RSVP counts are absent rather than zero on events with nobody attending, reels expose no actor names when signed out, and Marketplace item pages expose no seller object at all, so seller fields are omitted rather than returned empty.

Not from these endpoints. Post comments, comment replies, group member lists, group search, photo albums, video transcripts, and post text on a profile timeline are only readable from an authenticated Facebook session, which Scrappa does not use or request. Every shipped endpoint works anonymously.

Yes. Every Scrappa account includes 500 free credits per month with no credit card required. That is enough to test all 20 Facebook endpoints and validate your integration before committing to paid usage.

You are never charged for a failed request. Every response carries a classification: ok, empty_result, wall, or transport_failure. A wall and a transport failure cost zero credits, while a genuine empty result is a real answer and is billed once, so you are never charged for a login page or a transport error.

Start using the Facebook API

Sign up and get 500 free credits. No credit card required.