Facebook Event API
The Facebook Event API returns the public page of one Facebook event: its title, the date as Facebook shows
it with the start and end time in UTC, duration and timezone, the description and the links in it, the
venue with its address, city and coordinates, the hosts, the group it was created in, the performers
Facebook lists, its categories, the ticket link, seller and price, the number of people who responded,
and whether it is over, canceled or online. An event broadcast on Facebook adds its live videos. A recurring
event's occurrence adds the series it belongs to,
the number of occurrences and the nearest other dates. Pass the event as event_id or
url.
An event Facebook does not show publicly, because it was removed, is private or never existed, and a share
link that opens something other than an event answer 200 with an error and cost a credit.
venue.location_id is a valid location_id for the
Facebook Events Search API. The link of a
host that is a Page or a person is a valid url for the
Facebook Profile Events API. A host that is a group
links to the group, which that API does not take.
API Parameters
Event
-
- Name
-
event_id - Required
- Optional
- Description
-
The numeric id of the public Facebook event, e.g.
1004917405909623. It isevents.idfrom the Facebook Events Search API and the Facebook Profile Events API. Required unlessurlis provided, and not sent together with it.
-
- Name
-
url - Required
- Optional
- Description
-
The link of the public Facebook event, e.g.
https://www.facebook.com/events/1004917405909623/. Links with the venue and title in the path, a recurring event's occurrence,fb.me/e/invite links andfacebook.com/share/links are accepted. A recurring event's own link opens its next occurrence, as it does on Facebook. Required unlessevent_idis provided, and not sent together with it.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
facebook_event.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Event
The event's date, venue, hosts, performers, categories and tickets.
https://www.searchapi.io/api/v1/search?engine=facebook_event&event_id=1108530151813131
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "facebook_event",
"event_id": "1108530151813131"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_6EB5K71e3vjbfO53vXNW82Vq",
"status": "Success",
"created_at": "2026-11-26T15:44:12Z",
"request_time_taken": 1.58,
"parsing_time_taken": 0.01,
"total_time_taken": 1.59,
"request_url": "https://www.facebook.com/events/1108530151813131/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_6EB5K71e3vjbfO53vXNW82Vq.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_6EB5K71e3vjbfO53vXNW82Vq"
},
"search_parameters": {
"engine": "facebook_event",
"event_id": "1108530151813131"
},
"event": {
"id": "1108530151813131",
"title": "THE CHATS US TOUR 2027",
"link": "https://www.facebook.com/events/1108530151813131/",
"date": "Tuesday, May 11, 2027 at 5:00 PM CDT",
"iso_date": "2027-05-11T22:00:00Z",
"timezone": "CDT",
"description": "Sale Dates and Times:\n\nPublic Onsale : Fri, 6 Nov 2026 at 10:00 AM\n\nArtist Presale : Wed, 4 Nov 2026 at 12:00 PM\n\nBIT Presale : Thu, 5 Nov 2026 at 10:00 AM\n\nLIVE NATION PRESALE : Thu, 5 Nov 2026 at 10:00 AM",
"venue": {
"id": "51495526282",
"name": "Historic Scoot Inn",
"link": "https://facebook.com/scootinn",
"address": "1308 E 4th Street, Austin, TX 78702",
"city": "Austin, Texas",
"location_id": "106224666074625",
"gps_coordinates": {
"latitude": 30.26224,
"longitude": -97.72948
}
},
"hosts": [
{
"id": "100044228839418",
"name": "The Chats",
"username": "thechatsband",
"link": "https://www.facebook.com/thechatsband",
"is_verified": true
},
{
"id": "100064817287704",
"name": "Historic Scoot Inn",
"username": "scootinn",
"link": "https://www.facebook.com/scootinn",
"is_verified": false
},
"..."
],
"performers": [
{
"id": "100044228839418",
"name": "The Chats",
"username": "thechatsband",
"link": "https://www.facebook.com/thechatsband"
},
{
"id": "100057964545753",
"name": "GYMSHORTS",
"username": "GYMSHORTSMUSIC",
"link": "https://www.facebook.com/GYMSHORTSMUSIC"
}
],
"categories": [
{
"id": "10155994924430727",
"name": "Music & audio"
}
],
"tickets": {
"link": "https://ticketmaster.evyy.net/c/253158/264167/4272?u=https%3A%2F%2Fwww.ticketmaster.com%2Fthe-chats-us-tour-2027-austin-texas-05-11-2027%2Fevent%2F3A00655AE5D7391C&utm_medium=affiliate",
"seller": "Ticketmaster"
},
"responses": 33,
"is_past": false,
"is_canceled": false,
"is_online": false,
"has_date_changed": false,
"has_title_changed": false,
"thumbnail": "https://scontent.xx.fbcdn.net/v/t39.99422-6/888621609_2056802161678563_4811126667826128155_n.png?stp=dst-jpg_tt6&cstp=mx2048x1152&ctp=s960x960&_nc_cat=100&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=75d36f&_nc_ohc=t0LOovQ58j8Q7kNvwEt5OyV&_nc_oc=Adpa_NIgt1h_mHjNMSs9Yzl1sZOq3VO4iagk19S9JwvfiEYnblkre9B2gsRnlz46ERg&_nc_zt=14&_nc_ht=scontent.xx&_nc_gid=Kk1f49H5YtDa13o1HaLvmA&_nc_ss=79389&oh=00_AQSdOa5v5LWg7E2IUFculaZrsdyhdnjsRblyYjhqjD6cDw&oe=6B0E1B6B"
}
}
Recurring Event
A recurring event's own link opens its next occurrence, or its last one once the series is over, as it
does on Facebook. The answer names the
series in parent_event_id, counts its occurrences and lists the nearest
other_occurrences.
https://www.searchapi.io/api/v1/search?engine=facebook_event&url=https%3A%2F%2Fwww.facebook.com%2Fevents%2F733095653165588%2F
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "facebook_event",
"url": "https://www.facebook.com/events/733095653165588/"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_RqXLK4ZloPW8iN4gxM8z2jE9",
"status": "Success",
"created_at": "2026-11-26T15:44:14Z",
"request_time_taken": 2.63,
"parsing_time_taken": 0.0,
"total_time_taken": 2.63,
"request_url": "https://www.facebook.com/events/733095653165588/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_RqXLK4ZloPW8iN4gxM8z2jE9.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_RqXLK4ZloPW8iN4gxM8z2jE9"
},
"search_parameters": {
"engine": "facebook_event",
"url": "https://www.facebook.com/events/733095653165588/"
},
"event": {
"id": "733096143165539",
"title": "Jazz Jam",
"link": "https://www.facebook.com/events/733096143165539/",
"date": "Sunday, November 29, 2026 at 3:00 PM EST",
"iso_date": "2026-11-29T20:00:00Z",
"timezone": "EST",
"description": "Sale Dates and Times:\n\nPublic Onsale : Mon, 17 Nov 2025 at 05:15 PM",
"venue": {
"id": "602685513168965",
"name": "Funk 'n Waffles Syracuse",
"link": "https://facebook.com/funknwafflesdowntown",
"address": "307-13 S Clinton St, Syracuse, NY 13202",
"city": "Syracuse, New York",
"location_id": "109748972377870",
"gps_coordinates": {
"latitude": 43.04839,
"longitude": -76.15337
}
},
"hosts": [
{
"id": "100068456925544",
"name": "Funk 'n Waffles Syracuse",
"username": "funknwafflesdowntown",
"link": "https://www.facebook.com/funknwafflesdowntown",
"is_verified": false
}
],
"tickets": {
"link": "https://ticketmaster.evyy.net/c/253158/264167/4272?u=https%3A%2F%2Fwww.ticketweb.com%2Fevent%2Fjazz-jam-funk-n-waffles-tickets%2F14700693&utm_medium=affiliate",
"seller": "TicketWeb"
},
"responses": 7,
"is_past": false,
"is_canceled": false,
"is_online": false,
"parent_event_id": "733095653165588",
"occurrences": 58,
"other_occurrences": [
{
"id": "733096559832164",
"link": "https://www.facebook.com/events/733095653165588/733096559832164/",
"iso_date": "2026-11-15T20:00:00Z",
"is_past": true
},
{
"id": "733095816498905",
"link": "https://www.facebook.com/events/733095653165588/733095816498905/",
"iso_date": "2026-11-22T20:00:00Z",
"is_past": true
},
"..."
],
"has_date_changed": false,
"has_title_changed": false,
"thumbnail": "https://scontent.xx.fbcdn.net/v/t39.30808-6/886225160_1478175071086083_2279362291521311103_n.avif?stp=dst-jpg_tt6&cstp=mx2048x1152&ctp=s960x960&_nc_cat=109&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=75d36f&_nc_ohc=aooGq8WExfAQ7kNvwGzCyGq&_nc_oc=AdoLJx2jHMkjYRjzb53yQ5eqt0Pp5ibouPsIxolj53PFKbgW1dg6NF2uKtoEJ-_YtfaxrVHm-divzG5UqwY1WqNE&_nc_zt=23&_nc_ht=scontent.xx&_nc_gid=faC4sWlBvYGiEisXPT9Kyg&_nc_ss=79389&oh=00_AQQt8VkwRxr-gwdHgzq5stTj7EsonEe9rlJNiuBWIrtJ0A&oe=6B0E3E86"
}
}