Docs
Log in
Use the JS token

Facebook scrapers work best with your JavaScript token.

API usage

Add &scraper=facebook-hashtag to a Crawling API request. URL-encode the target URL in the url parameter.

curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
  --data-urlencode 'url=https://www.facebook.com/hashtag/robots' \
  --data-urlencode 'scraper=facebook-hashtag' -G
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
    'https://www.facebook.com/hashtag/robots',
    {'scraper': 'facebook-hashtag'}
)

import json
data = json.loads(res['body'])
const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });

const res = await api.get(
  'https://www.facebook.com/hashtag/robots',
  { scraper: 'facebook-hashtag' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

res = api.get('https://www.facebook.com/hashtag/robots', scraper: 'facebook-hashtag')
data = JSON.parse(res.body)

Example input URL

The URL passed in the url parameter (URL-decoded for readability):

https://www.facebook.com/hashtag/robots

Response shape

JSON response body. Field types may be null when the source page omits the value.

hashtag
string
Hashtag (without the #).
posts
array
Posts appearing on the hashtag page.
posts[].author
string
Author name.
posts[].body
string
Post text.
posts[].date
string
Posted-at.
posts[].image
string | null
Attached image URL when present.
posts[].reactions
integer
Reactions count.
posts[].url
string
Permalink to the post.

Sample response

{
  "hashtag": "robots",
  "posts": [
    {
      "author": "Boston Dynamics",
      "body": "New Atlas demo at the lab today…",
      "date": "2026-04-22",
      "reactions": 8412,
      "url": "https://www.facebook.com/BostonDynamics/posts/..."
    }
  ]
}