Skip to content
HoneyguideOpen on Apify (opens in a new tab)

Facebook

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

PlatformFacebook
Apify actordata-slayer/facebook-comments-scraper
Pricefrom $1.20 per 1,000 results, plus $0.005 per run start
InputspostUrlsOrIdsmaxCommentsPerPostincludeReplies
Output17 documented fields per row
Export formatsJSON, CSV, Excel, XML, HTML
Facebook login or cookiesNot required
IntegrationsApify REST API, JavaScript and Python clients, n8n, Make, Zapier
Last updatedSeptember 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.

POST /v2/acts/data-slayer~facebook-comments-scraper/run-sync-get-dataset-items
request
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"
    ]
  }'
each result row17 fields
{
  "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.

parametertypedescription
postUrlsOrIdsrequiredarray

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"]

maxCommentsPerPostinteger

Maximum rows per post

Maximum combined comment and reply rows saved for each input. Public availability can end before this limit.

default: 500

includeRepliesboolean

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.

fieldtypedescription
postIdstring | null
postUrlstring | null
commentIdstring
commentUrlstring | null
parentCommentIdstring | null
rootCommentIdstring
depthinteger
isReplyboolean
textstring | null
publishedAtstring | null
likeCountinteger | null
reactionCountinteger | null
replyCountinteger | null
authorobject
attachmentsarray
requestedInputstring
retrievedAtstring

Pricing

Pay-per-event pricing, billed through your Apify account. Where plan tiers are listed, paid Apify plans get a lower price per event.

eventpriceper 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
Free
$1.80
Bronze
$1.60
Silver
$1.40
Gold
$1.20
Platinum
$1.20
Diamond
$1.20
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
Free
$5.00
Bronze
$5.00
Silver
$5.00
Gold
$5.00
Platinum
$5.00
Diamond
$5.00

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 scrapers
  • 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 results
  • 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 results
  • 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 results
  • 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 results
  • 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 results
  • 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