Facebook · Guide

How to get Facebook comment replies

TL;DR
To get Facebook comment replies, sign up for a free Captapi key, then send one GET request to /v1/facebook/comment-replies with your input. You get clean JSON back in seconds for 2 credits per call — no OAuth, scraping or platform SDKs. Pull replies under a Facebook comment — author, text, likes, and time.

How to get Facebook comment replies (step by step)

  1. 1

    Get a free API key

    Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.

  2. 2

    Call the Facebook Comment Replies API

    Send an authenticated GET request to /v1/facebook/comment-replies with your input. No OAuth, no scraping setup.

  3. 3

    Read the JSON response

    Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.

Code example

curl "https://api.captapi.com/v1/facebook/comment-replies?url=https%3A%2F%2Fwww.facebook.com%2FNASA%2Fposts%2Fpfbid02skzNsrLf5atYZfzvzHAK9gHwDnZC5u4pDZMLQ1u3iJmfoA8tNsGpT7Uj6WPs6K3Rl&commentId=1009195248315125" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

What the response looks like

{
  "success": true,
  "data": {
    "platform": "facebook",
    "url": "https://www.facebook.com/NASA/posts/pfbid02skzNsrLf5atYZfzvzHAK9gHwDnZC5u4pDZMLQ1u3iJmfoA8tNsGpT7Uj6WPs6K3Rl",
    "commentId": "1009195248315125",
    "totalReturned": 1,
    "replies": [
      {
        "id": "1042165238137511",
        "url": "https://www.facebook.com/NASA/posts/pfbid02sjDCZCvp6b5pVtkLXpv6oHufykrYPNYPDG4tWZnJMjH6iFDRW37Px5XzuJYaFu7Pl?comment_id=1009195248315125&reply_comment_id=1042165238137511",
        "text": "Richard Alexandrowich why?",
        "author": {
          "id": "pfbid036xjruZCtgQEVHu49ToykT4aCioBmKUPzzpdrgAJTkLswzXJByKP5K7yeZhR6CC1Al",
          "name": "Lachlan Cryer",
          "shortName": "Lachlan",
          "gender": "MALE",
          "url": "https://www.facebook.com/people/Lachlan-Cryer/pfbid036xjruZCtgQEVHu49ToykT4aCioBmKUPzzpdrgAJTkLswzXJByKP5K7yeZhR6CC1Al/",
          "avatarUrl": "https://scontent-dfw6-2.xx.fbcdn.net/v/t1.30497-1/453178253_471506465671661_2781666950760530985_n.png?stp=cp0_dst-png&cstp=mx2048x2048&ctp=s64x64&_nc_cat=1&ccb=1-7&_nc_sid=136b72&_nc_ohc=IZeZjuD71-MQ7kNvwGUro_3&_nc_oc=AdqK3k3mlMz8pI8d-hOPtW4W0gGELdwQKlVlwLMcUlZ80Xq2spGO5aW_7WuIf74x_Ds&_nc_zt=24&_nc_ht=scontent-dfw6-2.xx&_nc_ss=7b289&oh=00_AQPxSrHeok8ckpfOsTHRpnhMFBHURcxQ4E_JzOOKVLCCNA&oe=6AFD9FFA"
        },
        "authorAvatarUrl": "https://scontent-dfw6-2.xx.fbcdn.net/v/t1.30497-1/453178253_471506465671661_2781666950760530985_n.png?stp=cp0_dst-png&cstp=mx2048x2048&ctp=s64x64&_nc_cat=1&ccb=1-7&_nc_sid=136b72&_nc_ohc=IZeZjuD71-MQ7kNvwGUro_3&_nc_oc=AdqK3k3mlMz8pI8d-hOPtW4W0gGELdwQKlVlwLMcUlZ80Xq2spGO5aW_7WuIf74x_Ds&_nc_zt=24&_nc_ht=scontent-dfw6-2.xx&_nc_ss=7b289&oh=00_AQPxSrHeok8ckpfOsTHRpnhMFBHURcxQ4E_JzOOKVLCCNA&oe=6AFD9FFA",
        "reactionCount": 1,
        "publishedAt": "2026-06-03T07:43:21+00:00",
        "reactions": {
          "haha": 1
        },
        "mediaUrlsExpireAt": "2026-11-18T12:54:18.000Z"
      }
    ],
    "hasMore": false,
    "nextCursor": null
  }
}

Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.

Request parameters

NameTypeRequiredDescription
urlstring YesFacebook post URL the comment belongs to. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
commentIdstring YesID of the parent (top-level) comment to fetch replies for — from the comments endpoint. Legacy alias: comment_id.
limitintegerNoMax items to return (default 50, max 500). Flat 2 credits per call.
cachebooleanNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Frequently asked questions

What does the Facebook Comment Replies API do?

The Facebook Comment Replies API lets you pull comments with author, text, likes, and replies from a public Facebook comment replies using one GET request to /v1/facebook/comment-replies. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Facebook Comment Replies API cost?

Each successful call costs 2 credits. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.

Do I need a Facebook API key or OAuth?

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle access, rate limits, retries, and authentication for you.

Is the Facebook Comment Replies API suitable for production use?

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.

Ready to get Facebook comment replies?

Start free with 100 credits — no credit card required.

Get your free API key