1. Platforms
  2. Facebook

Facebook Scraper API

Pull Facebook profiles and pages, groups, posts, comments, transcripts and Marketplace listings as JSON. Failed requests are free.

100 free credits. No card needed.

Data

What you get from Facebook.

Profiles and pages

Name, bio, links, verified status and follower count.

Groups

Name, description, member count and start date.

Posts

Caption, publish date, length, hashtags, views and likes.

CommentsComment text, author, date, likes and replies.
TranscriptsThe spoken words as text, with timestamps and language.
SearchPosts and events by keyword.
MarketplaceProduct name, price, seller and location.
Ad LibraryAdvertiser, dates, ad text and landing page.
EventsTitle, start time, place, host, people going and people interested.

Uses

What you can build with Facebook data.

Check accounts

Check an account's followers and recent posts before you reach out.

Read the conversation

Pull the comments on any post to see what people are saying.

Search what was said

Turn videos into text you can search, summarize or give to an AI model.

Research products

Compare Marketplace prices and listings by location.

Study ad campaigns

See the ads a brand has run, with copy and dates.

Find advertisers

Search advertisers by name, then pull their ads.

Example

Your first request.

  1. Get a keySign up and get 100 free credits. No card needed.
  2. Send a requestPass a handle, URL or keyword with your key.
  3. Use the JSONThe same shape comes back from every platform.
1import os2import requests34params = {5    "url": "https://www.facebook.com/NASA",6}7res = requests.get(8    "https://api.socialscrape.dev/v1/facebook/profile",9    headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10    params=params,11)12body = res.json()1314if body["ok"]:15    print(body["data"])16else:17    print(body["error"]["code"], body["error"]["message"])
200 OKSample response
{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_96e1a94c3792db5d49fe07e4",
  "data": {
    "object": "profile",
    "platform": "facebook",
    "id": "100044561550831",
    "handle": "NASA",
    "name": "NASA - National Aeronautics and Space Administration",
    "headline": null,
    "url": "https://www.facebook.com/NASA/",
    "kind": "page",
    "bio": "Explore the universe and discover our home planet. \nThere's space for everybody....",
    "avatar_url": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-1/243095782_416661036495945_384...",
    "banner_url": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.99422-6/809146614_4484013928506139_31...",
    "verified": true,
    "is_private": false,
    "external_url": "https://www.nasa.gov/nasa-app/"
    ...
  },
  "cursor": null,
  "has_more": null
}

Pricing

Pay only for data you get.

  • A profile1 credit
  • A page of posts or search results1 credit
  • A caption transcript1 credit
  • A failed requestFree

Starter

$13

1,000 credits

$13.00 per 1,000

Get an API key
Most popular

Growth

$55

25,000 credits

$2.20 per 1,000

Get an API key

Scale

$349

230,000 credits

$1.52 per 1,000

Get an API key

Packs never expire. Monthly plans too. See pricing

FAQ

Questions

What does the Facebook API cost?

Most requests cost 1 credit, and transcripts have their own rule; each endpoint page states it. New accounts get 100 free credits. See pricing.

Does it need a Facebook login?

No. You send your SocialScrape key and never a platform password.

Is it live?

Yes. The endpoints are live: built, tested against recorded responses and watched by canaries. Get an API key.