FB

Facebook Posts Scraper

antsdata/facebook-posts

AntsData 4.6 (182 reviews) 78K runs

Extract page posts, videos and engagement — captions, reactions and comments.

#Social
INPUT

Configure your task

ParameterTypeRequired
startUrls
Profile / video URL
string[]Required
searchQueries
Search queries
string[]Optional
maxItems
Max items
numberOptional
proxyCountry
Proxy country
stringOptional
EXAMPLE

Input & output

input.json
{
  "startUrls": [
    "https://www.tiktok.com/@nike"
  ],
  "maxItems": 100,
  "proxyCountry": "US"
}
output.json
{
  "id": "7298…",
  "author": "@nike",
  "text": "Just do it.",
  "likeCount": 128400,
  "commentCount": 2310,
  "shareCount": 8800,
  "playCount": 1840000,
  "createTime": "2026-05-12T08:00:00Z",
  "videoUrl": "https://…"
}
API

Run with one request

POST · cURL
curl -X POST https://api.antsdata.com/v1/actors/antsdata/facebook-posts/runs \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls":["https://www.tiktok.com/@nike"],"maxItems":100,"proxyCountry":"US"}'

Full integration guide in the API docs.

Need different fields or sites?

Any public data — we can custom-scrape it and package it as a stable API.