Facebook Comments & Replies Scraper
Extract public Facebook comments and replies from known post, Reel, video, photo, permalink, or supported share URLs. Export thread relationships, text, timestamps, public author details, engagement counts, and attachments to JSON or CSV.
- users, last 30 days
- 1
- runs, last 30 days
- 8
- runs, all time
- 14
- users, all time
- 2
Live figures from Apify's public API, refreshed every hour.
Facebook Comments & Replies Scraper specifications
| Platform | |
|---|---|
| Apify actor | data-slayer/facebook-comments-scraper |
| Price | from $1.20 per 1,000 results, plus $0.005 per run start |
| Inputs | postUrlsOrIdsmaxCommentsPerPostincludeReplies |
| Output | 17 documented fields per row |
| Export formats | JSON, CSV, Excel, XML, HTML |
| Facebook login or cookies | Not required |
| Integrations | Apify REST API, JavaScript and Python clients, n8n, Make, Zapier |
| Last updated | September 26, 2026 (version 0.1.6) |
Run it from code
Replace the example input with your own. You need an Apify API token, which you can create in your Apify account settings.
curl -X POST "https://api.apify.com/v2/acts/data-slayer~facebook-comments-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"postUrlsOrIds": [
"https://www.facebook.com/example/posts/123456789012345"
]
}'{
"postId": string | null,
"postUrl": string | null,
"commentId": string,
"commentUrl": string | null,
"parentCommentId": string | null,
"rootCommentId": string,
"depth": integer,
"isReply": boolean,
"text": string | null,
"publishedAt": string | null,
"likeCount": integer | null,
"reactionCount": integer | null,
"replyCount": integer | null,
"author": object,
// + 3 more fields
}Input parameters
3 parameters you can set for each run.
| parameter | type | description |
|---|---|---|
postUrlsOrIdsrequired | array | Facebook post URLs or IDs Add 1–20 direct public Facebook content URLs or numeric post IDs. Page, profile, feed, search, and group home URLs are not content inputs. default: ["https://www.facebook.com/example/posts/123456789012345"] |
maxCommentsPerPost | integer | Maximum rows per post Maximum combined comment and reply rows saved for each input. Public availability can end before this limit. default: 500 |
includeReplies | boolean | Include replies Save public replies as separate paid rows when their parent comment is also saved. Reply expansion can increase the row count and runtime. default: false |
Output fields
Each result is one row with these 17 fields, taken from the scraper's dataset schema.
| field | type | description |
|---|---|---|
postId | string | null | |
postUrl | string | null | |
commentId | string | |
commentUrl | string | null | |
parentCommentId | string | null | |
rootCommentId | string | |
depth | integer | |
isReply | boolean | |
text | string | null | |
publishedAt | string | null | |
likeCount | integer | null | |
reactionCount | integer | null | |
replyCount | integer | null | |
author | object | |
attachments | array | |
requestedInput | string | |
retrievedAt | string |
Pricing
Pay-per-event pricing, billed through your Apify account. Where plan tiers are listed, paid Apify plans get a lower price per event.
| event | price | per 1,000, by Apify plan |
|---|---|---|
| Facebook comment or reply One unique public comment or reply successfully added to the default dataset. Invalid, unavailable, empty, failed, and duplicate items are not charged as results. | $0.0018 each |
|
| Actor Start Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). | $0.005 per run |
|
Questions
How much does Facebook Comments & Replies Scraper cost?
Facebook Comments & Replies Scraper uses pay-per-event pricing on Apify. The main charge is $0.0018 per facebook comment or reply, which is $1.80 per 1,000. On higher Apify plans the price drops to $1.20 per 1,000. Each run also has a start fee of $0.005.
Do I need to log in to Facebook or share cookies?
No. Facebook Comments & Replies Scraper works without your Facebook login or cookies. You only need an Apify account to run it.
Can I use Facebook Comments & Replies Scraper through an API?
Yes. Send a POST request to the Apify API with your input and read the results as JSON, or use Apify's official clients for JavaScript and Python. The code examples on this page are ready to copy.
What data does Facebook Comments & Replies Scraper return?
Each result is a structured row. Its dataset schema lists 17 fields, including postId, postUrl, commentId, commentUrl, and parentCommentId.
What formats can I export?
Results are stored in an Apify dataset. You can read it through the API as JSON, or download it as CSV, Excel, XML or HTML.
More Facebook scrapers
All Facebook scrapersFacebook Page Search Scraper
No Cookies
Search and discover Facebook pages by keyword without login. Get page names, URLs, Facebook IDs, verification status, and profile images. Build prospect lists and competitor databases from Facebook search results. No cookies, no authentication. JSON/CSV/Excel export.
- runs/30d
- 13.1K
- users/30d
- 158
Facebookfrom $2.17 / 1K resultsFacebook Marketplace Listing Scraper
No Cookies
Extract detailed Facebook Marketplace listing data without login. Get title, price, condition, location (with coordinates), seller details, delivery options, and full vehicle specifications. No cookies, no authentication. JSON/CSV/Excel export.
- runs/30d
- 681
- users/30d
- 12
Facebookfrom $2.17 / 1K resultsFacebook Page Posts Scraper
No Cookies
Extract posts from any Facebook page without login. Get full post text, reactions by type (like, love, care, wow, sad, angry), comments, shares, author profiles, media attachments, and timestamps. No cookies, no authentication. Export as JSON/CSV/Excel.
- runs/30d
- 324
- users/30d
- 23
Facebookfrom $2.17 / 1K resultsFacebook Page Details Scraper
No Cookies
Extract full Facebook page profiles without login. Get page name, followers, categories, contact info (phone, email, website), address, ratings, services, price range, and verification status. No cookies, no authentication. JSON/CSV/Excel export.
- runs/30d
- 251
- users/30d
- 18
Facebookfrom $2.17 / 1K resultsFacebook Group Posts Scraper
No Cookies
Extract posts from any public Facebook group without login. Get full post text, reactions by type, comments, shares, author profiles, media attachments, and timestamps. No cookies, no authentication. Export as JSON/CSV/Excel.
- runs/30d
- 137
- users/30d
- 9
Facebookfrom $2.17 / 1K resultsFacebook Events Scraper
No Cookies
Search and discover Facebook events by keyword without login. Get event titles, IDs, URLs, and event types. Build event databases for lead generation, sponsorship prospecting, and competitive intelligence. No cookies, no authentication. JSON/CSV/Excel export.
- runs/30d
- 84
- users/30d
- 3
Facebookfrom $2.17 / 1K results