Facebook Profile Events API
The Facebook Profile Events API returns the public events on the events tab of a Facebook profile or
Page. Each event carries its title, link, date label, start time in UTC and picture, its venue and host
when Facebook names them, and whether it is over, canceled, going on now or online. date is
the label Facebook shows, such as Happening now for an event under way.
search_information.time_period says whether the events are upcoming or past. The first page
adds a profile block with the profile's id, name, username, link, picture, followers and cover
photo, and pagination.next_page_token is present while more events
remain. A profile Facebook does not show publicly, a share link that opens something other than a profile,
a profile without public events in the requested list and a next_page_token Facebook no longer
accepts answer 200 with an error and cost a credit.
API Parameters
Profile Link
-
- Name
-
url - Required
- Optional
- Description
-
The link of the public Facebook profile or Page to get events for, e.g.
https://www.facebook.com/RedRocksCO.profile.php,people, numeric id andfacebook.com/share/links are accepted, and so is the link of one of the profile's tabs. It is alsopost.author.linkfrom the Facebook Post API andpage.linkfrom the Facebook Business Page API. Required unlessnext_page_tokenis provided.
Time Period
-
- Name
-
time_period - Required
- Optional
- Description
-
Parameter defines which events to list. Without it Facebook's own default is used, which is upcoming events, or past ones when nothing is upcoming. Available options:
upcoming- events still to come, the soonest first.past- events that are over, the most recent first.
Pagination
-
- Name
-
next_page_token - Required
- Optional
- Description
-
Parameter defines the cursor for the next page. Take it from
pagination.next_page_tokenin a previous response. The token identifies the profile and the list on its own, sourlandtime_periodmay be omitted with it. Atime_periodsent with it must match the list the token was issued for.
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_profile_events.
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
Upcoming Events
Set time_period to upcoming to list the events still to come, the soonest
first. The host is the profile or Page that created the event, which can differ from the one
it is listed on.
https://www.searchapi.io/api/v1/search?engine=facebook_profile_events&time_period=upcoming&url=https%3A%2F%2Fwww.facebook.com%2FRedRocksCO
- 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_profile_events",
"url": "https://www.facebook.com/RedRocksCO",
"time_period": "upcoming"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_Y80BKjxagxvjcNj35nMQeWO6",
"status": "Success",
"created_at": "2026-11-25T23:52:07Z",
"request_time_taken": 1.71,
"parsing_time_taken": 0.01,
"total_time_taken": 1.71,
"request_url": "https://www.facebook.com/RedRocksCO/upcoming_hosted_events",
"html_url": "https://www.searchapi.io/api/v1/searches/search_Y80BKjxagxvjcNj35nMQeWO6.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_Y80BKjxagxvjcNj35nMQeWO6"
},
"search_parameters": {
"engine": "facebook_profile_events",
"url": "https://www.facebook.com/RedRocksCO",
"time_period": "upcoming"
},
"search_information": {
"time_period": "upcoming"
},
"profile": {
"id": "100057736057277",
"name": "Red Rocks Park and Amphitheatre",
"username": "RedRocksCO",
"link": "https://www.facebook.com/RedRocksCO",
"avatar": "https://scontent.xx.fbcdn.net/v/t39.30808-1/348332969_996396737978757_2106557121780854877_n.png?stp=dst-png&cstp=mx745x745&ctp=s200x200&_nc_cat=105&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=2_sjFVwWlKQQ7kNvwGSKygx&_nc_oc=AdomdbfQBtlpD8xSgzS_dX10LI58154ekQIE2GM_DDreow3wNqy0k7XlIIEGDVbDSE4yhwMr0ql0-7SNPaSzzcr_&_nc_zt=24&_nc_ht=scontent.xx&_nc_gid=VkC3yiyK4A2fwWwG28OOhw&_nc_ss=79389&oh=00_AQTqkgKPNynjiUK94oRRN0zbq5AjNOyjhvIDmD6iHtrT2Q&oe=6B0D5654",
"is_verified": true,
"followers": {
"text": "887K followers",
"link": "https://www.facebook.com/RedRocksCO/followers/",
"count": 887000
},
"cover_photo_original": "https://scontent.xx.fbcdn.net/v/t39.30808-6/514065974_10163269277234626_1488219062174522523_n.jpg?stp=dst-jpg_tt6&cstp=mx2048x1365&ctp=s960x960&_nc_cat=111&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=r11_E9yYg_YQ7kNvwFfFn52&_nc_oc=AdrPAugN2fvBGOF3K5nLFf2OTh6023tlCGYZKElRIzsMX9WjNww2n2epyZSMkbyLVjSJ4VzdpfXLP8067DJGO4g8&_nc_zt=23&_nc_ht=scontent.xx&_nc_gid=VkC3yiyK4A2fwWwG28OOhw&_nc_ss=79389&oh=00_AQQJU67LXKq5aLhAx_NNNEyOeTF8obW9f1II4vuizAPnNg&oe=6B0D32A2",
"cover_photo_link": "https://www.facebook.com/photo/?fbid=681588853775644&set=a.674284244506105"
},
"events": [
{
"position": 1,
"id": "1684894833247484",
"title": "Nora En Pure Presents Purified Red Rocks",
"link": "https://www.facebook.com/events/1684894833247484/",
"date": "Fri, Apr 2, 2027 at 4:30 PM MDT",
"iso_date": "2027-04-02T22:30:00Z",
"venue": {
"name": "Red Rocks Park and Amphitheatre",
"city": "Morrison"
},
"host": {
"id": "100057492796315",
"name": "Live Nation Colorado",
"username": "LiveNationCO",
"link": "https://www.facebook.com/LiveNationCO"
},
"is_past": false,
"is_canceled": false,
"is_happening_now": false,
"is_online": false,
"thumbnail": "https://scontent.xx.fbcdn.net/v/t39.99422-6/864155840_3684943971690304_6401261097895894203_n.png?stp=c143.0.914.630a_dst-jpg_tt6&cstp=mx914x630&ctp=s118x90&_nc_cat=103&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=239fc6&_nc_ohc=6Q8pVhK0rcEQ7kNvwG6fAKd&_nc_oc=AdpFaFYzeKWk92KgItPJsnQ28Ogd8YWK3H3x3tl_k6SPlKfZjA4JaU_e-psmU4CdGiiAu050t7GfmWrbfYehY6W2&_nc_zt=14&_nc_ht=scontent.xx&_nc_gid=VkC3yiyK4A2fwWwG28OOhw&_nc_ss=79389&oh=00_AQTw0EoJ6nIXfBbS6e4RV6YWb8rPjp_tGU5rqvWFYzTRxw&oe=6B0D36AE"
},
...
],
"pagination": {
"next_page_token": "eyJ0IjoiZXZlbnRzIiwiaSI6InBmYmlkMDFBUlpUUUs5cVdKeEJLQ3g5UDM1Nmp0eFhpVmtiM1FyYVM3M295UjFub1FzUW91Sk1UUExLZTZKeUNreVpjSkhMVm9kNDJvcUpBeTFLUEhTN0ZtR0R2Y0gyMll4NlhsIiwiYyI6IkFRSFRzbzlLQ1Y1QWNFem93U29QaXY2RklGWVVUU1NRZmgzM3lxWG1kcnlRVUlFb2dNeDJxZnZJVDNLVG9CTm1FbzlmTmNHNkhoRFJGTUtFME1GRFY2aU5WdyIsInAiOiIxMDAwNTc3MzYwNTcyNzciLCJ3IjoidXBjb21pbmciLCJuIjoidTpyZWRyb2Nrc2NvIn0"
}
}
Past Events
Set time_period to past to list the events that are over, the most recent
first.
https://www.searchapi.io/api/v1/search?engine=facebook_profile_events&time_period=past&url=https%3A%2F%2Fwww.facebook.com%2FRedRocksCO
- 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_profile_events",
"url": "https://www.facebook.com/RedRocksCO",
"time_period": "past"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_dbyrKD1vgMQrI7DgeJNER4zQ",
"status": "Success",
"created_at": "2026-11-25T23:52:03Z",
"request_time_taken": 3.75,
"parsing_time_taken": 0.01,
"total_time_taken": 3.75,
"request_url": "https://www.facebook.com/RedRocksCO/past_hosted_events",
"html_url": "https://www.searchapi.io/api/v1/searches/search_dbyrKD1vgMQrI7DgeJNER4zQ.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_dbyrKD1vgMQrI7DgeJNER4zQ"
},
"search_parameters": {
"engine": "facebook_profile_events",
"url": "https://www.facebook.com/RedRocksCO",
"time_period": "past"
},
"search_information": {
"time_period": "past"
},
"profile": {
"id": "100057736057277",
"name": "Red Rocks Park and Amphitheatre",
"username": "RedRocksCO",
"link": "https://www.facebook.com/RedRocksCO",
"avatar": "https://scontent.xx.fbcdn.net/v/t39.30808-1/348332969_996396737978757_2106557121780854877_n.png?stp=dst-png&cstp=mx745x745&ctp=s200x200&_nc_cat=105&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=2_sjFVwWlKQQ7kNvwGrcAnw&_nc_oc=Adr2DWOAQYcjx6QsYNgpaeZCylV40bSBNz1vOUa8j8iw7sHQq0Bsc1VqTgwAsTQ-bOI&_nc_zt=24&_nc_ht=scontent.xx&_nc_gid=aK4J4ChEo3-zhdjTx7buWQ&_nc_ss=7b389&oh=00_AQRIFpPZSwB6ggZiX6LEeftIeS1ZlBRfuEWbzWp5Q1n8Kw&oe=6B0D5654",
"is_verified": true,
"followers": {
"text": "887K followers",
"link": "https://www.facebook.com/RedRocksCO/followers/",
"count": 887000
},
"cover_photo_original": "https://scontent.xx.fbcdn.net/v/t39.30808-6/514065974_10163269277234626_1488219062174522523_n.jpg?stp=dst-jpg_tt6&cstp=mx2048x1365&ctp=s960x960&_nc_cat=111&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=r11_E9yYg_YQ7kNvwFbrhhl&_nc_oc=AdrxjigAjHemhiOoDBCFtjk6gmbnsXBaTLqpKICiVbVGwdfhs2mL31YfDZjk7wpXLXg&_nc_zt=23&_nc_ht=scontent.xx&_nc_gid=aK4J4ChEo3-zhdjTx7buWQ&_nc_ss=7b389&oh=00_AQRaslpfECWynoXogLJNHvDm2j4kNTTK_gs1Eb9DELreBg&oe=6B0D32A2",
"cover_photo_link": "https://www.facebook.com/photo/?fbid=681588853775644&set=a.674284244506105"
},
"events": [
{
"position": 1,
"id": "742233451549833",
"title": "mike. | Red Rocks Amphitheatre | November 14 - 15, 2026",
"link": "https://www.facebook.com/events/742233451549833/",
"date": "Sat, Nov 14",
"iso_date": "2026-11-15T01:00:00Z",
"venue": {
"name": "Red Rocks Park and Amphitheatre",
"city": "Morrison"
},
"host": {
"id": "100064928462588",
"name": "AEG Presents Rocky Mountains",
"username": "AEGPresentsRM",
"link": "https://www.facebook.com/AEGPresentsRM"
},
"is_past": true,
"is_canceled": false,
"is_happening_now": false,
"is_online": false,
"thumbnail": "https://scontent.xx.fbcdn.net/v/t39.30808-6/592687844_1260407479466856_4507360767649267121_n.jpg?stp=c145.0.910.628a_dst-jpg_tt6&cstp=mx910x628&ctp=s118x90&_nc_cat=110&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=239fc6&_nc_ohc=IMw0ElzD8vIQ7kNvwGfdzId&_nc_oc=Adog3BFnr97jVnnS8M7V0CvcxcDHsEBUvhAWN1nmP1jW9Rgg7U4eoWTlggYuZ96RR3c&_nc_zt=23&_nc_ht=scontent.xx&_nc_gid=aK4J4ChEo3-zhdjTx7buWQ&_nc_ss=7b389&oh=00_AQTns8JaZTfGyA6fPwbRXHaD_VTT9fYQsSE60C3SuPg4iw&oe=6B0D5C83"
},
...
],
"pagination": {
"next_page_token": "eyJ0IjoiZXZlbnRzIiwiaSI6InBmYmlkMHh5RldWdFRWSFJrUFhMY0diVUtNYlZTck43WVRNM0dGNXlTQmtKbXFENnJzV3FyeFc1NlBxVkRyWWJnd3hmZjZTUVp2dllCbXI5RDRrb0FRNFN6aW01UjRjZDlaeDNsIiwiYyI6IkFRSFRHNFVKQUhJaDVCbklRdll3OUFqNmFtNS0tc0RtcEtvMUI0R2NOeWFIdWJTMzJ1U1N1Y0gxcEo4NzBTYVZpRk5tNU4ta1ByczRiTlVzeld1a1ZGbUNhQSIsInAiOiIxMDAwNTc3MzYwNTcyNzciLCJ3IjoicGFzdCIsIm4iOiJ1OnJlZHJvY2tzY28ifQ"
}
}
Paginating Events
Pass pagination.next_page_token back as next_page_token to fetch the next page
of up to ten events. The token keeps the profile and the list, so url and
time_period may be omitted. The last page carries no token.
https://www.searchapi.io/api/v1/search?engine=facebook_profile_events&next_page_token=eyJ0IjoiZXZlbnRzIiwiaSI6InBmYmlkMDNFaFdYVkdMV1g1dVF1VXRaUmdjcmlvYjJ2RGhFQnBwU1EzUjFwaW1wN2hYaW9ybWJvTjR2aUZxUDdYc1hWaGdTeFg1dVFMNDNYNUU3NkNSdGtTZUo2Mmt5NE5SNTJTbCIsImMiOiJBUUhURzRVSkFISWg1Qm5JUXZZdzlBajZhbTUtLXNEbXBLbzFCNEdjTnlhSHViUzMydVNTdWNIMXBKODcwU2FWaUZObTVOLWtQcnM0Yk5Vc3pXdWtWRm1DYUEiLCJwIjoiMTAwMDU3NzM2MDU3Mjc3IiwidyI6InBhc3QiLCJuIjoidTpyZWRyb2Nrc2NvIn0
- 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_profile_events",
"next_page_token": "eyJ0IjoiZXZlbnRzIiwiaSI6InBmYmlkMDNFaFdYVkdMV1g1dVF1VXRaUmdjcmlvYjJ2RGhFQnBwU1EzUjFwaW1wN2hYaW9ybWJvTjR2aUZxUDdYc1hWaGdTeFg1dVFMNDNYNUU3NkNSdGtTZUo2Mmt5NE5SNTJTbCIsImMiOiJBUUhURzRVSkFISWg1Qm5JUXZZdzlBajZhbTUtLXNEbXBLbzFCNEdjTnlhSHViUzMydVNTdWNIMXBKODcwU2FWaUZObTVOLWtQcnM0Yk5Vc3pXdWtWRm1DYUEiLCJwIjoiMTAwMDU3NzM2MDU3Mjc3IiwidyI6InBhc3QiLCJuIjoidTpyZWRyb2Nrc2NvIn0"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_Rrb28K9xoXv9cOkpzE1BA7Q4",
"status": "Success",
"created_at": "2026-11-24T14:51:39Z",
"request_time_taken": 2.06,
"parsing_time_taken": 0.0,
"total_time_taken": 2.06,
"request_url": "https://www.facebook.com/profile.php?id=100057736057277&sk=past_hosted_events",
"html_url": "https://www.searchapi.io/api/v1/searches/search_Rrb28K9xoXv9cOkpzE1BA7Q4.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_Rrb28K9xoXv9cOkpzE1BA7Q4"
},
"search_parameters": {
"engine": "facebook_profile_events",
"next_page_token": "eyJ0IjoiZXZlbnRzIiwiaSI6InBmYmlkMDNFaFdYVkdMV1g1dVF1VXRaUmdjcmlvYjJ2RGhFQnBwU1EzUjFwaW1wN2hYaW9ybWJvTjR2aUZxUDdYc1hWaGdTeFg1dVFMNDNYNUU3NkNSdGtTZUo2Mmt5NE5SNTJTbCIsImMiOiJBUUhURzRVSkFISWg1Qm5JUXZZdzlBajZhbTUtLXNEbXBLbzFCNEdjTnlhSHViUzMydVNTdWNIMXBKODcwU2FWaUZObTVOLWtQcnM0Yk5Vc3pXdWtWRm1DYUEiLCJwIjoiMTAwMDU3NzM2MDU3Mjc3IiwidyI6InBhc3QiLCJuIjoidTpyZWRyb2Nrc2NvIn0"
},
"search_information": {
"time_period": "past"
},
"events": [
{
"position": 1,
"id": "4391618401161612",
"title": "Tucker Wetmore at Red Rocks Amphitheatre",
"link": "https://www.facebook.com/events/4391618401161612/",
"date": "Tue, Oct 27",
"iso_date": "2026-10-28T01:30:00Z",
"venue": {
"id": "101480364625",
"name": "Red Rocks Park and Amphitheatre",
"city": "Morrison"
},
"host": {
"id": "100064928462588",
"name": "AEG Presents Rocky Mountains",
"username": "AEGPresentsRM",
"link": "https://www.facebook.com/AEGPresentsRM"
},
"is_past": true,
"is_canceled": false,
"is_happening_now": false,
"is_online": false,
"thumbnail": "https://scontent.xx.fbcdn.net/v/t39.30808-6/643881761_1329611512546452_7948171896234302732_n.jpg?stp=c145.0.910.628a_dst-jpg_s235x165_tt6&_nc_cat=107&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=239fc6&_nc_ohc=Y3V1vZ4hQgUQ7kNvwE9Fp2F&_nc_oc=AdoVEtJ6jjTFTXhM220DScoHKMXwt6PeZV8_NLwiDYdd-hxts5w6fkQrgTCLg6RxHrs&_nc_zt=23&_nc_ht=scontent.xx&_nc_gid=3rJ43t8yTyVOz-j_jcb6cQ&_nc_ss=7b389&oh=00_AQTsGfprG5i16-QGwk_UA12YTZtX9NFdTB25fmYlX1y4Yg&oe=6B0B7A7B"
},
...
],
"pagination": {
"next_page_token": "eyJ0IjoiZXZlbnRzIiwiaSI6InBmYmlkMDNFaFdYVkdMV1g1dVF1VXRaUmdjcmlvYjJ2RGhFQnBwU1EzUjFwaW1wN2hYaW9ybWJvTjR2aUZxUDdYc1hWaGdTeFg1dVFMNDNYNUU3NkNSdGtTZUo2Mmt5NE5SNTJTbCIsImMiOiJBUUhUbC1CZGxxZWk4OEhORDhIRXdybzV6RURZaXJTWU1NTEVhcE9NQjRqTlZnenFJal81ZlJrYWZKNnhaU01uVG1GQkpvUjZjejJXdkFfOGd5MkY5dFlOU2ciLCJwIjoiMTAwMDU3NzM2MDU3Mjc3IiwidyI6InBhc3QiLCJuIjoidTpyZWRyb2Nrc2NvIn0"
}
}