Facebook Comment Replies API
Replies under one comment on a public Facebook post, ten per page. Pass the post URL and the comment id (the id of any item from /v1/facebook/post-comments), then pagination.cursor for the next page. Calls cost 1 credit each. A cache hit is free, and a failed or empty response is never charged.
Try it
Prefilled with the request that produced the example below. No key yet? Get a free key.
Request
GET
/v1/facebook/comment-replies| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | Full post URL the comment sits on |
| comment_id | string | yes | Numeric comment id |
| cursor | string | no | pagination.cursor from a previous response |
Also accepts cache_max_age (a hit costs 0 credits) and include_raw (returns the untouched upstream payload under raw).
curl
curl "$API/v1/facebook/comment-replies?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F2166091230582141%2F&comment_id=2082653245809386&cache_max_age=7d" \
-H "x-api-key: $KEY"JavaScript
const query = new URLSearchParams({
url: 'https://www.facebook.com/reel/2166091230582141/',
comment_id: '2082653245809386',
cache_max_age: '7d',
});
const response = await fetch(`${API}/v1/facebook/comment-replies?${query}`, {
headers: { 'x-api-key': KEY },
});
const body = await response.json();
if (!body.success) throw new Error(body.error.code);
// 1 credit, 0 on a cache hit
console.log(body.data, body.meta.creditsCharged);Python
import os, httpx
r = httpx.get(
f"{os.environ['API']}/v1/facebook/comment-replies",
params={
"url": "https://www.facebook.com/reel/2166091230582141/",
"comment_id": "2082653245809386",
"cache_max_age": "7d",
},
headers={"x-api-key": os.environ["KEY"]},
timeout=30,
)
body = r.json()
if not body["success"]:
raise RuntimeError(body["error"]["code"])
print(body["data"], body["meta"]["creditsCharged"])Example response
Captured on , with raw removed and lists cut to two items. A live call returns current data.
response
{
"success": true,
"data": {
"items": [
{
"platform": "facebook",
"id": "994541046495331",
"postId": "2166091230582141",
"parentId": "2082653245809386",
"text": "Hola nike buenas noches soy phantom me pongo en contacto con ustedes para preguntarles que es lo que podemos hacer por hacer tacos para futbol profesional soccer con mi imagen y mi nombre espero contesten este mensaje y podamos hablar más acerca de los nike phantom.",
"authorId": "example-user-1",
"authorHandle": null,
"authorName": "Example User 1",
"authorAvatarUrl": "https://example.com/media/1.jpg",
"likeCount": 2,
"replyCount": 1,
"isPinned": null,
"isAuthorReply": false,
"publishedAt": "2026-05-11T05:02:07.000Z"
},
{
"platform": "facebook",
"id": "943757141880594",
"postId": "2166091230582141",
"parentId": "994541046495331",
"text": "Example User 1 Hey",
"authorId": "example-user-2",
"authorHandle": null,
"authorName": "Example User 2",
"authorAvatarUrl": "https://example.com/media/2.jpg",
"likeCount": 0,
"replyCount": 0,
"isPinned": null,
"isAuthorReply": false,
"publishedAt": "2026-05-12T10:03:43.000Z"
}
]
},
"pagination": {
"cursor": null,
"hasMore": false,
"count": 3
},
"meta": {
"platform": "facebook",
"endpoint": "facebook.commentReplies",
"creditsCharged": 1,
"cached": false,
"cacheAgeSeconds": null,
"durationMs": 4300,
"requestId": "req_azweuniosnp89qjuywhw"
}
}Returns
Returns a list of Comment in data.items.
Cost and behaviour
| Credits | 1 per live request, 0 on a cache hit |
| Cacheable | yes: cache_max_age accepts a cached copy |
| Batchable | yes: usable as a target in POST /v1/jobs/batch |
| Subscribable | no |
Other Facebook endpoints
- /v1/facebook/ad-library/ad Ad details
- /v1/facebook/ad-library/ad-transcript Ad video transcript
- /v1/facebook/ad-library/advertisers Find advertisers running ads
- /v1/facebook/ad-library/page-ads All ads for one advertiser
- /v1/facebook/ad-library/search Search the Meta Ad Library
- /v1/facebook/city-events Get the events of a city
- /v1/facebook/event Event details
- /v1/facebook/events/search Search public events