Skip to content

Comments

GET /v1/facebook/post/comments

Fetches comments from a Facebook post or reel with cursor-based pagination. Each comment includes id, text, created_at, reply_count, reaction_count, and author details with name and profile_picture. Passing a feedback_id instead of a url significantly speeds up the request.

Authentication

All requests require the x-api-key header. Get your key at scrapecreators.com.

Query Parameters

NameTypeRequiredDescriptionExample
urlstringnoFacebook post URL (or reel URL)https://www.facebook.com/reel/753347914167361
feedback_idstringnoUsing 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.ZmVlZGJhY2s6MTQ0NzY1NjMyMzM4Mzg0OA==
cursorstringnoCursor to get more comments. Get 'cursor' from previous response.MToxNzU3MTA2NzYyOgF1P1VkxpkA9Ds4...

Example Request

curl

bash
curl 'https://api.scrapecreators.com/v1/facebook/post/comments' \
  -H 'x-api-key: $SCRAPECREATORS_API_KEY'

Node / TypeScript

js
const params = new URLSearchParams({  });
const res = await fetch(`https://api.scrapecreators.com/v1/facebook/post/comments?${params}`, {
  headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);

Python

python
import os, requests
r = requests.get(
    'https://api.scrapecreators.com/v1/facebook/post/comments',
    headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
    params={},
)
r.raise_for_status()
print(r.json())

CLI

bash
scrapecreators facebook post-comments --help

Example Response

json
{
  "success": true,
  "credits_remaining": 49999299370,
  "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"
      }
    }
  ],
  "cursor": "MToxNzc2NDYxMjMwOgF......",
  "has_next_page": true
}

Credits

Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.

Errors

StatusMeaningAction
200Success.Use the JSON payload.
400Invalid or missing parameter.Verify required parameters and value format.
401Missing or invalid x-api-key.Pass a valid API key in the header.
402Out of credits.Top up at scrapecreators.com or wait for plan reset.
404Resource not found or private.Confirm the handle, URL, or id and that the resource is public.
429Rate limited.Backoff and retry with exponential delay.
500Server error or upstream platform failure.Retry with backoff; report persistent errors to support.