FACEBOOK API
Comments
Retrieve comments from Facebook with a single API request.
GET
/api/data/v1/facebook/post/comments1credit base cost
Request parameters
Up to 1 creditFacebook post URL (or reel URL)
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.
Cursor to get more comments. Get 'cursor' from previous response.
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/facebook/post/comments?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F753347914167361' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"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_charged": 1,
"credits_remaining": 1000,
"request_id": "00000000-0000-4000-8000-000000000000"
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"comments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"text": {
"type": "string"
},
"created_at": {
"type": "string"
},
"reply_count": {
"type": "integer"
},
"reaction_count": {
"type": "integer"
},
"reactions": {
"type": "object",
"properties": {
"thankful": {
"type": "integer"
},
"like": {
"type": "integer"
},
"love": {
"type": "integer"
},
"care": {
"type": "integer"
},
"haha": {
"type": "integer"
},
"wow": {
"type": "integer"
},
"sad": {
"type": "integer"
},
"anger": {
"type": "integer"
},
"pride": {
"type": "integer"
},
"confused": {
"type": "integer"
}
}
},
"author": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"gender": {
"type": "string"
},
"short_name": {
"type": "string"
}
}
}
}
}
},
"cursor": {
"type": "string"
},
"has_next_page": {
"type": "boolean"
},
"credits_charged": {
"type": "integer",
"minimum": 0,
"description": "FetchGoblin credits charged for this request."
},
"credits_remaining": {
"type": "integer",
"description": "Your FetchGoblin credit balance after this request."
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "FetchGoblin request identifier."
}
}
}