Facebook Profile posts API
List a page’s recent posts by URL or page id with cursor pagination: text, author and permalink.
Provider network
Providers ranked by traffic
Try it
Make your first request
{
"found": true,
"data": {
"posts": [
{
"id": "1204545088344463",
"text": "Watch live as our crew returns home from the International Space Station.",
"url": "https://www.facebook.com/nasa/posts/1204545088344463",
"author": "NASA"
}
]
}
}interface FacebookProfilePostsResponse {
data: {
nextCursor: string | null;
posts: {
author: string;
createdUtc: number;
id: string;
media?: {
height?: number;
type: string;
url: string;
videoUrl?: string;
width?: number;
}[];
text: string;
url: string;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/facebook.profile_posts \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.facebook.com/nasa"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| cursor | string | Pagination cursor from a previous response. |
| pageId | string | Facebook page id. |
| url | string | "https://www.facebook.com/nasa"Full Facebook page/profile URL. |
| Response | ||
| found | boolean | true |
| data | object | |
| data.posts | array | |
| data.posts[].id | string | "1204545088344463" |
| data.posts[].text | string | "Watch live as our crew returns home from the International Space Station." |
| data.posts[].url | string | "https://www.facebook.com/nasa/posts/1204545088344463" |
| data.posts[].author | string | "NASA" |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the Facebook Profile posts API
The AnyAPI Facebook Profile posts API returns Facebook profile posts data as normalized JSON from one POST call to /v1/run/facebook.profile_posts. List a page’s recent posts by URL or page id with cursor pagination: text, author and permalink. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Facebook profile posts calls through AnyAPI succeeded, with a median response time of 3.1 seconds across 3,104 measured calls.