Facebook API

Facebook Profile posts API

List a page’s recent posts by URL or page id with cursor pagination: text, author and permalink.

POST/v1/run/facebook.profile_posts
Uptime
100.00%
30d · 3,104 calls
Requests
3,114
30d · weekly, last 12 wks
Response
3.1s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "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"
      }
    ]
  }
}
Response interface
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 30d
POST /v1/run/facebook.profile_posts
curl -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"}'
FieldTypeExample value
Request body
cursorstringPagination cursor from a previous response.
pageIdstringFacebook page id.
urlstring"https://www.facebook.com/nasa"Full Facebook page/profile URL.
Response
foundbooleantrue
dataobject
data.postsarray
data.posts[].idstring"1204545088344463"
data.posts[].textstring"Watch live as our crew returns home from the International Space Station."
data.posts[].urlstring"https://www.facebook.com/nasa/posts/1204545088344463"
data.posts[].authorstring"NASA"
Price
Price per requestUSD$0.0012
Price /1k reqUSD$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.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List a page’s recent posts by URL or page id with cursor pagination: text, author and permalink. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

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. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.