Skip to content
scrapeatlas.Dashboard

Get a Facebook post or reel

Try in Playground

Retrieve one public post or reel with available media and engagement. Optional comments and transcript reads preserve failures as nulls with warnings. Includes ordered media attachments with native IDs, GIF types and video rendition metadata.

GET/v1/facebook/postx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
3
urlstringrequiredquery

Public HTTPS Facebook resource URL. Common tracking parameters are stripped; credentials, ports, lookalike hosts, traversal and unsupported paths are rejected.

max 4096 chars

Examplehttps://www.facebook.com/reel/100000000000001/
get_commentsenumquery

true retrieves a bounded comment sample, with null plus an explicit warning if unavailable.

one of: true, false

get_transcriptenumquery

true retrieves available captions as plain text; null preserves unavailable captions.

one of: true, false

Response fields
59
post_idstring

Public source post_id; null or empty when no value is exposed.

like_countnumbernullable

Public source like_count; null or empty when no value is exposed.

comment_countnumbernullable

Public source comment_count; null or empty when no value is exposed.

share_countnumbernullable

Public source share_count; null or empty when no value is exposed.

view_countnumbernullable

Public source view_count; null or empty when no value is exposed.

descriptionstringnullable

Public source description; null or empty when no value is exposed.

creation_timestringnullable

Public source creation_time; null or empty when no value is exposed.

feedback_idstringnullable

Public source feedback_id; null or empty when no value is exposed.

urlstringnullable

Public HTTPS Facebook resource URL. Common tracking parameters are stripped; credentials, ports, lookalike hosts, traversal and unsupported paths are rejected.

image_urlstringnullable

Public source image_url; null or empty when no value is exposed.

videoobjectnullable

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

mediaAttachments.idstring | numbernullable

Always included.

mediaAttachments.indexinteger

Always included.

≥ 0

mediaAttachments.typeenum

Always included.

one of: image, video, gif, unknown

mediaAttachments.urlstringnullable

Always included.

mediaAttachments.thumbnailUrlstringnullable

Always included.

mediaAttachments.widthnumbernullable

Always included.

mediaAttachments.heightnumbernullable

Always included.

Always included.

mediaAttachments.bestVideo.urlstring

Always included.

mediaAttachments.bestVideo.widthnumbernullable

Always included.

mediaAttachments.bestVideo.heightnumbernullable

Always included.

mediaAttachments.bestVideo.bitratenumbernullable

Always included.

mediaAttachments.bestVideo.hasAudiobooleannullable

Always included.

mediaAttachments.bestVideo.sourceenum

Always included.

one of: progressive, dash

mediaAttachments.bestVideo.mimeTypestringnullable

Always included.

mediaAttachments.audioUrlstringnullable

Always included.

Always included.

up to 100 items

mediaAttachments.variants.urlstring

Always included.

mediaAttachments.variants.widthnumbernullable

Always included.

mediaAttachments.variants.heightnumbernullable

Always included.

mediaAttachments.variants.bitratenumbernullable

Always included.

mediaAttachments.variants.hasAudiobooleannullable

Always included.

mediaAttachments.variants.sourceenum

Always included.

one of: progressive, dash

mediaAttachments.variants.mimeTypestringnullable

Always included.

authorobjectnullable

Public source author; null or empty when no value is exposed.

musicobjectnullable

Public source music; null or empty when no value is exposed.

dataobjectoptional

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.

hydration.totalinteger

Always included.

hydration.enrichedinteger

Always included.

hydration.failedinteger

Always included.

successboolean

True when usable public data is returned.

statusenum

success or partial on HTTP 200; failed or challenged on failure.

one of: success, partial

requestIdstring

Request correlation UUID.

sourceUrlstring

Canonical public Facebook page used for retrieval.

absolute HTTPS URL

fetchedAtstring

UTC retrieval timestamp.

Completeness of this bounded response. Warnings name restricted, missing, interrupted or unavailable optional data.

coverage.sourcestring

Always included.

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

Counted upstream requests, decoded response bytes and elapsed milliseconds.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsinteger

Always included.

≥ 0

commentsobject[]nullableoptional

Optional.

transcriptstringnullableoptional

Optional.

comments_cursorstringnullableoptional

Optional.

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.

Error codes
10
HTTPfailure.codeMeaning
200partialUsable data with explicit missing/failed auxiliary coverage.
400invalid_requestMalformed, duplicate, conflicting or unsupported parameters.
401unauthorizedMissing or invalid service API key.
403restricted_pageThe resource is private or restricted.
404not_foundUnknown route or missing resource.
429upstream_rate_limitedFacebook throttled retrieval.
502upstream_challenged upstream_error unsupported_pageSource challenge, failure or unsupported/mismatched structure.
502response_too_large payload_too_complex request_limit unsafe_redirectBounded retrieval or fixed-origin policy failed.
503busyAll Facebook worker slots are occupied.
504timeoutRequest deadline expired.