Facebook Post API
Post
for Facebook, in one call.
The Post endpoint from ScrapeCreators gives developers reliable access to Facebook data without the hassle of building and maintaining scrapers. Our endpoint makes it easy to retrieve post data in real-time for your applications. Get a public Facebook post or reel by url. Use one request per reel for available engagement metrics and more precise views when Facebook exposes them; exact views are not guaranteed. For some reels, view_count can be null or lower than the public Reels badge. For the public Reel badge count, call /v1/facebook/profile/reels with the author URL and match by post_id.
// Example: Post from the Facebook API
const response = await fetch(`https://api.scrapecreators.com/v1/facebook/post`, {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data); Endpoint spec
What the Post endpoint returns
/v1/facebook/post Parameters
allow_long_transcription boolean Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed.
get_transcript boolean Transcription is opt-in via get_transcript=true. Default short AI (up to 120 seconds, inclusive) is included in the existing base endpoint price, with no extra AI fee. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. On detail routes, successful paid-mode AI costs are in addition to the existing base endpoint cost; media-download pricing is unchanged. Returned native captions leave the base endpoint price unchanged. Empty AI results and errors incur no AI fee; the base scrape fee still applies when the detail scrape succeeds. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed.
url string
required
The URL of the post to get
cache_max_age select If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit; default short AI is included; allow_long_transcription=true adds 10 credits per started minute to the existing base cost). [See the Caching page for details.](https://docs.scrapecreators.com/caching)
Quick start
Post quick start
Sign up, grab your API key, paste this in. First response in under a minute.
// Example: Post from the Facebook API
const response = await fetch(`https://api.scrapecreators.com/v1/facebook/post`, {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data); Why us
Why use this Post endpoint
Real-time data access
Get the most up-to-date Post data without dealing with rate limits or IP blocks.
Simple integration
Clear documentation and a straightforward REST endpoint 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 comprehensive Post data through our carefully designed endpoint.
Use cases
Post endpoint use cases
Data analysis
Analyze Post data to gain insights and make data-driven decisions.
Content monitoring
Monitor Post content to track changes and updates in real-time.
Integration
Integrate Post data into your applications and services.
Automation
Automate processes using Post data to improve efficiency.
Reporting
Generate reports and analytics using Post data.
Custom solutions
Build custom solutions leveraging Post data for your specific needs.
More Facebook endpoints
Keep exploring the Facebook API
Use this endpoint with related Facebook endpoints when you need profiles, posts, search, comments, and engagement data in one workflow.
Transcript
GET /v1/facebook/post/transcript Get native captions or an AI transcript of a Facebook video post or reel. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed.
Comments
GET /v1/facebook/post/comments Get the comments of a Facebook post (or reel)
Comment Replies
GET /v1/facebook/post/comment/replies Get the replies to a comment.
Facebook Group Info
GET /v1/facebook/group Get the public About-page information for a Facebook group.
Facebook Group Posts
GET /v1/facebook/group/posts Get a public Facebook groups posts. Only can get 3 posts at a time :( (Facebook API limit)
Profile
GET /v1/facebook/profile Get public Facebook profile information
FAQ
Questions we hear
about this endpoint.
Is the Post endpoint official?
No, ScrapeCreators provides an unofficial Post endpoint 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 Post data?
We provide real-time Post data from Facebook. When you make a request, we fetch the latest information available, so you always get fresh data.
Can I use the Post endpoint in production?
Absolutely. Many businesses rely on ScrapeCreators endpoints for their production applications. Our infrastructure is designed for reliability and performance at scale.
Do I need a credit card to try the Post endpoint?
No credit card required. Sign up for free and you get 100 credits on the house to test the Post endpoint before deciding on a plan. Credits never expire.
What format does the Post endpoint return?
The Post endpoint returns a clean JSON response over HTTPS. Call `GET https://api.scrapecreators.com/v1/facebook/post` with your API key and parse the response like any other REST API.
Get started
Start using Post
100 credits on the house. No credit card. Start pulling post data in under sixty seconds.
Also searched