Facebook Events API
Scrape Facebook Events data with one API call. Returns the events listed under a Facebook city or region Events explore page. **The `url` must be an Events explore URL ending in the numeric location id** (see the example); a plain page URL is rejected with a 400 at 0 credits, and a single page's OWN events are `/v1/facebook/profile/events`. Each row carries the title, the permalink, the cover image, the start time, the RSVP counts, and on `post.ext.event` the rendered time line (`time_text`), `location_name` (the venue), `start_timestamp`, `is_online`, `is_past`, `interested_count` and `going_count`. The same two reading notes apply as on that endpoint: `published_at` is the event's START time and is routinely in the future, and `engagement.views` and `engagement.likes` carry the interested and going RSVP counts because an event has no views or likes. The explore listing carries no description, address, city, host or category, so those are null on a plain call. Send `include=details` and every event is joined, in the same call, to the per-event details lookup: the description, the street address and city, the coordinates, the hosts (`hosts[]`, and the one-line host credit on `post.author.display_name` and `post.ext.event.host_context_text`), the category, the privacy, the cancelled flag and the attendance count land on each row, and a missing cover or RSVP count is filled where the details carry one. Values the row already carried are never replaced. Cost: 1 credit for the page plus 1 credit per event filled from a fresh lookup (at most 12 events a page, so 13 credits at most); rows already in cache are filled for free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0 credits. Time: `include=details` adds 2 to 8 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds) and nothing when the rows are already cached. The response carries a `hydration` block itemising rows, lookups, cache hits, credits and milliseconds. Filter by relative `time` (defaults to all time) and forward the returned cursor for additional pages.
Last updated October 2026Maintained by the SocialCrawl team
Returns the events listed on a Facebook city or region events page, each with a title, link, cover image, the start time, the venue, and the going and interested counts.
Use it to see what is on in a place, optionally narrowed by a time filter; use profile/events for one page's own events. The optional include=details adds the description, address and hosts.
Searching 68 platforms in parallel
What can you do with the Events API?
The Events endpoint gives you structured Facebook data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/facebook/events?url=https%3A%2F%2Fwww.facebook.com%2Fevents%2Fexplore%2Fsaint-petersburg-florida%2F111326725552547"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/facebook/events",
params={
'url': 'https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/facebook/events?url=https%3A%2F%2Fwww.facebook.com%2Fevents%2Fexplore%2Fsaint-petersburg-florida%2F111326725552547",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| url | Yes | Full URL of the city's Facebook Events page. |
| time | No | Relative time window. Defaults to all time when omitted. (today | this_week | next_week) |
| cursor | No | Cursor returned by the previous response for pagination. |
| include | No | Set to `details` (one token only) to fill, on every event in this one call, `post.ext.event.description`, `address`, `city`, `latitude`, `longitude`, `hosts`, `host_context_text`, `category`, `privacy`, `is_canceled` and `attendance_count`, and the host credit on `post.author.display_name`. Holds 1 credit per event (at most 12 a page) and keeps only the rows filled from a fresh lookup; rows already in cache and rows the lookup cannot fill are refunded, so a page is never more than 13 credits. The join takes 2 to 8 seconds on a fresh page, never more than 12, and nothing when the rows are already cached; read `data.hydration` for the rows, the credits held and kept, and the time. Without it the call is unchanged. (details) |
| since | No | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`. |
| until | No | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`. |
What does the Facebook Events API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "facebook",
"endpoint": "/v1/facebook/events",
"data": {
"items": [
{
"post": {
"id": "3819476484850108",
"url": "https://www.facebook.com/events/3819476484850108/",
"content": {
"text": "Sample comment text (redacted).",
"media_urls": null,
"thumbnail_url": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-6/756345114_122231390060290000_2227029022001829513_n.jpg?stp=c0.349.1809.863a_dst-jpg_s640x640_tt6&_nc_cat=111&ccb=1-7&_nc_sid=75d36f&_nc_ohc=iWGHi0pKUi8Q7kNvwF2ZFJy&_nc_oc=AdrkxLy37MRknwUEweevINe4QZYdFqNVnbB8gHMPArz54QSUMt6q4FsbsRIHqpIrJXI&_nc_zt=23&_nc_ht=scontent-lga3-1.xx&_nc_gid=ZdGzVcyVO1Z33DETLvfG5w&_nc_ss=78289&oh=00_AQM6zokNAo7pa4qsfJJkHDkjIZmz6R3MF7Xbw-K4mrzuwA&oe=6AC5367B",
"duration_seconds": null
},
"author": {
"username": null,
"display_name": null,
"avatar_url": null,
"verified": null
},
"engagement": {
"views": 1500,
"likes": 155,
"comments": null,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false
},
"published_at": "2026-10-17T14:00:00.000Z",
"ext": {
"published_at_epoch": 1792245600,
"event": {
"time_text": "Sat, Oct 17 at 10:00 AM EDT",
"is_online": false,
"is_past": false,
"location_name": "Pass A Grille Beach St Pete",
"start_timestamp": 1792245600,
"interested_count": 1500,
"going_count": 155
}
}
},
"computed": {
"engagement_rate": 0.103333,
"language": null,
"content_category": "other",
"estimated_reach": 1800
}
},
{
"post": {
"id": "1566776621097336",
"url": "https://www.facebook.com/events/1566776621097336/",
"content": {
"text": "Sample comment text (redacted).",
"media_urls": null,
"thumbnail_url": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-6/627975550_122141925152992528_6782463978449409171_n.jpg?stp=c58.0.844.403a_dst-jpg_s640x640_tt6&_nc_cat=111&ccb=1-7&_nc_sid=75d36f&_nc_ohc=o229hHm7iNoQ7kNvwGz9AFU&_nc_oc=AdoQxTT3sam5KmTljWD-OmT9vNbaTTXvzZ9uUBsJvmL8jGeSXa96wH_GyBO_QpNIfKE&_nc_zt=23&_nc_ht=scontent-lga3-1.xx&_nc_gid=ZdGzVcyVO1Z33DETLvfG5w&_nc_ss=78289&oh=00_AQN8sbETUi4MLlefUJlsNNkafkuRUv0DGNfPDdVK_trZEA&oe=6AC527D8",
"duration_seconds": null
},
"author": {
"username": null,
"display_name": null,
"avatar_url": null,
"verified": null
},
"engagement": {
"views": 11,
"likes": 2,
"comments": null,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false
},
"published_at": "2026-10-02T12:00:00.000Z",
"ext": {
"published_at_epoch": 1790942400,
"event": {
"time_text": "Fri, Oct 2 at 8:00 AM EDT",
"is_online": false,
"is_past": false,
"location_name": "[address redacted] S, St Petersburg, FL 33711-4901, United States",
"start_timestamp": 1790942400,
"interested_count": 11,
"going_count": 2
}
}
},
"computed": {
"engagement_rate": 0.181818,
"language": null,
"content_category": "other",
"estimated_reach": 13
}
}
],
"next_cursor": "eyJzdGFydF90aW1lIjoxNzkwOTI2MzgyLCJlbmRfdGltZSI6MTc5ODcwMjM4MiwiYnJvd3NlX2N1cnNvciI6IkFib04zQlhfZC1JdldQVWVqNWVSNnBpU0RnNHJSYUY3eHk2TDJYWVlrbGNTVHBDQ0dVQWJsQ2NTazRFOE5Qb2htbGxmMFB1VVlOSk9aMC1nNGNhZE96cFRpSlkwRVAwVVZGc09vcnBHUmhGN1lxQXl1czhxX1R1ZFI1S3ZMR29PdS1PeXJYTXc5UldaTDgwSXh6a2NTeGdIMHV0bFJpcTVXd3FQb2F4T1M0Q05uZjNUa1QwdllmX2FfMHhBSGVFcE9ndzJLUkliRU1ZcEdDa0Y0Nk5LOFhEYTdMb0VyejVsWjV0MDBEbEdUSlNvTWJPR3VRWWp5azVyb1ZaS0VqMjlUUHQxb1VFVVlwOTlzOW5YR3VNZVdtWE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c1WVIzVk5aVmR0V0VkSlJtNDBWRGszZEc1clUyWlZZVGx0ZVRoMFdUUjZVMXBrY1ZWM0xVVnZNRGxTUTJsa01uWmtVRzh0TVRSSldEWlphbUZrV1dkV05GcFhWbGhqYXpOTVdHbHdUUzFsVlVocmFYcEJjazVsVUROM1ExUkdTbTlVVjA1ek4yVm1hSGhtZHpZNVVtUkNXRE5yU0VwdVdsUnhVR3ROV0ZGc09YZDNkRFEwTTJSR1FYWTFWMEl0ZUVKS2FVTjJPRFJXTjJGbmFrVlhVV1JNVjFoeVRUUktjMDFGWlVzNVRWTnlTRlpuY0RCMGFFMTRhRmhGYTFrNFowTXdZMHRyUVhRNFNGaHVZVkJMZFdaQlZGZHJaRmd4ZW5BNVNYRkVZMmhOT0c0MU5sUnlhVFUyUlZkbVExcDNZeTFaVFV3dFZYSmhlbkYzYjNWd2IxTlZOM1UwZGtGYVZtSlJXRkV3UW5aUU1tVnZNRGwzTjB4c09TMHRZWEJRUVNKOSIsImUiOiJmYWNlYm9vay9ldmVudHMiLCJwIjoiY3Vyc29yIn0",
"has_more": true,
"page_size": 12
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T07:33:05.466Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Facebook Events API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.
One schema, every platform
Query 68 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usWhat is the Facebook Events API?
What URL do I pass?
How do I page through more events?
Can I filter by date or time?
How is this better than the Graph API?
Can I get each event's description and address too?
Ask AI about SocialCrawl
Ready to scrape Facebook Events data?
Get your API key and start pulling Facebook data in under 60 seconds.
