Get a Facebook post or reel
Retrieve one public post or reel with available media and engagement; optional comments and transcript reads preserve failures as nulls with warnings. view=transcript returns only the original caption file with SRT/WebVTT/XML cue timing; format=camelCase returns camelCase fields under data. Includes ordered media attachments with native IDs, GIF types and video rendition metadata.
/v1/facebook/postx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Public HTTPS Facebook resource URL. Common tracking parameters are stripped; credentials, ports, lookalike hosts, traversal and unsupported paths are rejected. A shared_post_url from a post or group feed is accepted as is.
max 4096 chars
https://www.facebook.com/reel/100000000000001/true retrieves a bounded comment sample, with null plus an explicit warning if unavailable.
one of: true, false
true retrieves available captions as plain text; null preserves unavailable captions.
one of: true, false
standard (default) returns the post or reel; transcript returns only the original caption file (post_id, transcript) with cue timing preserved.
one of: standard, transcript
native (default) returns the fields below; camelCase returns the same retrieval as camelCase fields under data.
one of: native, camelCase
Public source post_id; null or empty when no value is exposed.
ID of the original post when this post shares another one and Facebook exposes it; otherwise null.
URL of that original post, readable through this endpoint (pass it as url); null when unavailable.
Public source like_count; null or empty when no value is exposed.
Public source comment_count; null or empty when no value is exposed.
Public source share_count; null or empty when no value is exposed.
Public source view_count; null or empty when no value is exposed.
Public source description; null or empty when no value is exposed.
Public source creation_time; null or empty when no value is exposed.
Public source feedback_id; null or empty when no value is exposed.
Public HTTPS Facebook resource URL. Common tracking parameters are stripped; credentials, ports, lookalike hosts, traversal and unsupported paths are rejected. A shared_post_url from a post or group feed is accepted as is.
Link preview of a link share: url (external destination), title, description, source and image_url; null for other posts.
Always included.
Always included.
Always included.
Always included.
Always included.
Public source image_url; null or empty when no value is exposed.
Public source video; null or empty when no value is exposed.
Ordered media records on posts and reels; normalized records expose the same array under ext, and plural post details expose it under media.
up to 100 items
Always included.
Always included.
≥ 0
Always included.
one of: image, video, gif, unknown
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
one of: progressive, dash
Always included.
Always included.
Always included.
up to 100 items
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
one of: progressive, dash
Always included.
Public source author; null or empty when no value is exposed.
Public source music; null or empty when no value is exposed.
Normalized result with author, post, event or listing data and per-item coverage where applicable.
When include is requested: total rows, successfully enriched rows and failed rows.
Always included.
Always included.
Always included.
True when usable public data is returned.
success or partial on HTTP 200; failed or challenged on failure.
one of: success, partial
Request correlation UUID.
Canonical public Facebook page used for retrieval.
absolute HTTPS URL
UTC retrieval timestamp.
Completeness of this bounded response. Warnings name restricted, missing, interrupted or unavailable optional data.
Always included.
Always included.
Always included.
Optional.
one of: newest_first, oldest_first, ranked, relevance, source_order
Optional.
Optional.
Optional.
Counted upstream requests, decoded response bytes and elapsed milliseconds.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Optional.
Original published caption file text, including cue timing and line breaks; null when no public caption track is available.
Optional.
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 200 | partial | Usable data with explicit missing/failed auxiliary coverage. |
| 400 | invalid_request | Malformed, duplicate, conflicting or unsupported parameters. |
| 401 | unauthorized | Missing or invalid service API key. |
| 403 | restricted_page | The resource is private or restricted. |
| 404 | not_found | Unknown route or missing resource. |
| 429 | upstream_rate_limited | Facebook throttled retrieval. |
| 502 | upstream_challenged upstream_error unsupported_page | Source challenge, failure or unsupported/mismatched structure. |
| 502 | response_too_large payload_too_complex request_limit unsafe_redirect | Bounded retrieval or fixed-origin policy failed. |
| 503 | busy | All Facebook worker slots are occupied. |
| 504 | timeout | Request deadline expired. |