Facebook Search

Retrieve Facebook Post by ID

Retrieve normalized metadata for a public Facebook post/media item by ID.

Billing metadata: successful billable responses include the X-Desearch-Cost-Usd, X-Desearch-Usage-Count, X-Desearch-Service, and X-Desearch-Currency headers. JSON object responses also include optional cost_usd, usage_count, service, and currency fields. For example, usage_count=10 at $0.015 / 1,000 resolves to cost_usd=0.00015. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.

get/desearch/facebook/post/{id}

Request

  • Base URL: https://api.desearch.ai
  • URL: https://api.desearch.ai/desearch/facebook/post/{id}
  • Auth: API key in header Authorization

Path parameters

idstring required

Facebook public post/media ID

Response

A normalized Facebook post object.

OR
object required

Example response

{
  "id": "1525856912919657",
  "url": "https://www.facebook.com/facebook/posts/1525856912919657",
  "text": "Post text",
  "createTime": "2026-05-01T10:00:00Z",
  "author": {
    "id": "123456789",
    "username": "facebook",
    "name": "Desearch AI",
    "url": "https://www.facebook.com/facebook",
    "avatar": "https://example.com/avatar.jpg",
    "verified": true,
    "bio": "Public search API",
    "category": "Software",
    "followers": 50000,
    "likes": 12000
  },
  "stats": {
    "reactionCount": 1200,
    "commentCount": 80,
    "shareCount": 24,
    "viewCount": 10000
  },
  "media": [
    {
      "type": "photo",
      "url": "https://example.com/photo.jpg",
      "thumbnail": "https://example.com/thumb.jpg",
      "width": 1200,
      "height": 630
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.