To export the comments of a public Facebook post or reel, send the post URL to one REST endpoint and you get the comments back as JSON, one page at a time with a cursor. A second endpoint loads the replies under a single comment. You do not need a Facebook app, a page access token or admin rights on the page, and each successful call is billed on its own.
| Endpoint | What it returns | Credits/call | USD/call (Freelance plan) |
|---|---|---|---|
/v1/facebook/post_comments | Comments | 1 | $0.0017 |
/v1/facebook/post_comment_replies | Comment Replies | 1 | $0.0017 |
/v1/facebook/post_commentsComments 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | no | Facebook post URL (or reel URL) |
feedback_id | string | no | Using feedback_id (instead of url) will *really* speed up the request. You can get the feedback_id when you make a request to /v1/facebook/post. |
next_cursor | string | no | Cursor to get more comments. Get 'cursor' from previous response. |
Sample response (trimmed):
{
"comments": [
{
"id": "Y29tbWVudDoxMjA2OTAzNjAxNDgzOTYwXzc3OTIzNDI4MTE0NjkzNQ==",
"text": "Do 1/2 mini Oreos and 1/2 peanut butter ritz Bitz, otherwise the same recipe. It’s the BEST",
"created_at": "2025-09-01T01:10:40.000Z",
"reply_count": 1,
"reaction_count": 95,
"reactions": {
"thankful": 0,
"like": 79,
"love": 4,
"care": 0,
"haha": 1,
"wow": 11,
"sad": 0,
"anger": 0,
"pride": 0,
"confused": 0
},
"author": {
"id": "pfbid02SdzVLPYTHY2eGMdrwFrLw54sVZdguAGnLUj4RPL3HxFtG2D4PBBjptiMEwpB21Ehl",
"name": "Robin Bergsagel",
"gender": "FEMALE",
"short_name": "Robin"
}
}
],
"next_cursor": "MToxNzc2NDYxMjMwOgF......",
"has_next_page": true
}/v1/facebook/post_comment_repliesComment Replies 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback_id | string | yes | The *feedback_id* of the comment. Be careful, this is not the comment id. You can get the feedback_id from the /v1/facebook/post/comments endpoint. |
expansion_token | string | yes | The expansion_token of the comment. You can get the expansion_token from the /v1/facebook/post/comments endpoint. |
next_cursor | string | no | The cursor to paginate to the next page |
curl -H "X-Scapi-Key: $SCAPI_KEY" "https://api.scrapall.bipsport.com/scapi/v1/facebook/post_comments"import os, requests
r = requests.get("https://api.scrapall.bipsport.com/scapi/v1/facebook/post_comments",
headers={"X-Scapi-Key": os.environ["SCAPI_KEY"]})
print(r.json())Call the comments endpoint with the public post or reel URL, or with its feedback_id, and your API key in the header. Each response holds one page of comments with the id and text of each comment. Pass next_cursor to load the next page.
Yes. The comment replies endpoint takes the feedback_id and expansion_token of a comment and returns its replies with cursor pagination. Each reply includes an attachments array for images and other media.
No. Only public posts and reels are read, so you do not need admin rights, a Facebook app or a Graph API token. You only need a Scrapall API key.
Yes. The comments endpoint accepts the URL of a public post or a public reel, and paginates the same way for both.
Each successful page request is billed from your credit balance. The exact cost per endpoint is shown in the cost table on this page and comes from the live price list.
Open the Buy page, pick the Freelance plan and pay in USDT on TRC20 or ERC20. The key is shown once, right after the payment is confirmed on-chain.
The cost table on this page lists credits per call for each endpoint. The Freelance plan is $45 for 27,000 credits per 30 days.
Full reference: all facebook endpoints.