Facebook Event
Get the metadata for a public Facebook event: title, host, location, time, and attendee counts.
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' -Gfrom 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/1543404119289643Response shape
JSON response body. Field types may be null when the source page omits the value.
Event title.
Hosting page or person.
Event description body.
ISO 8601 start time.
ISO 8601 end time when set.
Venue name.
Full address text.
Users marked Interested.
Users marked Going.
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
}
