Facebook Profile Posts API
Scrape Facebook Profile Posts data with one API call. Returns a list of recent posts from a Facebook page or profile. Each post includes the post text, like count, comment count, media attachments, the publish timestamp, and the per-reaction breakdown on `post.ext.reaction_counts` (`[{type, count}]`, highest first). Facebook publishes a post's share count, and a reel's exact view count and duration, on the individual post only, not on the feed, so on a plain call `post.engagement.shares` is null on every row and `post.engagement.views` and `post.content.duration_seconds` are null on reels. Send `include=engagement` and every row is joined, in the same call, to the per-post lookup that carries them: the share count lands on each row, and the exact view count and duration on each reel. The reaction counts and the publish time the feed already carries are never replaced, and a row that links to an event rather than a post is not looked up. Cost: 1 credit for the page plus 1 credit per row filled from a fresh lookup (3 rows a page, so 4 credits at most); rows already in cache are filled for free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0 credits. Time: `include=engagement` adds 2 to 7 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds) and nothing when the rows are already cached. The response carries a `hydration` block itemising rows, lookups, cache hits, credits and milliseconds. Facebook serves this feed in small slices, so the first response is a window onto the page rather than everything it has: `pagination.page_size` reports how many posts that window held, and deeper history is a cursor walk. Send `pagination.next_cursor` back as `cursor` and repeat until `pagination.has_more` is false; each page costs 1 credit (plus the join when you ask for it), so depth is bounded by how many pages you buy. `recent_days=N` keeps only posts from the last N days and ends the walk once a page reaches older posts; it does not change the price of a page.
Last updated October 2026Maintained by the SocialCrawl team
Returns recent posts from a Facebook page or profile, each with the post text, like and comment counts, the per-reaction breakdown, media, and publish time. Share counts are null on a plain call.
Use it to pull a page's recent content by url or pageId. The optional include=engagement fills each row's share count, and a reel's exact views and duration, in the same call.
Searching 68 platforms in parallel
What can you do with the Profile Posts API?
The Profile Posts endpoint gives you structured Facebook data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/facebook/profile/posts?since=2026-09-01&url=https%3A%2F%2Fwww.facebook.com%2FMeta"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/facebook/profile/posts",
params={
'since': '2026-09-01',
'url': 'https://www.facebook.com/Meta',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/facebook/profile/posts?since=2026-09-01&url=https%3A%2F%2Fwww.facebook.com%2FMeta",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters worth sending
since=2026-09-01Returns only posts after this date, so a daily poll pays only for the pages with new posts.
Parameters
| Parameter | Required | Description |
|---|---|---|
| since | No | Only posts published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Older posts are left off the page, and the page that reaches one ends the walk: `next_cursor` is not returned and `pagination.stopped_at` is `since`. Pinned posts sit out of date order and never end the walk. The page still costs what a page costs, so a daily poll pays for the pages it walks and no more. |
| stop_at_id | No | The id (`post.id`) or URL (`post.url`) of the newest post you already hold. The page stops just before it: that post and everything after it are left off, `next_cursor` is not returned, and `pagination.stopped_at` is `known_id`. A pinned post never counts as the stop point. If it is not on this page the page is returned in full with its cursor, so keep walking. `pagination.stopped_at` is `end` when the list ran out first and `null` while there is more to walk. |
| url | No | Full URL of the Facebook page or profile to fetch posts for |
| pageId | No | Facebook profile page id |
| cursor | No | To paginate through the posts |
| include | No | Set to `engagement` (one token only) to fill `post.engagement.shares` on every row, and `post.engagement.views` and `post.content.duration_seconds` on reels, in this one call. Holds 1 credit per row (3 a page) and keeps only the rows filled from a fresh lookup: rows already in cache and rows the lookup cannot fill are refunded, and a row with no public share count stays null and is free, so a page is never more than 4 credits and the usual bill is lower. A row that links to an event rather than a post is not looked up. The join takes 2 to 7 seconds on a fresh page, never more than 12, and nothing when the rows are already cached; read `data.hydration` for the rows, the credits held and kept, and the time. Without it the call is unchanged. (engagement) |
| recent_days | No | Keep only posts published in the last N days (1 to 3650) and stop pagination once a page reaches older posts. Does not change the price of a page. |
| until | No | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`. |
What does the Facebook Profile Posts API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "facebook",
"endpoint": "/v1/facebook/profile/posts",
"data": {
"items": [
{
"post": {
"id": "1152729184082957",
"url": "https://www.facebook.com/reel/2277713513083702/",
"content": {
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"media_urls": "https://scontent-lga3-1.xx.fbcdn.net/v/t15.5256-10/832662077_1745304503394391_8093661530441784354_n.jpg?stp=dst-jpg_p565x565_tt6&_nc_cat=103&ccb=1-7&_nc_sid=d2b52d&_nc_ohc=NDpCrzBK770Q7kNvwGyaeJt&_nc_oc=AdrlDwjddcMXqYC3gX6XsTrZH9z3JR3ee1h_h5iPdUL9ECVaeUwmhJJEmPO0gopqyhg&_nc_zt=23&_nc_ht=scontent-lga3-1.xx&_nc_gid=MjqYFXS4EsUT7fF7gV3ocQ&_nc_ss=78289&oh=00_AQMiv1syHdc2xvm30zds_d5trO179vjqkC_6qS9P7TLoXQ&oe=6AC5130A",
"thumbnail_url": "https://scontent-lga3-1.xx.fbcdn.net/v/t15.5256-10/832662077_1745304503394391_8093661530441784354_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=103&ccb=1-7&_nc_sid=be8305&_nc_ohc=NDpCrzBK770Q7kNvwGyaeJt&_nc_oc=AdrlDwjddcMXqYC3gX6XsTrZH9z3JR3ee1h_h5iPdUL9ECVaeUwmhJJEmPO0gopqyhg&_nc_zt=23&_nc_ht=scontent-lga3-1.xx&_nc_gid=MjqYFXS4EsUT7fF7gV3ocQ&_nc_ss=78289&oh=00_AQPNf5IOq8IR_YiMnPpsA9ilDVJU5hDGRMgC8AQY_Fvxkw&oe=6AC5130A",
"duration_seconds": null
},
"author": {
"username": null,
"display_name": "Meta",
"avatar_url": null,
"verified": null
},
"engagement": {
"views": null,
"likes": 666,
"comments": 191,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false
},
"published_at": "2026-10-01T16:17:21.000Z",
"ext": {
"author_id": "user_9cf871",
"published_at_epoch": 1790871441,
"reaction_counts": [
{
"type": "like",
"count": 561
},
{
"type": "love",
"count": 84
}
],
"feedback_id": "ZmVlZGJhY2s6MTE1MjcyOTE4NDA4Mjk1Nw=="
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null,
"vs_creator": {
"ratio": null,
"metric": "likes",
"reason": "too_young"
}
}
},
{
"post": {
"id": "1151655277523681",
"url": "https://www.facebook.com/reel/1737837581070505/",
"content": {
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"media_urls": "https://scontent-lga3-3.xx.fbcdn.net/v/t15.5256-10/830096675_1581575039848247_6418634667320817606_n.jpg?stp=dst-jpg_p552x414_tt6&_nc_cat=102&ccb=1-7&_nc_sid=d2b52d&_nc_ohc=MikVnzHxCtMQ7kNvwF5Wlzv&_nc_oc=AdqFvEv4rM_9wvNx35Lpz6NrivM-TGsYbrkNRtbfR0sqmcqj0k2uHr_jD_K27NQ0mbI&_nc_zt=23&_nc_ht=scontent-lga3-3.xx&_nc_gid=MjqYFXS4EsUT7fF7gV3ocQ&_nc_ss=78289&oh=00_AQMvH1vCUl5wxaWGOy1DLqCVaqxlAyQdmnWgHKimeTEZYw&oe=6AC51880",
"thumbnail_url": "https://scontent-lga3-3.xx.fbcdn.net/v/t15.5256-10/830096675_1581575039848247_6418634667320817606_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=102&ccb=1-7&_nc_sid=be8305&_nc_ohc=MikVnzHxCtMQ7kNvwF5Wlzv&_nc_oc=AdqFvEv4rM_9wvNx35Lpz6NrivM-TGsYbrkNRtbfR0sqmcqj0k2uHr_jD_K27NQ0mbI&_nc_zt=23&_nc_ht=scontent-lga3-3.xx&_nc_gid=MjqYFXS4EsUT7fF7gV3ocQ&_nc_ss=78289&oh=00_AQNeX4q0KidhNnAqjLmZVk25rM9Md0o126DMcN9etb7BEA&oe=6AC51880",
"duration_seconds": null
},
"author": {
"username": null,
"display_name": "Meta",
"avatar_url": null,
"verified": null
},
"engagement": {
"views": null,
"likes": 2199,
"comments": 435,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false
},
"published_at": "2026-09-30T16:09:30.000Z",
"ext": {
"author_id": "user_9cf871",
"published_at_epoch": 1790784570,
"reaction_counts": [
{
"type": "like",
"count": 1854
},
{
"type": "love",
"count": 257
}
],
"feedback_id": "ZmVlZGJhY2s6MTE1MTY1NTI3NzUyMzY4MQ=="
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null,
"vs_creator": {
"ratio": null,
"metric": "likes",
"reason": "too_young"
}
}
}
],
"next_cursor": "sc2.eyJzIjoiYiIsImMiOiJDZzhPYjNKbllXNXBZMTlqZFhKemIzSUpBQUFDbWtGUlNGUm9iWGMyTXkxR1MyazJiV0Z4TWtNdFJFOVpNbXRZU25SZmFHVkJVVjlhYUVnd2FVVm5aMDEyVmpCcldXYzBialpxWjBrMlFVaFFRV0ZvZVVoNmRUWlNaVlY1Ykc1Qk0yMUphR3BHUW1sMFdGQTBRMDl3TW1wemIxUXhRbWhuUTBwR1lXbG5kM0pzWHpneE0wNXRjVlJQY3pGNlFUWlZXRzVUUkV0V2FGcFljMmgyVVVremNEWm1RVWhIU0VWV1VtTk1iMVJCWVUxMlVHNXpiVVpEVkRCVFpqRjNUMWhmY0dWd2JGSXlUbkJhWm5acmFGUm5jekV6V0ZOM1NIY3paR1ZTWTBKNFpHRnRWbWRaVVZSbmJXbHZTWFU0WjAxa1VVdHVhMGh4UTBKdFlXeEtaazVqYjI5MmRrb3RlVTlZWTNKdWNqbFVVa0ZyTlhoWFpIcG1TSFJIYzBwM1l6WkJXVVpaYkRaTGEyTkdlbTFvTkhwUU5rNXZOSFI0U0cxbWNHMXFSRTl4UXpCeGVGcEpablJmYzBOS2VWTXhkMTkxUlY5U05Gb3plamgwUkZJNVpVNHdVa2xVYW1GWlNtMWpNR2N5TUc5R01GVXRja3hxVkdGa1J6ZGZSMmQyVWpCMFluSlhkMVpzTmxRMVJGWnlURTFEY0hKRVYybDJkV05NWTB0NFExRk9TbGwzWmt4ek5VWjVlSGhYUVhkSmEzbG5PWEZ0Tm5sNlJrbzNia0pLTlZkSWNsWjRNVWh6YUc1RlRUUkxRazA1WkhsVU4wdHRaV1pLTUZvMVJXdGZTMTl2UVhoR1prRkJWa3RTVDB0cVoyUmZkREZLU0c5YWMwd3daWGRoYldzeFpUUkVVRGR3YlRWSlVXSjJObGc0U0hJNWNISkRaMDFNYUVGWVUxcDVlalJUYUhGQlpFUm5TREphUkVKRVJrVm9UWGhaTmpGb1FtNWxXRkJ2U2tkclpEaDNkSHBKY1RoVFNHbHNUWGx0U1RSU05rRjBjSEJzV0VWUmRVTlZZV2g1WlVkQmVGcEhNREY2YmxFNFRraEZjbVZPY3pKV2FXTjRaRGxaV21oV01TMTZjamMwVGxSSU5rWTJaV053VjNCSmJuSXhNelJtYzNSb05XVkdaelF5WjBOVGRGRXpWbW94WmxOQ2RFdEhWRmcyWnc4SllXUmZZM1Z5YzI5eURnOFBaMnh2WW1Gc1gzQnZjMmwwYVc5dUFnQVBCbTltWm5ObGRBSUFEeEJzWVhOMFgyRmtYM0J2YzJsMGFXOXVBdjhCIn0",
"total": null,
"creator_baseline": {
"baseline": null,
"reason": "fewer_than_eight",
"rows_used": 1,
"cadence": "measured"
},
"dropped": 0
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": "sc.eyJ2IjoyLCJjIjoic2MyLmV5SnpJam9pWWlJc0ltTWlPaUpEWnpoUFlqTktibGxYTlhCWk1UbHFaRmhLZW1JelNVcEJRVUZEYld0R1VsTkdV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cExUVVp2TVZKWGRHWlRNVGwyVVZob1IxcHJSa0pXYTNSVFZEQjBjVm95VW1aa1JFWkxVMGM1WVdNd2QzZGFXR1JvWWxkemVGcFVVa1ZWUkdSM1lsUldTbFZYU2pKT2JHYzBVMGhKTldOSVNrUmFNREZOWVVWR1dWVXhjRFZsYWxKVVlVaEdRbHBGVW01VFJFcGhVa1ZLUlZKclZtOVVXR2hhVG1wR2IxRnROV3hYUmtKMlUydGtjbHBFYUROa1NIQktZMVJvVkZOSGJITlVXR3gwVTFSU1UwNXJSakJqU0VKelYwVldVbVJWVGxaWlYyZzFXbFZrUW1WR2NFaE5SRVkyWW14Rk5GUnJhRVpqYlZaUFkzcEtWMkZYVGpSYVJHeGFWMjFvVjAxVE1UWmphbU13Vkd4U1NVNXJXVEphVjA1M1ZqTkNTbUp1U1hoTmVsSnRZek5TYjA1WFZrZGFlbEY1V2pCT1ZHUkdSWHBXYlc5NFdteE9RMlJGZEVoV1JtY3lXbmM0U2xsWFVtWlpNMVo1WXpJNWVVUm5PRkJhTW5oMldXMUdjMWd6UW5aak1td3dZVmM1ZFVGblFWQkNiVGx0V201T2JHUkJTVUZFZUVKeldWaE9NRmd5Um10WU0wSjJZekpzTUdGWE9YVkJkamhDSW4wIiwiZSI6ImZhY2Vib29rL3Byb2ZpbGUvcG9zdHMiLCJwIjoiY3Vyc29yIn0",
"has_more": true,
"page_size": 3,
"stopped_at": null
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T07:25:29.029Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Facebook Profile Posts API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.
One schema, every platform
Query 68 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usHow do I list posts from a Facebook page?
What fields does each post include?
How do I paginate through older posts?
Can I use pageId instead of the page URL?
Does the endpoint return video posts and reels?
What does include=engagement cost and how long does it take?
Ask AI about SocialCrawl
Ready to scrape Facebook Profile Posts data?
Get your API key and start pulling Facebook data in under 60 seconds.
