Platforms · Facebook

Facebook Profile Posts Scraper API

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. 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.

GET /api/v1/data/facebook/profile-posts · 1 credit per page · The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Inputs

  • since: Only posts published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp.
  • stop_at_id: 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.
  • url: Full URL of the Facebook page or profile to fetch posts for. A profile share link (`https://www.facebook.com/share/…`) is accepted.
  • pageId: Facebook profile page id
  • cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.
  • until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • count (integer): How many posts this answer holds.
  • posts[].id (string): The item's ID on the platform.
  • posts[].url (string): Link to it on the platform.
  • posts[].text (string): Its text.
  • posts[].published_at (string): When it was published (ISO 8601).
  • posts[].language (string): Its language code.
  • posts[].deleted (boolean): Whether it was deleted.
  • posts[].author_id (string): The author's ID on the platform.
  • posts[].author_username (string): The author's username.
  • posts[].author_name (string): The author's display name.
  • posts[].like_count (number): Likes.
  • posts[].comments_count (number): Comments.
  • posts[].share_count (number): Shares or reposts.
  • posts[].view_count (number): Views.
  • posts[].media[].url (string): Its media.
  • posts[].media[].thumbnail_url (string): Its media's thumbnail.
  • posts[].media[].duration_seconds (number): Its video's length in seconds.
  • posts[].content_type (string): What it is: post.
  • posts[].platform (string): The platform's name.
  • posts[].source_data (object): Everything the platform sent for this row, as it came.
  • posts[].source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • posts[].source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • posts[].source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • posts[].source_data.computed.language (string): ISO 639-1 language code detected from the post text. Null when undetectable.
  • posts[].source_data.computed.save_rate (number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.
  • posts[].source_data.computed.vs_creator (object)
  • posts[].source_data.post.author.display_name (string): Author display name
  • posts[].source_data.post.author.username (string): Author username
  • posts[].source_data.post.content.duration_seconds (number): Video/clip duration in seconds (null for non-video posts)
  • posts[].source_data.post.content.media_urls (any): URL(s) of the primary media. Single string for video/photo posts; array of strings for carousels.
  • posts[].source_data.post.content.text (string): Post caption, description, or text content
  • posts[].source_data.post.content.thumbnail_url (string): URL to thumbnail image
  • posts[].source_data.post.engagement.comments (number): Comment count. Both land on this same field.
  • posts[].source_data.post.engagement.likes (number): Like / reaction count
  • posts[].source_data.post.engagement.shares (number): Share / repost / retweet count.
  • posts[].source_data.post.engagement.views (number): View count (if available). For Instagram video/reels this is the play count: the headline 'Views' the IG app shows. Note: since mid-July 2026 Instagram's play count is Instagram-only. It no longer includes Facebook crosspost views (Meta-side change; the app UI changed identically).
  • posts[].source_data.post.ext.author_id (string): The creator's platform-native numeric user id.
  • posts[].source_data.post.ext.feedback_id (string)
  • posts[].source_data.post.ext.published_at_epoch (number): Kept for one deprecation cycle for integrations pinned to the numeric form.
  • posts[].source_data.post.ext.reaction_counts (array): Reaction counts by type.
  • posts[].source_data.post.flags.deleted (boolean): Whether the post is tombstoned (always present)
  • posts[].source_data.post.id (string)
  • posts[].source_data.post.published_at (any): Post creation timestamp as an ISO 8601 UTC string.
  • posts[].source_data.post.url (string)
  • next_cursor (string): Send it as cursor to get the next page; null when there is none.
  • has_more (boolean): Whether there is another page.

Good to know

  • The price depends on what the call returns: from 1 credit to 4 credits.
  • Each call returns one page of about 3 posts. To get the next page, send next_cursor from the answer as cursor.
  • The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.
  • Send one of: url, pageId.

Example call

GET /api/v1/data/facebook/profile-posts?since=2026-09-01&url=https%3A%2F%2Fwww.facebook.com%2FMeta

Questions

How much does the Facebook Profile Posts API cost?

Each page costs 1 to 4 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.

What do I send?

Give one of url and pageId. 5 more inputs are optional: since, stop_at_id, url, pageId and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How do I get the next page?

Each call returns one page of about 3 rows. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.

How fresh is the data?

The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Do I need a Facebook account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related Facebook endpoints

  • Profile: Get Facebook page profile. 1 credit a call
  • Profile Events: List a Facebook page's events. 1 credit a page
  • Profile Full: Facebook profile, recent posts, and computed analytics in one call. 5 credits a page
  • Profile Photos: List Facebook profile photos. 1 credit a page
  • Profile Reels: List Facebook profile reels. 1 credit a page
  • Profile Reels Full: Facebook profile reels with exact views, likes, comments, and shares merged in, in one call. 5 credits a page

More Facebook scraper APIs