GET
/v1/facebook/events/searchFind events
1 request
Finds Facebook events whose name matches a query. The data matches what Facebook shows on its event search page, for example this search.
Query parameters
querystringrequired | Text to search event names for. |
cursorstring | Cursor from the previous response, used to load the next page. |
curl "https://api.pandorlabs.com/v1/facebook/events/search?query=Event+name+or+description" \ -H "Authorization: Bearer $PANDORLABS_KEY"Example response
Response
{
"success": true,
"credits_charged": 1,
"events": [
{
"id": "24659081027102562",
"name": "DockDogs® at Frankenmuth Dog Bowl",
"type": "Event",
"url": "https://www.facebook.com/events/24659081027102562/",
"day_time_sentence": "Fri, May 22 - May 24",
"event_place": {
"__typename": "FreeformPlace",
"contextual_name": "Frankenmuth River Place Shops",
"__isNode": "FreeformPlace",
"id": "1455187729296539"
},
"ticketing_context_row": {
"price_range_text": null
},
"is_online": false,
"is_past": false,
"event_url": "https://www.facebook.com/events/24659081027102562/",
"event_kind": "PUBLIC_TYPE",
"start_timestamp": 1779480000,
"cover_photo": {
"accessibility_caption": "No photo description available.",
"eventImage": {
"uri": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-6/593531570_1415564506592195_6877452715877012878_n.jpg?stp=dst-jpg_p75x225_tt6&_nc_cat=108&ccb=1-7&_nc_sid=7e0d18&_nc_ohc=lfZDvDmA5TgQ7kNvwGAJ9kC&_nc_oc=AdpiWd2PvIAUMK-DqCWA4v5iUaC2q5pKzs1BCj…"
},
"id": "1415564503258862"
},
"social_context": {
"text": "21 interested · 10 going",
"interested_count": 21,
"going_count": 10,
"went_count": null
}
}
],
"cursor": "Abr1gHMU6H...."
}