# Facebook Post Details

Get Facebook Post Details via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as url, and retrieve structured data including source post identifier, post text, returned source post URL, source author identifier, and author display name for content catalogue enrichment, and engagement context.

Documentation: https://openany.si/facebook/facebook-post-details/19856c05-84b4-4bc5-a4fe-4ac694dad64a/
API ID: 19856c05-84b4-4bc5-a4fe-4ac694dad64a
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/facebook/post
Page update time: 2026-12-03T02:49:00.143Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:48:59.309Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Facebook Post Details API

POST url for a public www.facebook.com page-name/posts/ permalink. post contains source identity and engagement, while source\_url retains the input reference; the returned post URL can use a canonical pfbid form.

## What You Can Build

- **Content catalogue enrichment**: Connect source post identity with text and author references.
- **Engagement context**: Keep source counts separate from actual comment records.

## Returned Data

| Field | Meaning |
| --- | --- |
| `post.post_id` | Source post identifier. |
| `post.text` | Post text. |
| `post.url` | Returned source post URL. |
| `post.authors[].id` | Source author identifier. |
| `post.authors[].name` | Author display name. |
| `post.media[].type` | Media type. |
| `post.engagement.comment_count` | Source comment count. |
| `post.engagement.reaction_count` | Source reaction count. |
| `post.engagement.share_count` | Source share count. |
| `source_url` | Requested source permalink. |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Facebook Post Details request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "url": "https://www.facebook.com/NASA/posts/1587860636042640/"
        }
      ],
      "properties": {
        "url": {
          "description": "Public www.facebook.com post permalink containing a page and post identifier.",
          "maxLength": 400,
          "pattern": "^https://www\\.facebook\\.com/[A-Za-z0-9][A-Za-z0-9._-]*/posts/(?:[0-9]+|pfbid[A-Za-z0-9]+)/?$",
          "title": "Url",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "URL",
            "summary": "Public www.facebook.com post permalink containing a page and post identifier."
          }
        }
      },
      "required": [
        "url"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get a public Facebook post by its URL."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "post": {
      "type": "object",
      "properties": {
        "authors": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          }
        },
        "creation_time": {
          "type": "integer"
        },
        "engagement": {
          "type": "object",
          "properties": {
            "comment_count": {
              "type": "integer"
            },
            "reaction_count": {
              "type": "integer"
            },
            "share_count": {
              "type": "integer"
            }
          }
        },
        "media": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            }
          }
        },
        "post_id": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "source_url": {
      "type": "string"
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/facebook/post' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "url": "https://www.facebook.com/NASA/posts/1587860636042640/"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "post": {
    "authors": [
      {
        "id": "100044561550831",
        "name": "NASA - National Aeronautics and Space Administration",
        "url": "https://www.facebook.com/NASA"
      }
    ],
    "creation_time": 1785188122,
    "engagement": {
      "comment_count": 686,
      "reaction_count": 11,
      "share_count": 1350
    },
    "media": [
      {
        "id": "1587860609375976",
        "type": "Photo"
      }
    ],
    "post_id": "1587860636042640",
    "text": "We've finished fueling up our Nancy Grace Roman Space Telescope, bringing it one step closer to its targeted liftoff on Aug. 30.\n\nLearn more about the process and find out what's next for our mystery-solving mission: https://go.nasa.gov/3RWg5e8",
    "url": "https://www.facebook.com/NASA/posts/pfbid0iXwBST4TuYJaKBw1vfkt4FDEYWUf2gYyjJ5yGqnYtq5sbq9sSKDfsvPictHhNaHsl"
  },
  "source_url": "https://www.facebook.com/NASA/posts/1587860636042640/",
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which Facebook URL formats are supported?
Use HTTPS on www.facebook.com with /<page>/posts/<numeric-id> or /<page>/posts/pfbid<alphanumeric>. The input supports at most 400 characters and is not a generic profile or reel URL.

### Why can the returned URL differ from the input?
The returned post.url may be a canonical permalink. Keep source_url, post_id and returned URL together when matching the requested source record.

### Do engagement counts include the actual comments?
Counts describe source engagement fields; they are not a returned comment collection. Do not substitute comment_count for review text or a complete discussion archive.

### Does this retrieve private or restricted posts?
This route is for public supported post permalinks. Its request has no login-session selector or private-post access option.

### Where should I set the request timeout?
Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

### Can I add arbitrary parameters to the JSON body?
Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

## Available implementations
- litescrape: https://openany.si/facebook/facebook-post-details/19856c05-84b4-4bc5-a4fe-4ac694dad64a/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
