- API based scraper
Use our interface to build your api request - Automation in scale
Build your own scheduler to control the frequency - Delivery
Deliver the data to your preferred storage or download it
Facebook Scraper API
Scrape public Facebook data including profile name, image, handle, picture, status, shares, followers, ID, title, views, posts, timestamp, likes, and much more.
- Free tier - 5K records a month for free
- Scrape on demand via API or no-code scraper
- Pay only for successfully delivered results
- Bulk request handling, up to 5K URLs
Trusted by 50,000+ customers worldwide
Available Facebook scrapers
Just want Facebook data? Skip scraping.
Purchase a Facebook dataset
Facebook Scraper API Pricing
Only pay for what’s successfully delivered. No hidden fees, no charges for failed deliveries.
CODE EXAMPLES
Easily scrape public Facebook data without worrying about being blocked.
curl -H "Authorization: Bearer API_TOKEN" -H "Content-Type: application/json" -d '[{"url":"https://www.facebook.com/LeBron/","num_of_posts":1,"posts_to_not_include":["1029318335225728","1029509225206639"],"start_date":"","end_date":"","country":""},{"url":"https://www.facebook.com/SamsungIsrael/","num_of_posts":50,"start_date":"01-01-2025","end_date":"02-28-2025","country":""},{"url":"https://www.facebook.com/gagadaily/","num_of_posts":100,"start_date":"","end_date":"","country":""}]' "https://api.brightdata.com/datasets/v3/trigger?dataset_id=gd_lkaxegm826bjpoo9m5&format=json&uncompressed_webhook=true"
[
{
"db_source": "1788175401353",
"timestamp": "2026-08-31",
"url": "https:\/\/www.facebook.com\/HolidayGems\/posts\/pfbid0YRZaEPhxK2CBGeo1UNDvrvTdH4KA2fdK9sRz4WMDS5CRchNvHCkffxX5SVfn4uGpl",
"post_id": "2917359638304928",
"user_url": "https:\/\/www.facebook.com\/HolidayGems",
"user_username_raw": "Hol***yGe***",
"content": "☀️",
"date_posted": "2019-07-12T18:00:00.000Z"
},
{
"db_source": "1788175401353",
"timestamp": "2026-08-31",
"url": "https:\/\/www.facebook.com\/traveltriangle\/posts\/pfbid071t4fbK8tnimZB1A4yXtFX3eY1PKwZewuFDCzW5UJkTSVYPyXg7XRpCdr5ws8g5Tl",
"post_id": "3567015486705659",
"user_url": "https:\/\/www.facebook.com\/traveltriangle",
"user_username_raw": "Tra***Tri***le",
"content": "#3 will take you to a fantasy world!\n#TravelTriangle",
"date_posted": "2020-03-12T14:32:51.000Z"
},
{
"db_source": "1788175401353",
"timestamp": "2026-08-31",
"url": "https:\/\/www.facebook.com\/HolidayGems\/posts\/pfbid02JFY7pvZGt9EXf7k1KS9pMCY2ttUTR1VNB5thsXLgwWQYs1WYgS9fcwqUWBqyDps9l",
"post_id": "3176000759107480",
"user_url": "https:\/\/www.facebook.com\/HolidayGems",
"user_username_raw": "Hol***yGe***",
"content": null,
"date_posted": "2019-09-17T16:29:05.000Z"
},
{
"db_source": "1788175401353",
"timestamp": "2026-08-31",
"url": "https:\/\/www.facebook.com\/traveltriangle\/posts\/pfbid0sQcqfgwk8p3QhthSbmiqHjK6gSjZEA8U1zpGsicruP9yJNt7ijrech7QEaG3rXizl",
"post_id": "3607046126035928",
"user_url": "https:\/\/www.facebook.com\/traveltriangle",
"user_username_raw": "Tra***Tri***le",
"content": "So you see, you\u0027re not missing out on much! #TravelTriangle #StayHomeStaySafe",
"date_posted": "2020-03-24T11:44:41.000Z"
},
{
"db_source": "1788175401353",
"timestamp": "2026-08-31",
"url": "https:\/\/www.facebook.com\/traveltriangle\/posts\/pfbid021SWW9WHQQ2ij7GLGDcCs31YmNni5nFdTrdVzehEJM5m8LW56s8g1PBSxbpCgrXVpl",
"post_id": "3560442757362932",
"user_url": "https:\/\/www.facebook.com\/traveltriangle",
"user_username_raw": "Tra***Tri***le",
"content": "Wanderlusters be like- You keep your colors, we\u0027ll take our trip this long weekend 😉 #Holi #TravelTriangle",
"date_posted": "2020-03-10T11:30:11.000Z"
}
]
curl -H "Authorization: Bearer API_TOKEN" -H "Content-Type: application/json" -d '[{"url":"https://www.facebook.com/MrBeast6000","start_date":"","end_date":""},{"url":"https://www.facebook.com/profile.php?id=100091624806834","start_date":"","end_date":""},{"url":"https://www.facebook.com/people/sdfsdgfsglsdgfl","start_date":"","end_date":""},{"url":"https://www.facebook.com/100064031470013/reels/","start_date":"","end_date":""},{"url":"https://www.facebook.com/3284247638373584/reels/","start_date":"","end_date":""}]' "https://api.brightdata.com/datasets/v3/trigger?dataset_id=gd_lyclm3ey2q6rww027t&format=json&uncompressed_webhook=true"
[
{
"db_source": "1788628578919",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/reel\/1816874949739063",
"post_id": "1053637337523097",
"user_url": "https:\/\/www.facebook.com\/MarvelousAnhui",
"user_username_raw": "Marvelous Anhui 美好安徽",
"content": "Mom’s back is the safest place in the world. 🦢🥹❤️#hianhui #AnhuiTravel #momslove",
"date_posted": "2026-08-27T00:00:00.000Z"
},
{
"db_source": "1788628578919",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/reel\/1796000164752145",
"post_id": "1377699381208381",
"user_url": "https:\/\/www.facebook.com\/YouthChina.cn",
"user_username_raw": "Youth China",
"content": "Three tides converge! The moon tide, the collision tide, and the cross tide meet on the Qiantang River on Aug.27. #China...",
"date_posted": "2026-08-28T00:00:00.000Z"
},
{
"db_source": "1788628578919",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/reel\/1059269913549553",
"post_id": "122316903710022360",
"user_url": "https:\/\/www.facebook.com\/people\/Liezle-Sharp\/61550670803693\/",
"user_username_raw": "Liezle Sharp",
"content": "Excited to start making content for Noise! #UGC #sidehustle #noisepremium #noise #zoelm25",
"date_posted": "2026-09-05T10:41:16.000Z"
},
{
"db_source": "1788628578919",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/reel\/28736870709283014",
"post_id": "1439003784947418",
"user_url": "https:\/\/www.facebook.com\/people\/%E5%AE%89%E5%BE%BD%E7%94%B5%E8%A7%86\/100065134295000\/",
"user_username_raw": "安徽电视",
"content": "父亲为生男孩将女儿送人,20年后女儿嫁人,他却要求百万彩礼!#情感 #纪实 #家庭 #调解",
"date_posted": "2026-08-28T00:00:00.000Z"
},
{
"db_source": "1788628578919",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/reel\/1726555041901686",
"post_id": "1105353485358697",
"user_url": "https:\/\/www.facebook.com\/beijingevening",
"user_username_raw": "Beijing Evening News",
"content": "Chinese esports organization AG.AL was crowned the #Esports World Cup 2026 Club Champion on Sunday, becoming the first #...",
"date_posted": "2026-08-24T00:00:00.000Z"
}
]
curl -H "Authorization: Bearer API_TOKEN" -H "Content-Type: application/json" -d '[{"url":"https://www.facebook.com/senatorsanders/posts/pfbid02TbtZ2ep2LRPLeB3sJ7DahFKaXjF5MTZH9Py5WGN88HkotZBNayveHB6R7JQKAECul?__cft__[0]=AZWBAZPBUrpFFOHrxTNKmeeWr0oMFkSZtDVcyjEHCqJEQ3pJWKaWVys3Jp9hQU5jVCCv_kw2Wxnmu0Qr64Hrs34oVBFiGlki3SmeI6HF73EmWIciofQd7Vm0ZBavF_LNGORxKZEUzaUNlmbZ4DK5CWX2J3gL9iEOLZy-OOfklfsuXcAQi7xGvKStj08Rmqnd6xBXL3XcshLgGhoOdT2NhvzB\u0026__tn__=%2CO%2CP-R","get_all_replies":true,"limit_records":"","comments_sort":""},{"url":"https://www.facebook.com/POTUS/posts/pfbid0WWBbQBktPMGwGEJTQuLBKLXUanXwFUW1ZaNuGyQweZFjHP7ryNyLqrt1hx71k1vul?__cft__[0]=AZVk6h0q_WXZ2Muy7ByOo6iqRa25lmWIUdA4XOdYQgdiq5R66oncRffhVrP7ChfwL_kYDxRUa_Fr1eJRdaSFerbUlWKBVYKWu6KDJnt7EXxygxUz4wXJL5_nlkbVk1idcuL7Gp24HCSsn9153ONBAmVPGUPeQc_nvQJgNYydLbCUDaky1cq4LJDANYTIkBsNendnzcWbRseNQvHeMXi26IjT\u0026__tn__=%2CO%2CP-R","limit_records":10,"comments_sort":""},{"url":"https://www.facebook.com/Cristiano/posts/pfbid02tCDEC5J8yCDnhzGdjZUQ3o9a1kBQxD7rErukcyGqyrNrRJRpjdYeFmVo7W1T7n7el","get_all_replies":false,"limit_records":5,"comments_sort":""}]' "https://api.brightdata.com/datasets/v3/trigger?dataset_id=gd_lkay758p1eanlolqw8&format=json&uncompressed_webhook=true"
[
{
"db_source": "1788623429552",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/video.php?v=1766967954430183\u0026locale=en_US",
"post_id": "video.php",
"post_url": "https:\/\/www.facebook.com\/video.php?v=1766967954430183\u0026locale=en_US",
"comment_id": "Y29tbWVudDoxNTUzOTg4MDMzNDI5MjE2XzI4NTAzNjQyMTA1OTg5OTcx",
"user_name": "Joy F******a",
"user_id": "pfbid0QtwfpmkhZwymfVyQZmwqxYky6VU2yL4kU9GNGREvQRmngqtX17BgJYaQsxdTGnynl"
},
{
"db_source": "1788623429552",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/video.php?v=1766967954430183\u0026locale=en_US",
"post_id": "video.php",
"post_url": "https:\/\/www.facebook.com\/video.php?v=1766967954430183\u0026locale=en_US",
"comment_id": "Y29tbWVudDoxNTUzOTg4MDMzNDI5MjE2XzE0NTY5ODg2Mzk3ODU4NTQ=",
"user_name": "Sally H****s",
"user_id": "pfbid0wbBEvTgtvNBBQNh5vGFdxac4Gu1bNZrGqGxrPYaXehWReucoxhjkmZLru9aUo1sGl"
},
{
"db_source": "1788623429552",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/video.php?v=1766967954430183\u0026locale=en_US",
"post_id": "video.php",
"post_url": "https:\/\/www.facebook.com\/video.php?v=1766967954430183\u0026locale=en_US",
"comment_id": "Y29tbWVudDoxNTUzOTg4MDMzNDI5MjE2XzE1ODkzMjM5Mzk1OTI1NDg=",
"user_name": "Melanie D*****d M******a",
"user_id": "pfbid02qvZcbQnt2WpccEFvbFij8UGC5XSbHmQVTHZ7HbejaPH51xt3H7xpPoKyS5EahymGl"
},
{
"db_source": "1788623429552",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/video.php?v=1766967954430183\u0026locale=en_US",
"post_id": "video.php",
"post_url": "https:\/\/www.facebook.com\/video.php?v=1766967954430183\u0026locale=en_US",
"comment_id": "Y29tbWVudDoxNTUzOTg4MDMzNDI5MjE2XzEwNzIyNTYxMzg1MTQyOTc=",
"user_name": "Helen T**d",
"user_id": "pfbid0Nr1jx4r8aL2nVkkipdNUMLHdrsjaMHBR6y5C2UpKhSZEuyQFFqFS5U4MDGmk9fhMl"
},
{
"db_source": "1788623429552",
"timestamp": "2026-09-05",
"url": "https:\/\/www.facebook.com\/groups\/131650282168271\/posts\/1424359042897382\/?locale=en_US",
"post_id": "1424359042897382",
"post_url": "https:\/\/www.facebook.com\/groups\/131650282168271\/posts\/1424359042897382\/?locale=en_US",
"comment_id": "Y29tbWVudDoxNDI0MzU5MDQyODk3MzgyXzE0MjU1NzQyNTk0NDI1Mjc=",
"user_name": "Omer C***n",
"user_id": "1463380549"
}
]
Never worry about proxies and CAPTCHAs again
- Automatic IP Rotation
- CAPTCHA Solver
- User Agent Rotation
- Custom Headers
- JavaScript Rendering
- Residential Proxies
Effortlessly scrape Facebook data

Leading the way in ethical web data collection
We have set the gold standard for ethical and compliant web data practices. Our peer network is built on trust, with every member personally opting in and the guarantee of zero personal data collection. We champion the collection of only publicly available data, backed by an industry-leading Know Your Customer process and a transparent Acceptable Use Policy. Our global, multilingual Compliance & Ethics team, the first of its kind, ensures we stay ahead of regulatory changes and best practices.
Scrape Facebook with one API call
Data Discovery
Detecting data structures and patterns to ensure efficient, targeted extraction of data.
Bulk Request Handling
Reduce server load and optimize data collection for high-volume scraping tasks.
Data Parsing
Efficiently converts raw HTML into structured data, easing data integration and analysis.
Data validation
Ensure data reliability and save time on manual checks and preprocessing.
API for Seamless Facebook Data Access
Comprehensive, Scalable, and Compliant Web Data Extraction
API for Seamless Facebook Data Access
Tailored to your workflow
Get structured data in JSON, NDJSON, or CSV files through Webhook or API delivery.
Built-in infrastructure and unblocking
Get maximum control and flexibility without maintaining proxy and unblocking infrastructure. Easily scrape data from any geo-location while avoiding CAPTCHAs and blocks.
Battle-proven infrastructure
Bright Data’s platform powers 50,000+ companies worldwide, offering peace of mind with 99.99% uptime, access to 400M+ real user IPs covering 195 countries.
Industry leading compliance
Our privacy practices comply with data protection laws, including the EU data protection regulatory framework, GDPR, and CCPA.
Simplified Facebook data extraction
Real-time Facebook intelligence for your business.
Sentiment analysis
Scrape public Facebook posts and comments to monitor likes, shares, reactions, and replies in real time. Collecting comment text and reaction counts across posts lets you track how users feel about your brand, products, or service and respond before sentiment shifts.
Find influencers
Scrape Facebook page and profile data to identify the right people to promote your brand. Analyze follower counts, verification status, post engagement, page categories, and reels view counts to find creators whose audience aligns with your target market.
Campaign optimization
Scrape competitor Facebook pages to collect post content, media attachments, likes, shares, comment counts, and follower growth. Use this structured data to identify which content formats drive the most engagement and find gaps your own campaigns can fill.
Event & local business intelligence
Scrape public Facebook events and business pages to track upcoming events, attendee counts, RSVPs, ratings, and reviews in a given area or category. Use this data to map local market activity, identify emerging venues or organizers, and time your outreach or promotions around real audience demand.
Why 50,000+ Customers Choose Bright Data
100% Compliant
24/7 Global Support
Complete Data Coverage
Unmatched Data Quality
Powerful Infrastructure
Custom Solutions
Bright Data is used by world's top brands
Facebook Scraper API FAQs
What is the Facebook Scraper API?
The Facebook Scraper API is a powerful tool designed to automate data extraction from Facebook, allowing users to efficiently gather and process large volumes of data for various use cases.
How does the Facebook Scraper API work?
The Facebook Scraper API works by sending automated requests to Facebook, extracting the necessary data points, and delivering them in a structured format. This process ensures accurate and quick data collection.
Is the Facebook Scraper API compliant with data protection regulations?
Yes, the Facebook Scraper API is designed to comply with data protection regulations, including GDPR and CCPA. It ensures that all data collection activities are performed ethically and legally.
How can I integrate the Facebook Scraper API with my existing systems?
The Facebook Scraper API offers flawless integration with various platforms and tools. You can use it with your existing data pipelines, CRM systems, or analytics tools to improve your data processing capabilities.
What are the usage limits for the Facebook Scraper API?
There are no specific usage limits for the Facebook Scraper API, offering you the flexibility to scale as needed. Prices start from $0.001 per record, ensuring cost-effective scalability for your web scraping projects.
Why is it important to use proxies when scraping Facebook ?
Proxies are important for scraping Facebook because it allows the scraper to remain anonymous, avoid IP blocking, access geo-restricted content, and improve scraping speed.
Why is it important to have an unblocking solution when scraping Facebook ?
Having an unblocking solution when scraping Facebook is important because many websites have anti-scraping measures that block the scraper’s IP address or require CAPTCHA solving. The unblocking solution implemented within Bright Data’s web scraping solutions are designed to bypass these obstacles and continue gathering data without interruption.
Is it legal to scrape Facebook ?
Our privacy practices comply with data protection laws, including the EU data protection regulatory framework, GDPR, and CCPA – respecting requests to exercise privacy rights and more.
What data fields does the Facebook Scraper return?
The fields returned depend on the type of data you are collecting. For posts you can expect fields such as post content, date posted, likes, comments, shares, reaction types, attachments, and page details. For profiles you get fields such as name, follower count, bio, and verification status. For marketplace listings you get fields such as title, price, condition, description, location, and images. All data is returned as structured JSON.
Can I collect Facebook data without knowing specific post or profile URLs?
Yes. The Facebook Scraper supports discovery modes that allow you to find content without needing direct URLs. For example, you can pass a Facebook page or group URL and the scraper will discover and return all posts from it. Marketplace listings can also be discovered by keyword or by URL. If you do have specific URLs, you can use the collect by URL mode to retrieve data directly.
What output formats does the Facebook Scraper support?
The Facebook scraper returns data in JSON, NDJSON, and CSV formats. You can specify your preferred format in the request parameters. Data can be delivered via API download, webhook, Amazon S3, Snowflake, Azure, and Google Cloud Storage, among other delivery options.
Is there a free tier available for the Facebook Scraper API?
Yes! Every new Bright Data account automatically includes 5,000 free credits per month (approximately $7.50 in value) — no credit card required, no promo code, no commitment. These credits apply to Scrapers (including the Facebook Scraper API), as well as the Unlocker API and SERP API. Credits renew on the 1st of each month, and you can start making API calls immediately after signing up.