<p class="crumbs"><a href="/apis/">Data APIs</a> / <a href="/apis/facebook/">Facebook</a></p>

# Facebook post API

One public post: text, image, author, time, reactions, comments, shares and views.

| Item | Value |
| --- | --- |
| Endpoint | `GET https://api.feedmcp.com/v1/facebook/posts/get` |
| ID | `facebook.posts.get` |
| Price | **$0.002** / call |
| Returns | One Post object |
| Auth | `Authorization: Bearer $FEEDMCP_API_KEY` |

> Facebook posts have no ID you can use alone, so pass the link (`url` in a page post list).

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | Post link (facebook.com/…/posts/… or /reel/…) |

Every endpoint also takes `view=full` to include the platform's raw data as `raw`, at the same price.

## Returned fields

`data.item` is one Post object, with the same fields on every platform:

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The platform ID, which the platform's detail endpoint takes: TikTok or Douyin video ID, YouTube video ID, Instagram or Threads code, X post ID, Telegram "channel/number", Reddit short ID, LinkedIn activity number, Pinterest pin number, Kuaishou 3x… video ID, WeChat Channels object ID, Zhihu answer, question or article ID, Xiaohongshu note ID, BV ID, Weibo ID or article ID |
| `platform` | string | Platform: tiktok, youtube, instagram, x, threads, telegram, reddit, linkedin, facebook, pinterest, xiaohongshu, douyin, kuaishou, wechat_mp, wechat_channels, weibo, zhihu or bilibili |
| `type` | string | video, note, article, post (Weibo, X, Threads, Telegram, Reddit, LinkedIn, Facebook, Pinterest, Instagram photos), question or answer (Zhihu) |
| `url` | string | Link to the original |
| `title` | string \| null | Title (YouTube, Reddit, Pinterest, Bilibili, Xiaohongshu and WeChat; for a Zhihu answer, its question; null elsewhere) |
| `text` | string \| null | Body text or caption |
| `created_at` | string \| null | Published at, ISO 8601, UTC |
| `author.id` | string \| null | Author ID; pass it straight to that platform's account endpoints |
| `author.name` | string \| null | Author name |
| `metrics.views` | number \| null | Views or plays (null when the platform hides it) |
| `metrics.likes` | number \| null | Likes (score on Reddit, total reactions on Facebook) |
| `metrics.comments` | number \| null | Comments |
| `metrics.shares` | number \| null | Shares or reposts (reposts on X) |
| `metrics.quotes` | number \| null | Quotes (X and Threads) |
| `metrics.reactions` | number \| null | Total reactions (Telegram only) |
| `metrics.answers` | number \| null | Answers (Zhihu questions only) |
| `metrics.upvote_ratio` | number \| null | Upvote ratio from 0 to 1 (Reddit only) |
| `metrics.repins` | number \| null | Repins (Pinterest only) |
| `metrics.favorites` | number \| null | Saves (bookmarks on X, saves on Pinterest) |
| `cover` | string \| null | Cover image URL |
| `duration_seconds` | number \| null | Video length in seconds |
| `tags` | string[] | Hashtags (the flair on Reddit) |
| `community` | string \| null | Subreddit (Reddit only) |
| `link` | string \| null | The page a pin links to (Pinterest only) |

## When you are charged

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

Each answer carries `meta.billing`: what this call cost and the balance left.

## Request

### cURL

```bash
curl "https://api.feedmcp.com/v1/facebook/posts/get?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F3832492553549551%2F" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/facebook/posts/get",
    params={"url": "https://www.facebook.com/reel/3832492553549551/"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())
```

### JavaScript

```js
const res = await fetch("https://api.feedmcp.com/v1/facebook/posts/get?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F3832492553549551%2F", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

From an AI with FeedMCP installed, the `call` tool:

```json
{
  "endpoint": "facebook.posts.get",
  "params": {
    "url": "https://www.facebook.com/reel/3832492553549551/"
  },
  "max_price": "0.002"
}
```

## Response

The data below is made up; the shape is the real one.

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "item": {
      "id": "1690599575768745",
      "platform": "facebook",
      "type": "post",
      "url": "https://www.facebook.com/campnews/posts/pfbid0mock",
      "title": null,
      "text": "Beauty in chaos",
      "created_at": "2026-11-17T22:03:34.000Z",
      "author": {
        "id": "campnews",
        "name": "Camp News",
        "avatar": "https://scontent.xx.fbcdn.net/a.jpg"
      },
      "metrics": {
        "views": null,
        "likes": 2403,
        "comments": 80,
        "shares": 245
      },
      "cover": "https://scontent.xx.fbcdn.net/p.jpg",
      "duration_seconds": null
    }
  },
  "page": null,
  "warnings": [],
  "meta": {
    "endpoint": "facebook.posts.get",
    "platform": "facebook",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

Errors are described in [Errors](/docs/errors/): each says whether you were charged (`charged`) and whether to retry (`retry`).

## Other Facebook endpoints

- [Facebook page](/apis/facebook/pages/get/)：$0.002
- [Facebook page posts](/apis/facebook/pages/posts/list/)：$0.002
- [Facebook post comments](/apis/facebook/posts/comments/list/)：$0.002

## Questions

### How much does the Facebook post endpoint cost?

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

### Do I need a platform account?

No. Only public data is read.

### Where do I find the ID or link?

A public page is the name or number after facebook.com/, or the page link; a post takes its link.

### How do I use it from an AI?

Install the [MCP server](/mcp/) and ask; your AI calls `facebook.posts.get`.

---

HTML version: https://feedmcp.com/apis/facebook/posts/get/
