API Description

Facebook Post API — Collect Facebook post details and available author, media and comment data.

Authenticate with your Pangolinfo API Key to receive structured JSON data.

Request URL

POST https://scrapeapi.pangolinfo.com/api/v1/social/facebook-post

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Collection takes up to approximately 75 seconds. Set your client timeout to 90 seconds.

Request Parameters

ParameterRequiredTypeDescription
targetYesstringTarget URL, supported ID or search keyword for this operation.

Only the request parameters listed on this page are used; other fields are ignored. Pass pagination cursors back unchanged, without encoding, decoding or conversion.

Included comments are limited to one page. Use the corresponding comments operation for more.

Response Fields

FieldTypeDescription
codeintegerStatus code; 0 indicates success.
messagestringResponse message; ok on success.
pointCostnumberPoints charged for this request.
dataobjectCollected data, with fields described below.
metaobjectRequest identifier and duration in milliseconds.
billingobjectCharged units, unit price and billing rule version.

data Fields

FieldTypeDescription
typestringResult type.
posterobjectPoster
postobjectPost, video or business details.
commentsobject[]Root comments in comment mode.
paginationobjectContinuation cursor and whether more results are available.

data.poster Fields

FieldTypeDescription
nicknamestring | nullAuthor display name.
avatarstring | nullAvatar URL.
profileUrlstring | nullAuthor profile URL.
idstring | nullRecord identifier.
typestring | nullResult type.

data.post Fields

FieldTypeDescription
likesnumber | nullLike count.
commentsCountnumber | nullPlatform-reported comment total; not the number billed.
viewsnumber | nullView count.
publishedAtstring | nullPublication time.
captionTextstring | nullCaption text
postIdstring | nullPost id
urlstringContent URL.
createdTimenumber | nullCreated time
sharesnumber | nullShare count.
playsnumber | nullPlays
videoViewsnumber | nullVideo views
feedbackIdstring | nullFeedback id
permalinkstring | nullPermalink
titlestring | nullTitle
reactionsobject[]Reactions
hashtagsstring[]Hashtags
linksstring[]Links
attachmentsobject[]Attachments
videoobject | nullVideo

data.post.reactions[] Fields

FieldTypeDescription
typestring | nullResult type.
countnumber | nullNumber of result items.

data.post.attachments[] Fields

FieldTypeDescription
typestring | nullResult type.
idstring | nullRecord identifier.
urlstring | nullContent URL.
thumbnailstring | nullThumbnail
widthnumber | nullWidth
heightnumber | nullHeight

data.post.video Fields

FieldTypeDescription
idstringRecord identifier.
durationSecnumber | nullDuration sec
widthnumber | nullWidth
heightnumber | nullHeight
thumbnailstring | nullThumbnail
sdUrlstring | nullSd url
hdUrlstring | nullHd url
isLivebooleanIs live

data.comments[] Fields

FieldTypeDescription
avatarstring | nullAvatar URL.
nicknamestring | nullAuthor display name.
profileUrlstring | nullAuthor profile URL.
timeTextobject | nullTime text
contentstring | nullContent text; may be null for records without text.
moodnumber | nullMood
idstring | nullRecord identifier.
legacyIdstring | nullLegacy id
authorIdstring | nullAuthor id
authorTypestring | nullAuthor type
replyCountnumberPlatform-reported reply count.
urlstring | nullContent URL.
depthnumberComment nesting depth; 0 is a root comment.
parentIdstring | nullParent post or comment identifier.
replyCursorstring | nullCursor used to request replies to this comment.

data.comments[].timeText Fields

FieldTypeDescription
textstring | nullText value.
valuenumber | nullParsed value.

data.pagination Fields

FieldTypeDescription
commentsobjectRoot comments in comment mode.

data.pagination.comments Fields

FieldTypeDescription
cursorstring | nullContinuation cursor from the previous response. Pass the value unchanged.
hasMorebooleanWhether more results are available.

Request Example

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/facebook-post \
  --header 'Authorization: Bearer YOUR_PANGOLINFO_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://www.facebook.com/watch/?v=28751926967826750"
}'

Response Example

This excerpt shows the first item of each list. Long text and URLs are shortened; pointCost is the charge for the complete response. The playground contains the full schema.

{
  "code": 0,
  "message": "ok",
  "pointCost": 0.8,
  "data": {
    "type": "post",
    "poster": {
      "nickname": "Nate Petroski",
      "avatar": "https://scontent.ffru11-1.fna.fbcdn.net/v/t39.30808-1/352211230_2277627632410124_7647155118717881704_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx2048x2048&ctp=s40x40&_n...",
      "profileUrl": "https://www.facebook.com/nateandminion",
      "id": "100090990872146",
      "type": "User"
    },
    "post": {
      "likes": 1250,
      "commentsCount": 20,
      "views": 11955,
      "publishedAt": "2026-09-21T23:00:35.000Z",
      "captionText": "Charging tools and gadgets in the woods with the jackery Homepower 3600 plus\n#narrowayhomestead #offgrid #jackery #poweroutjackeryon #HomePower3600Plus #prim...",
      "postId": "1038003932575960",
      "url": "https://www.facebook.com/watch/?v=28751926967826750",
      "createdTime": 1790031635000,
      "shares": null,
      "plays": 25852,
      "videoViews": 11955,
      "feedbackId": "ZmVlZGJhY2s6cGZiaWQwMlQ2a2R1eE03QjdkYWdGMTFnNER2YVF5U01rM0FaWWlZSzRGV2NHaXQxVXlpbVQ4aFFYY2NpYk5yc2VLaFA0TDNs",
      "permalink": "https://www.facebook.com/reel/28751926967826750/",
      "title": null,
      "reactions": [
        {
          "type": "Like",
          "count": 1205
        }
      ],
      "hashtags": [
        "narrowayhomestead"
      ],
      "links": [
        "https://bit.ly/4hd9LaE"
      ],
      "attachments": [],
      "video": {
        "id": "28751926967826750",
        "durationSec": 87.6,
        "width": 1080,
        "height": 1920,
        "thumbnail": "https://scontent.ffru11-1.fna.fbcdn.net/v/t15.5256-10/819220765_933120436078076_3522944100965256075_n.jpg?stp=dst-jpg_tt6&cstp=mx1080x1920&ctp=s960x960&_nc_c...",
        "sdUrl": "https://video.ffru11-1.fna.fbcdn.net/o1/v/t2/f2/m412/AQO0iWXE5sq_mLSkYgF4mBVpmO8GJLbVwqPC87il6lxSJYh8tX2YzNsreKKl4-dM7Pq6XIDgxw1efzQMvQ_HL2uasUCDJl0dhXFGmAgQ...",
        "hdUrl": "https://video.ffru11-1.fna.fbcdn.net/o1/v/t2/f2/m412/AQN1M47TQ-95qzA4Ctt31OrlWf0UMW5R0EeZAoGv-vPAJQ22Tcc8f6np9sc18IXr4ACB5kjPZkK-NvbOEc8hse4sMnB5FDEDNSxWeEib...",
        "isLive": false
      }
    },
    "comments": [
      {
        "avatar": "https://scontent.ffru11-1.fna.fbcdn.net/v/t39.30808-1/830541597_10165061607287628_7626207140813021480_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx720x720&ctp=s32x32&_nc...",
        "nickname": "Tony Gibson",
        "profileUrl": "https://www.facebook.com/tony.gibson.3154",
        "timeText": {
          "text": "2026-09-21T23:32:36.000Z",
          "value": 1790033556000
        },
        "content": "We bought one almost a year ago and it has been awesome running power tools it’s piece of mine knowing if the electric goes out it can be used for various th...",
        "mood": 3,
        "id": "Y29tbWVudDoxMDM4MDAzOTMyNTc1OTYwXzIzNTI1MTc5Njg2MTk5OTQ=",
        "legacyId": "2352517968619994",
        "authorId": "pfbid02QenCGVC6HrcBcPWrdqcURw1j1JQLi2uwkKbNZYxhcmPGjFvNVKzyz74jWjgkWj9ul",
        "authorType": "User",
        "replyCount": 0,
        "url": "https://www.facebook.com/reel/28751926967826750/?comment_id=2352517968619994",
        "depth": 0,
        "parentId": null,
        "replyCursor": null
      }
    ],
    "pagination": {
      "comments": {
        "cursor": "MToxNzkzOTU0Mjk1OgF_r0bYz6nZSgD9bp-3qx_d96Npk7aa0SbrK_PXnnwyJxQnoIWgCSLm_1tqfMUE9QYrc6axGl-MAq-6DjQCnPkNa6Yz79mLxZoGrEh9WxPXI_szznDthrBnHilmaliTtiS0KbgWWVlUB...",
        "hasMore": true
      }
    }
  },
  "meta": {
    "requestId": "pg-audit-r1-facebook-post-1793954288138582000",
    "durationMs": 8992
  },
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 1,
    "pointCost": 0.8
  }
}

Points Usage

0.8 points per post, video or business. Included comments, replies and author details are free.

Empty results and failed requests are not charged. Duplicate IDs are counted once within a response. Separate calls and pages are billed separately. See Social Media Reviews API billing.

Try it