Social Media · Web scrapers

Facebook Scraper API

17 ready-made Facebook scrapers behind one REST endpoint. Send a call, get clean structured JSON back: no headless browsers, no captchas, no parser maintenance, proxies included.
  • 17 endpoints
  • $1.49 per 1,000 calls
  • Structured JSON every response
  • Errors and timeouts are not charged

For developers

One GET, and Facebook comes back as JSON.

This is the Facebook profile endpoint, $1.49 per 1,000 calls. Your key goes in one header; the answer is the object below it.

  • Proxies, sessions and captchas handled on our side
  • Failed calls are retried and not charged
  • The same JSON shape on every call
Facebook API reference
curl "https://hproxy.com/api/v1/scrape/facebook/profile?url=https%3A%2F%2Fwww.facebook.com%2Fnasa" \
  -H "X-API-Key: hpx_your_key_here"
Response200 OK · JSON
{
  "id": "1092...",
  "username": "@handle",
  "displayName": "Real Name",
  "bio": "Founder. Building things.",
  "isVerified": true,
  "counts": { "followers": 90421, "following": 312, "posts": 1840 },
  "links": ["https://example.com"],
  "avatar": "https://.../avatar.jpg"
}

Endpoint catalog

17 Facebook scrapers, ready to call.

One REST call each, billed per call from 0.15¢, with structured JSON back every time.

What you scrape

GETFacebook Profile0.15¢/call

Pull a public Facebook page or profile from its URL: name, category, follower counts, contact details and business hours.

GETFacebook Profile Reels0.15¢/call

Pull every reel a Facebook page has posted, page by page, with caption, view and reaction counts and a direct media URL.

GETFacebook Profile Photos0.15¢/call

Pull every photo a Facebook page has posted, page by page, with captions, alt text, full-resolution URLs and engagement.

GETFacebook Profile Posts0.15¢/call

Pull everything a Facebook page publishes, page by page, with text, media, reactions, comment and share counts and timestamps.

GETFacebook Profile Events0.15¢/call

Pull the events a Facebook page has listed, with title, venue, start time, ticket links and going and interested counts.

GETFacebook Post0.15¢/call

Pull a single Facebook post from its URL: full text, attached media, author, reactions, comments and share count.

GETFacebook Post Transcript0.15¢/call

Pull the full timestamped transcript of the video in any Facebook post, every spoken line with its start and end time.

GETFacebook Post Comments0.15¢/call

Pull every comment on a Facebook post, page by page, with author, text, reaction count, reply count and timestamp.

GETFacebook Comment Replies0.15¢/call

Pull the full nested reply thread under any Facebook comment, so you can rebuild the conversation rather than just the top level.

GETFacebook Group Posts0.15¢/call

Pull the posts inside a public Facebook group, page by page, with author, text, media and engagement on every one.

GETFacebook Events Search0.15¢/call

Search Facebook events by keyword and get ranked results back with title, venue, start time and attendance counts.

GETFacebook Events by City0.15¢/call

Pull the Facebook events happening in any city, with venue, start time, ticket links and how many people are going.

GETFacebook Event Details0.15¢/call

Pull one Facebook event in full: description, venue and coordinates, start and end time, ticket links and attendance.

GETFacebook Ad Library Detail0.15¢/call

Pull one ad from the Facebook Ad Library in full: every creative, the advertiser behind it, spend range and the dates it ran.

GETFacebook Ad Library Search0.15¢/call

Search the Facebook Ad Library by keyword and get the live ads back with creatives, advertiser, spend range and run dates.

GETFacebook Company Ads0.15¢/call

Pull every ad a company is running on Facebook right now, with creatives, copy, format, spend range and how long each has run.

GETFacebook Ad Library Company Search0.15¢/call

Find the advertiser page behind a brand name in the Facebook Ad Library, so you can pull its live ads by ID.

The same data on every other platform: Profile Scraper API, Post Scraper API, Transcript API, Comment Scraper API, Ad Library API, Event Scraper API.

How it works

Scraping Facebook, in three steps.

You write one line. Proxies, anti-bot walls, rendering and parsing happen on our side.

  1. 1

    Create a free account

    Sign up and top up any amount. The balance pays for every HProxy product.
  2. 2

    Grab your API key

    One key from the dashboard authenticates every scraper.
  3. 3

    Call the endpoint

    Send the GET you need and read the JSON. That is the entire integration.

Why it holds up

What you do not have to build.

No captchas, ever

Anti-bot walls, JS rendering and rate limits are handled server-side. You call an API, that is the whole job.

Residential-backed

Every request exits through HProxy's own residential network, so it looks like a real user on a real device.

Pay per call

No subscription, no seat licenses. Calls are billed from your balance.

Fresh on every call

Responses are scraped live at request time, no stale cache dressed up as data.

Errors are free

Blocked, errored or timed-out calls are not charged. A target that does not exist counts as a call, because the platform still had to be asked.

Scales with you

From one call to millions: same endpoint, same price curve, volume discounts as you grow.

Facebook pricing

$1.49

per 1,000 calls, 0.15¢ each

Every price
  • Pay per call from one balance, no subscription and no monthly minimum.
  • Blocked, errored and timed-out calls are not charged.
  • Proxies, retries and parsing are included in the price.
  • The same endpoint from one call to millions.

Facebook questions

Facebook scraping, answered.

The scraper docs

You send one HTTPS request to the endpoint you need with your API key, and HProxy handles the rest server-side: proxies, sessions, retries and parsing. The response is clean, structured JSON. No headless browser, no captcha solving, no parser maintenance on your side.

Pricing starts at $1.49 per 1,000 calls (0.15¢ per call), billed from your HProxy balance. There is no subscription and no monthly minimum. You top up once.

The API only accesses publicly available data, the same pages anyone can open in a browser. You are responsible for using the data in line with applicable laws and Facebook's terms for your use case.

17 ready-made endpoints cover the public Facebook surface: profiles, content, engagement, search and more. Every endpoint returns the full structured object, not a stripped-down summary.

No. The scraper runs on HProxy's own residential network behind the scenes, so requests look like real users. You only make one API call, and the proxy layer is included in the per-call price.

Calls typically return in a few seconds. Errors are retried automatically, and unrecoverable errors and timeouts are not charged. A lookup whose target does not exist counts as a call, because the platform still had to be asked.

Every platform

116 scrapers, 23 platforms, one key.

The same REST call, the same JSON shape and the same balance behind all of them. Pick where you need data from.

The whole catalog

Social Media

10 platforms, 86 endpoints

More on the Facebook Scraper API

What the Facebook Scraper API is

The Facebook Scraper API is 17 ready-made endpoints behind one REST base URL: Profile, Profile Reels, Profile Photos, Profile Posts, Profile Events, Post, Post Transcript, Post Comments, Comment Replies, Group Posts, Events Search, Events by City, Event Details, Ad Library Detail, Ad Library Search, Company Ads and Ad Library Company Search. Each one is a single GET with your API key, and each one answers with a structured JSON object rather than a page of HTML, so nothing on your side has to parse markup or keep a selector alive. The proxies, sessions, retries, rendering and anti-bot handling all run on our side, which is the part of a Facebook scraper that normally breaks.

What you can scrape from Facebook

The catalog covers 6 kinds of Facebook data: profiles (1 endpoint: Profile), posts and media (5 endpoints: Profile Reels, Profile Photos, Profile Posts, Post and Group Posts), transcripts (1 endpoint: Post Transcript), comments (2 endpoints: Post Comments and Comment Replies), ads (4 endpoints: Ad Library Detail, Ad Library Search, Company Ads and Ad Library Company Search) and events (4 endpoints: Profile Events, Events Search, Events by City and Event Details). Every endpoint returns the full object it describes, not a trimmed summary, and the JSON keeps the same shape from the first call to the millionth, so a script written today still parses next month.

What scraping Facebook costs

Calls are billed from your HProxy balance at 0.15¢ each, $1.49 per 1,000, with no subscription and no monthly minimum. Blocked, errored and timed-out calls are not charged. A lookup whose target does not exist does count as a call, because Facebook still had to be asked before we could tell you.

Scraping Facebook yourself

Writing the request is the easy part. What costs the time is everything around it: residential addresses that do not get blocked, sessions that survive a login wall, a captcha path, a headless browser for the parts that render in JavaScript, and a parser rewritten every time Facebook moves its markup. This API is that work, kept running by us, priced per call, and it answers in the same JSON whether you send one request a day or a hundred a second.

Ready when you are.

Your dashboard is ten seconds away. No sales call, no subscription, no minimum.