PeumeAPI

Social media data · Facebook

List Facebook Comments

Extract public comments and threaded replies from Facebook posts, photos, videos, and reels.

$0.001 per result + $0.0015 per call

Call it

curl https://api.peume.com/v1/call/list-facebook-comments \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "startUrls": [
      {
        "url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"
      }
    ],
    "resultsLimit": 50,
    "includeNestedComments": false,
    "viewOption": "RANKED_UNFILTERED",
    "onlyCommentsNewerThan": "2024-01-01"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: list-facebook-comments.

Parameters

startUrlsRequiredarray

Valid facebook URL

Example: [{"url":"https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"}]

resultsLimitinteger

If this limit is not set as many results as possible are returned

Example: 50

includeNestedCommentsboolean

If checked, the actor will return up to 3 levels of comments/replies for each post. Note that each reply/comment will be returned as a separate result.

Example: false

viewOptionstring

Choose the way the comments are sorted

RANKED_THREADED · RECENT_ACTIVITY · RANKED_UNFILTERED

Example: RANKED_UNFILTERED

onlyCommentsNewerThanstring

Limit how far back to the history the scraper should go. The date should be in YYYY-MM-DD or full ISO absolute format or in relative format e.g. 1 year, 2 months, 3 days, 4 hours, or 5 minutes. All time values are taken in UTC timezone. This <a href='' target='_blank' rel='noopener'>add-on feature</a> is billed separately.

Example: 2024-01-01

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.