MenuFacebook post details

FacebookPOSTS

Get Facebook post details

Retrieve a single post, video, or reel with metrics, media, and author. Post fields match those in /v1/facebook/user/posts; details additionally nests a user object for the author. The username parameter is optional when id is a story_id from the posts endpoint, a post URL, or a video URL — the API resolves the owner from those. It is required when id is a reel URL, a watch URL, or a bare numeric post, video, or reel ID; omitting it then returns 400 with { error: "username is required for this id" }.

GET/v1/facebook/posts/detailsSingle lookup

Auth

API key Get a key

Platform

FacebookPublic data only

Pagination

NoneOne object per call
Base URLhttps://social-api.airaa.xyz
curl "https://social-api.airaa.xyz/v1/facebook/posts/details?id=https%3A%2F%2Fwww.facebook.com%2Fstory.php%3Fstory_fbid%3Dpfbid02q43HZPPzdRUFnCmFdtEHdHpvpXTUkMaMUNbAeieUQf7WnUqzizMPwjeus2AuYFGgl%26id%3D100044561550831&username=nasa" \
  -H "X-API-KEY: $AIRAA_KEY"
Replace $AIRAA_KEY with your key
200Responseapplication/json
{
  "post": {
    "id": "1690599575768745",
    "story_id": "UzpfSTEwMDA0NDU2MTU1MDgzMToxNjkwNTk5NTc1NzY4NzQ1OjE2OTA1OTk1NzU3Njg3NDU=",
    "post_url": "https://www.facebook.com/story.php?story_fbid=pfbid02q43HZPPzdRUFnCmFdtEHdHpvpXTUkMaMUNbAeieUQf7WnUqzizMPwjeus2AuYFGgl&id=100044561550831",
    "type": "photo",
    "caption": "Beauty in chaos 🎨\n\nThis photo from our Chandra X-ray Observatory is the clearest view we have of the remains of an exploded star located in the center of the Milky Way. Scientists can use this…",
    "published_at": "2026-11-17T22:03:34.000Z",
    "user": {
      "id": "100044561550831",
      "username": "NASA",
      "display_name": "NASA - National Aeronautics and Space Administration",
      "profile_url": "https://www.facebook.com/NASA",
      "profile_picture_url": "https://scontent.falg5-2.fna.fbcdn.net/v/t39.30808-1/243095782_416661036495945_3843362260429099279_n.png"
    },
    "metrics": {
      "reaction_count": 483,
      "like_count": 352,
      "comment_count": 11,
      "share_count": 55
    },
    "media": [
      {
        "type": "photo",
        "id": "1690599555768747",
        "url": "https://scontent.falg5-2.fna.fbcdn.net/v/t39.30808-6/916765074_1690599559102080_8008653452099091270_n.jpg",
        "width": 1080,
        "height": 1080
      }
    ]
  }
}

Parameters

Query string
idstringrequired

A post, video, or reel URL, a story_id, or a numeric post/video/reel ID

Example https://www.facebook.com/story.php?story_fbid=pfbid02q43HZPPzdRUFnCmFdtEHdHpvpXTUkMaMUNbAeieUQf7WnUqzizMPwjeus2AuYFGgl&id=100044561550831

usernamestringoptional

The post owner's username, numeric ID, or profile URL. Required for reel URLs, watch URLs, and bare numeric IDs

Example nasa

Response

200 · application/json

Absent fields are omitted, never null. Response conventions

FieldTypeDescription
postobject

The post, video or reel

post.idstring

Canonical post ID

post.story_idstring

Story ID; works as id on /v1/facebook/posts/details without username

post.post_urlstring · url

Absolute URL of the post on facebook.com

post.typestring

Post kind, such as reel

post.captionstring

Caption text

post.published_atstring · date-time

When the post was published, ISO 8601 UTC timestamp

post.userobject

The author of the post

post.user.idstring

Canonical Facebook ID of the profile or Page

post.user.usernamestring

Facebook username, as in the profile URL

post.user.display_namestring

Name shown on the profile or Page

post.user.profile_urlstring · url

Absolute URL of the profile on facebook.com

post.user.profile_picture_urlstring · url

Profile picture URL on the Facebook CDN

post.metricsobject

Engagement counts for the post

Errors

{ "error": "message" }
StatusMeaningRetry
400

Missing id, or username is required for this id form

{ "error": "username is required for this id" }
No. Fix the request.
401

Missing or invalid X-API-KEY header

{ "error": "Invalid API key." }
No. Check the key.
404

The requested account or post does not exist

{ "error": "This account does not exist." }
No. It doesn't exist.
429

Request quota exceeded — contact light@airaa.xyz to upgrade your plan

{ "error": "Request quota exceeded — contact light@airaa.xyz to upgrade your plan." }
After your quota resets
500

Server misconfiguration — API key environment variable not set

{ "error": "Server configuration error" }
No. Contact us.
502

Upstream provider temporarily unavailable — please try again

{ "error": "Upstream service unavailable" }
Yes, with backoff
504

Request timed out — please try again

{ "error": "Request timed out — please try again." }
Yes, with backoff
esc

Pages

Endpoints

↑↓ to move↵ to open