Platforms/Facebook/Profile posts

Facebook Profile Posts API

GET ยท 1 credit

Send a profile's or Page's handle or link, and get its posts, newest first, 3 a page, with their counts, photos and videos.

GET /v1/facebook/profiles/posts

What people use it for

  • Content analysis: see what a Page posts, when, and which posts get the most reactions, comments and shares.
  • Competitor tracking: follow competitors' Pages and compare their output and engagement week by week.
  • Alerts: call it on a schedule and act on posts you haven't seen before.
  • Media research: collect the photos and video files a Page shares on a topic.

How it works with other endpoints

Start from a handle or link, the same one Profile takes. Each post's id goes to Post comments, and its url to Post to read it again later. For a Page's reels tab, use Profile reels.

Limits

  • 3 posts a page, newest first, as many as Facebook shows a logged-out visitor.
  • Views are rounded by Facebook in lists (127K).
  • A profile only logged-in users can see answers 403 LOGIN_REQUIRED; one that doesn't exist answers 404 NOT_FOUND.

Example request

const url = `${process.env.API_URL}/v1/facebook/profiles/posts?handle=uniladmag`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
handleNoA profile's or Page's handle: the part of its link after facebook.com/ (uniladmag), or its id. Give handle or url.
urlNoA profile's or Page's link: facebook.com/<handle>, /profile.php?id=<id> or /people/<name>/<id>. Give handle or url.
cursorNoFor the next page: page.next_cursor from the page before. Send the other parameters again with it.

Example response

{
  "data": [
    {
      "id": "1210584347757395",
      "url": "https://www.facebook.com/uniladmag/posts/pfbid02h8QyMzZrMtHks9iU7oneNe4yTKMzNPynvA9WYMedK7eLjU422HD6u3dfmvmgT5QQl",
      "text": "The moment this dog realised it was going to the park.",
      "created_at": "2026-11-28T18:04:00Z",
      "author": "UNILAD",
      "author_id": "146505212039213",
      "author_url": "https://www.facebook.com/uniladmag",
      "likes": 18400,
      "comment_count": 912,
      "shares": 2300,
      "views": 1200000,
      "image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/post-thumbnail.jpg",
      "video_id": "1822818806556447",
      "video_url": "https://video.xx.fbcdn.net/v/t42.1790-2/video.mp4",
      "duration_seconds": 21.4
    }
  ],
  "page": {
    "next_cursor": "eyJhZnRlciI6IkFRSGFYIn0",
    "has_more": true
  },
  "meta": {
    "platform": "facebook",
    "endpoint": "profile_posts",
    "params": {
      "handle": "uniladmag"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-29T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

How many posts can I get?

As many as Facebook shows a logged-out visitor on the profile, 3 a page. Send page.next_cursor as the cursor parameter until page.has_more is false.

Does it include videos?

Yes. A post with a video carries its video_id, its MP4 file in video_url and its length in duration_seconds. For a Page's reels tab, use Profile reels.

Are the counts exact?

Reactions, comments and shares are the numbers Facebook gives. Views on videos are rounded by Facebook in lists, such as 127K.

How do I get each post's comments?

Send a post's id to Post comments as post_id, or its url as url.

Works with

On other platforms

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required