Docs
Log in
Use the JS token

Facebook scrapers work best with your JavaScript token.

API usage

Add &scraper=facebook-event 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/events/1543404119289643' \
  --data-urlencode 'scraper=facebook-event' -G
from crawlbase import CrawlingAPI

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

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/events/1543404119289643',
  { scraper: 'facebook-event' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

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

Example input URL

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

https://www.facebook.com/events/1543404119289643

Response shape

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

name
string
Event title.
host
string
Hosting page or person.
description
string
Event description body.
start_time
string
ISO 8601 start time.
end_time
string | null
ISO 8601 end time when set.
location_name
string
Venue name.
location_address
string | null
Full address text.
interested_count
integer
Users marked Interested.
going_count
integer
Users marked Going.
cover_image
string
Event cover image URL.

Sample response

{
  "name": "Web Scraping Meetup",
  "host": "Crawlers and Scraping Enthusiasts",
  "description": "Quarterly meetup for the community…",
  "start_time": "2026-05-20T18:00:00-04:00",
  "end_time": "2026-05-20T21:00:00-04:00",
  "location_name": "WeWork Bryant Park",
  "interested_count": 237,
  "going_count": 82
}