↑ ↓ to move ↵ to open
Facebook API · Endpoint

Facebook Page Posts API

List a page's recent posts with text, post time, reactions by type, comments and shares.

  • 1 credit per call
  • Failed calls are free
  • Updated
  • facebook.page-posts.list
Response completed
{  "total_items": 20,  "items": [    {      "text": "Andrew Bosworth, aka Boz, talks all things AI agents, AI wearables, and the future of entertainment in 60 seconds.",      "comment_count": 509,      "created_time": 1790871441,      "post_id": "1152729184082957",      "share_count": 97,      "url": "https://www.facebook.com/Meta/videos/2277713513083702/",      "reactions": {        "angry": 5,        "care": 40,        "haha": 4,        "like": 1447,        "love": 203,        "wow": 5      }    },    {      "text": "meet Meta VR Glasses. the result of more than a decade of innovation—a cinema, stadium, workspace, and console. all lighter than a deck of …",      "comment_count": 558,      "created_time": 1790784570,      "post_id": "1151655277523681",      "share_count": 231,      "url": "https://www.facebook.com/Meta/videos/1737837581070505/",      "reactions": {        "angry": 10,        "care": 60,        "haha": 9,        "like": 2439,        "love": 324,        "sad": 1,        "wow": 27      }    }  ]}
Try it live, free
Input

What you send

The input object of the request, with every field the endpoint accepts.

FieldTypeRequiredWhat it doesExample
url string yes The page's link. https://www.facebook.com/Meta
limit integer no How many posts to return. A page shows visitors about its 20 latest posts.
Response

Fields it returns

What each record in the response holds, with the values from the sample above.

FieldTypeWhat it isExample
items[].text string The post's text. Andrew Bosworth, aka Boz, talks all things AI agents, AI wearab…
items[].reactions.like integer Like reactions. 1447
items[].reactions.love integer Love reactions. 203
items[].comment_count integer Comments, as Facebook shows them. 509
items[].share_count integer Shares, as Facebook shows them. 97
items[].created_time integer When it was posted, as a Unix time in seconds. 1,790,871,441
items[].url string The post's link. https://www.facebook.com/Meta/videos/2277713513083702/
items[].post_id string Facebook's ID for the post. 1152729184082957
items[].reactions object Reactions by type, as Facebook shows them. 6 fields
items[].reactions.angry integer Angry reactions. 5
items[].reactions.care integer Care reactions. 40
items[].reactions.haha integer Haha reactions. 4
items[].reactions.wow integer Wow reactions. 5
items array The page's posts. 20 records
total_items integer How many posts this answer holds. 20
REST API · MCP server

Call it from your code, or ask your agent

Set UPSCRAPE_API_KEY to your key and copy a working request.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "facebook.page-posts.list",  "input": {    "url": "https://www.facebook.com/Meta"  }}'
In your AI agent Claude · Cursor · any MCP client
1Add the Upscrape MCP server
https://data.upscrape.com/mcp
2Ask for the data in plain words

With Upscrape, get Meta's latest Facebook posts and make a table of text, likes, comments and shares. Which posts got the most likes?

The agent finds the endpoint, shows you the price, and runs it with your credits.
Facebook

More from the Facebook API

Same data, other platforms

The same data from other platforms

Questions

Facebook Page Posts API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
How much does the Facebook Page Posts API cost?

1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.

What do I send?

Send url. The input fields below list every option with its type and limits.

Do I need a Facebook login?

No. It reads public Facebook data; nothing runs on your account.

Can my AI agent call it?

Yes, over MCP: the agent finds facebook.page-posts.list, checks its price and runs it with the same credits as the REST API.

Get started

Your first Facebook call is free.

Up to 100 free credits to start, no card needed.