Facebook API

Real-time Facebook
data, one API call.

The Facebook API from ScrapeCreators gives developers reliable access to Facebook data without the hassle of building and maintaining scrapers. Our Facebook API endpoints make it easy to retrieve profiles, posts, metrics, and more from Facebook in real-time for your applications. Get public Facebook profiles and posts

12

Endpoints

REST

Protocol

JSON

Response

facebook.js
example
// Example code for using the Facebook API with JavaScript
const response = await fetch(`https://api.scrapecreators.com/v1/facebook/profile?handle=example`, {
  headers: {
    'x-api-key': 'YOUR_API_KEY'
  }
});

const data = await response.json();
console.log(data);

Endpoints

What you can do with the Facebook API

Profile

GET /v1/facebook/profile

Get public Facebook profile information

View endpoint page

Profile Reels

GET /v1/facebook/profile/reels

Get up to 10 page Reels. view_count is a possibly rounded badge count; use /v1/facebook/post per reel for engagement and available precise views. Paginate with next_page_id and cursor.

View endpoint page

Search Videos

GET /v1/facebook/search/videos

Search public Facebook videos and Reels by keyword, not text or photo posts. Each successful page costs 1 credit, even with no matches.

View endpoint page

Profile Photos

GET /v1/facebook/profile/photos

Get a public Facebook page's photos. Need 'next_page_id' and 'cursor' to paginate.

View endpoint page

Profile Posts

GET /v1/facebook/profile/posts

Get public Facebook profile posts visible without login, 3 per page. Provide url or pageId; pageId is faster.

View endpoint page

Profile Events

GET /v1/facebook/profile/events

Get the events of a public Facebook page

View endpoint page

Post

GET /v1/facebook/post

Get a public Facebook post or Reel by URL. Reel views may be null or below the badge count; exact counts are not guaranteed. For badge counts, use /v1/facebook/profile/reels and match post_id.

View endpoint page

Transcript

GET /v1/facebook/post/transcript

Get native captions or an AI transcript from a Facebook video or Reel. Long AI transcripts may time out.

View endpoint page

Comments

GET /v1/facebook/post/comments

Get the comments of a Facebook post or reel, including image, GIF, video and sticker attachments when available.

View endpoint page

Comment Replies

GET /v1/facebook/post/comment/replies

Get the replies to a comment, including image, GIF, video and sticker attachments when available.

View endpoint page

Facebook Group Info

GET /v1/facebook/group

Get the public About-page information for a Facebook group.

View endpoint page

Facebook Group Posts

GET /v1/facebook/group/posts

Get public Facebook group posts, limited to 3 per page by Facebook.

View endpoint page

Quick start

Facebook API quick start

Make your first request in under a minute. Sign up, grab your API key, paste this in.

facebook-example.js
// Example code for using the Facebook API with JavaScript
const response = await fetch(`https://api.scrapecreators.com/v1/facebook/profile?handle=example`, {
  headers: {
    'x-api-key': 'YOUR_API_KEY'
  }
});

const data = await response.json();
console.log(data);
Read the full documentation

Why us

Why ship on the ScrapeCreators Facebook API

Real-time data access

Get the most up-to-date Facebook data without dealing with rate limits or IP blocks.

Simple integration

Clear documentation and straightforward REST API endpoints make it easy to get started in any language.

High reliability

Our infrastructure ensures high uptime and consistent performance for your applications, even at scale.

Comprehensive data

Access a wide range of Facebook data points through our carefully designed endpoints.

Use cases

Facebook API use cases

01

Content discovery

Find trending content on Facebook to identify viral topics or influencers relevant to your industry.

02

Competitive analysis

Monitor competitor accounts on Facebook to track their content strategy, engagement rates, and audience growth.

03

Influencer research

Find and verify Facebook creators based on audience demographics, engagement metrics, and content relevance.

04

Social monitoring

Track brand mentions and relevant hashtags on Facebook to gauge customer sentiment and identify opportunities.

05

Content aggregation

Embed Facebook content into your application or website to keep your users engaged with fresh content.

06

Automated reporting

Build dashboards with real-time Facebook metrics and schedule automated reports for stakeholders.

FAQ

Questions we hear
about the Facebook API.

Is the Facebook API official?

No, ScrapeCreators provides an unofficial Facebook API that lets you access Facebook data through our platform. We handle the complexities of data collection so you can focus on building your application.

How current is the Facebook data?

We provide real-time data from Facebook. When you make a request, we fetch the latest information available, so you always get fresh Facebook data.

Can I use the Facebook API in production?

Absolutely. Many businesses rely on ScrapeCreators APIs for their production applications. Our infrastructure is designed for reliability and performance at scale.

Do I need a credit card to try the Facebook API?

No credit card required. Sign up for free and you get 100 credits on the house to test the Facebook API before deciding on a plan. Credits never expire.

What does the Facebook API return?

The Facebook API returns clean JSON responses with profiles, posts, engagement metrics, and more — depending on the endpoint you call. See the endpoints section above for the full list of 12 endpoints available.

Get started

Start using the Facebook API

100 credits on the house. No credit card. Start pulling Facebook data in under sixty seconds.

Also searched

Common terms for Facebook API access

Facebook API integration Facebook data API Access Facebook data programmatically Facebook API for developers Facebook API endpoints Facebook API documentation How to use Facebook API Facebook API wrapper Facebook API solutions