Facebook · Posts and media

Facebook Group Posts Scraper API

The Facebook Group Posts endpoint is one API call: send either a URL or a group ID with your HProxy key and get back a clean, structured JSON object. Pull the posts inside a public Facebook group, page by page, with author, text, media and engagement on every one. HProxy runs the proxies, sessions, anti-bot handling and parsing server-side, so there is no headless browser to babysit and no parser to keep fixing when Facebook changes its markup. You only ever touch the JSON. Longer result sets come back page by page with a cursor, so you can walk the whole set without holding it in memory.
  • 0.15¢ per call
  • $1.49 per 1,000
  • Takes either a URL or a group ID
  • Errors and timeouts are not charged

The call

One GET, and the group posts comes back as JSON.

Your key goes in one header. 1 required parameter, and the answer is the object below it.

The full reference
curl "https://hproxy.com/api/v1/scrape/facebook/group-posts?url=https%3A%2F%2Fwww.facebook.com%2Fnasa" \
  -H "X-API-Key: hpx_your_key_here"
Response200 OK · JSON
{
  "posts": [
    { "id": "88120...", "text": "we just shipped something big",
      "author": { "username": "@handle" },
      "media": [ { "type": "photo", "url": "https://.../img.jpg" } ],
      "stats": { "reactions": 4120, "comments": 214, "shares": 88 },
      "createdAt": "2026-07-28T11:04:00Z" }
  ],
  "cursor": "eyJwYWdlIjoyfQ"
}

What comes back

The Facebook group posts object.

posts[]
Each post with text, media and permalink.
author
Poster handle, ID and display name.
stats
Reactions, comments and shares per post.
createdAt
Publish timestamp, so you can sort and dedupe.

What it takes

Parameters.

Send any one of url, group_id. url or group_id required

urlurlhttps://www.facebook.com/nasa

Target URL (profile, post or video).

group_idstring1234567890

Identifier from a previous response.

sort_bystringTOP_POSTS

Ordering to apply to the results. Allowed values: `TOP_POSTS`, `RECENT_ACTIVITY`, `CHRONOLOGICAL`, `CHRONOLOGICAL_LISTINGS`.

cursorstring0

Pagination token from the previous response.

How it works

Scraping Facebook group posts, in three steps.

You write one line. Proxies, anti-bot walls, rendering and parsing happen on our side.

  1. 1

    Create a free account

    Sign up and top up any amount. The balance pays for every HProxy product.
  2. 2

    Grab your API key

    One key from the dashboard authenticates every scraper.
  3. 3

    Call the endpoint

    Send the GET you need and read the JSON. That is the entire integration.

What people build with it

Where the Facebook group posts endpoint earns its keep.

  • Track everything an account publishes, automatically.
  • Feed a content archive or compliance record.
  • Benchmark posting cadence and engagement against rivals.

Facebook group posts questions

Answered before you ask.

The reference

Send one authenticated HTTPS request to the Facebook Group Posts endpoint with either a URL or a group ID and your HProxy API key. Pull the posts inside a public Facebook group, page by page, with author, text, media and engagement on every one. No proxies, no headless browser and no parsing on your side. The response is ready-to-use JSON.

This endpoint is 0.15¢ per successful call, which is $1.49 per 1,000. It bills from your HProxy balance with no subscription and no monthly minimum. Errors are retried and never charged; a lookup whose target does not exist counts as a call.

No. Every call runs on HProxy's own residential network behind the scenes, so requests look like real users. The proxy layer is already included in the per-call price.

A structured JSON object with the full group posts data Facebook exposes publicly. See the fields listed above. The schema is consistent across calls, so you integrate once and rely on it.

Yes. The response carries a cursor; pass it back on the next call to continue from where you stopped. Each page is one billable call, so you only pay for the depth you actually pull.

The API only accesses publicly available Facebook data, the same pages anyone can open in a browser. You are responsible for using the data in line with applicable laws and Facebook's terms for your use case.

More on the Facebook Group Posts API

What the Facebook Group Posts endpoint returns

Pull the posts inside a public Facebook group, page by page, with author, text, media and engagement on every one. The JSON object carries posts[], author, stats and createdAt. Nothing is summarised away on our side, so what you read in the response is what the Facebook group posts page itself holds.

What you send to the Facebook Group Posts API

The call takes either a URL or a group ID, and any one of url and group_id satisfies it. Optional: url, group_id, sort_by and cursor. Your key travels in the X-API-Key header, the response is JSON, and the call is billed at 0.15¢, $1.49 per 1,000.

Posts and media on other platforms

The same posts and media data is available on 13 other platforms: YouTube Community Post, Instagram Post, LinkedIn Company Posts, Reddit Subreddit Posts, Threads User Posts, Bluesky User Posts, Truth Social User Posts, TikTok Video, Twitter / X User Tweets, Pinterest Pin, Twitch User Videos, Spotify Track and Kick Clip. They share this endpoint's JSON shape, its per-call billing and your one API key, so moving from Facebook to another network is a change of URL rather than a second integration.

Is scraping Facebook group posts allowed?

The endpoint reads publicly available Facebook data, the same pages anyone can open in a browser without logging in. It does not touch private accounts or anything behind a password. How you then use the data is yours to keep lawful, under the rules that apply to you and to Facebook.

Ready when you are.

Your dashboard is ten seconds away. No sales call, no subscription, no minimum.