Social & video
Facebook Scraper
facebook.com
Only publicly visible content is reachable, which in practice means business pages, public posts and marketplace listings. That is usually what commercial monitoring needs anyway.
What you can extract
- Public page name, category and about text
- Public post text, reactions and comment counts
- Business contact details and opening hours
- Marketplace listing title and price
- Follower and like counts
How to scrape it
curl -X POST \
-H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
"https://api.scrapeunblocker.com/getPageSource?url=https%3A%2F%2Fwww.facebook.com%2F&parsed_data=true"import requests
resp = requests.post(
"https://api.scrapeunblocker.com/getPageSource",
headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
params={"url": "https://www.facebook.com/", "parsed_data": True},
)
print(resp.text)import { ScrapeUnblockerClient } from 'scrapeunblocker';
const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });
const results = await su.getPageSource({
url: 'https://www.facebook.com/',
parsedData: true,
});
console.log(results); Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.
Frequently asked questions
Is it legal to scrape Facebook?
Collecting publicly available Facebook data such as page details, post text and marketplace prices is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it. Some of it can be personal data, so follow the privacy rules that apply to you. ScrapeUnblocker returns the public page; what you collect and how you use it is your responsibility.
How do I scrape Facebook without getting blocked?
Facebook uses bot detection and rate limiting. ScrapeUnblocker renders the page in a real browser, rotates residential and ISP exits and handles challenges, so you send a public Facebook URL and get the rendered page back. In ScrapeUnblocker's benchmark it returned real content on 100% of 1,000 calls, about 5.4s per call.
What Facebook data can I get?
Public page name, category and about text, public post text with reactions and comment counts, business contact details and opening hours, marketplace listing titles and prices, and follower and like counts. Publicly visible content is reachable, which in practice means business pages, public posts and marketplace listings.
Do I need a Facebook API or account?
No. ScrapeUnblocker returns the public Facebook page as HTML, or structured JSON with parsed_data=true, without a Facebook API account or login on your side. Use steps to click, type or scroll in a real browser before the HTML comes back. Content behind a login is not reachable.
Can I monitor Facebook pages at scale?
Yes. Each public page or listing URL is one request, and calls run in parallel up to your plan's concurrency limit: 20 to 100 concurrent requests on Pay as you go, Starter and Pro, and 200 to 400 on Business, Scale and Ultimate. That suits recurring checks on business pages and marketplace prices.
How much does it cost to scrape Facebook?
Pricing is per request: 1 request = 1 credit, from EUR 1.00 per 1,000 on pay as you go to about EUR 0.55 per 1,000 on the Ultimate plan. Blocks, timeouts and errors on ScrapeUnblocker's side are not billed; delivered pages are, including Facebook's own 404 page. The free trial includes 500 requests with no card.
Related scrapers
Start scraping this site today
Free tier included. No credit card required to test it.