Facebook Events Search API
Public Facebook events matching a search term. Results are ranked and biased toward where Facebook places the request, so the same query can return a different set on another call. Treat this as discovery, not as an enumerable list. Calls cost 1 credit each. A cache hit is free, and a failed or empty response is never charged.
Try it
Prefilled with the request that produced the example below. No key yet? Get a free key.
Request
GET
/v1/facebook/events/search| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | What to search for, e.g. "jazz festival" |
Also accepts cache_max_age (a hit costs 0 credits) and include_raw (returns the untouched upstream payload under raw).
curl
curl "$API/v1/facebook/events/search?query=jazz%20festival&cache_max_age=7d" \
-H "x-api-key: $KEY"JavaScript
const query = new URLSearchParams({
query: 'jazz festival',
cache_max_age: '7d',
});
const response = await fetch(`${API}/v1/facebook/events/search?${query}`, {
headers: { 'x-api-key': KEY },
});
const body = await response.json();
if (!body.success) throw new Error(body.error.code);
// 1 credit, 0 on a cache hit
console.log(body.data, body.meta.creditsCharged);Python
import os, httpx
r = httpx.get(
f"{os.environ['API']}/v1/facebook/events/search",
params={
"query": "jazz festival",
"cache_max_age": "7d",
},
headers={"x-api-key": os.environ["KEY"]},
timeout=30,
)
body = r.json()
if not body["success"]:
raise RuntimeError(body["error"]["code"])
print(body["data"], body["meta"]["creditsCharged"])Example response
Captured on , with raw removed and lists cut to two items. A live call returns current data.
response
{
"success": true,
"data": {
"items": [
{
"platform": "facebook",
"id": "1602133408309700",
"name": "OPENING NIGHT! ORRIN EVANS MEETS KURT ELLING",
"url": "https://www.facebook.com/events/1602133408309700/",
"description": null,
"startsAt": null,
"endsAt": null,
"timeText": null,
"isOnline": null,
"isCanceled": null,
"isPast": null,
"place": null,
"hostId": null,
"hostName": null,
"hostUrl": null,
"thumbnailUrl": "https://scontent-nrt6-1.xx.fbcdn.net/v/t39.99422-6/814493625_1423994406343536_1394295435659869021_n.png?stp=c293.0.1463.1463a_cp0_dst-jpg_tt6&cstp=mx1463x1463&ctp=s64x64&_nc_cat=111&ccb=1-7&_nc_sid=80b81f&_nc_ohc=KXDWmgIKJQ0Q7kNvwHCfHqG&_nc_oc=AdqJ1A7OJt521IAivBF7xHTvaqFp12mcZA2dp8tTfverLl7_vXaoDBP_zmXvm6uP4ck&_nc_zt=14&_nc_ht=scontent-nrt6-1.xx&_nc_gid=I4ezxJemFxBKlxe3KQxx4Q&_nc_ss=70289&oh=00_AQNZKV-8FkWBPPmwoDAoEfvauKnOrGhKMIGQB5kpDrGb9A&oe=6ADDF96C",
"ticketPriceText": null,
"interestedCount": null,
"fetchedAt": "2026-10-21T01:51:44.414Z"
},
{
"platform": "facebook",
"id": "1121879620384488",
"name": "Leimert Park Jazz Festival presents Sunday Jazz at The World Stage",
"url": "https://www.facebook.com/events/1121879620384488/",
"description": null,
"startsAt": null,
"endsAt": null,
"timeText": null,
"isOnline": null,
"isCanceled": null,
"isPast": null,
"place": null,
"hostId": null,
"hostName": null,
"hostUrl": null,
"thumbnailUrl": "https://scontent-nrt1-1.xx.fbcdn.net/v/t39.99422-6/833936732_1801338651000865_3797517968379668339_n.png?stp=c458.0.1005.1005a_cp0_dst-jpg_tt6&cstp=mx1005x1005&ctp=s64x64&_nc_cat=108&ccb=1-7&_nc_sid=80b81f&_nc_aid=0&_nc_ohc=mH3VCe3x3rkQ7kNvwGYFVqa&_nc_oc=AdrMbLxK9loWAMoR9C6eK9RJx8g-cq21MEbiqJT9ABaqIMngxHHafkkvLlvh4wRsktQ&_nc_zt=14&_nc_ht=scontent-nrt1-1.xx&_nc_gid=I4ezxJemFxBKlxe3KQxx4Q&_nc_ss=70289&oh=00_AQO5am_SZ3eqEAMF8qI_YdDuHh3j06m0H_1Bi7jcy3wZNQ&oe=6ADDFE5B",
"ticketPriceText": null,
"interestedCount": null,
"fetchedAt": "2026-10-21T01:51:44.414Z"
}
]
},
"pagination": {
"cursor": null,
"hasMore": true,
"count": 11
},
"meta": {
"platform": "facebook",
"endpoint": "facebook.eventsSearch",
"creditsCharged": 1,
"cached": false,
"cacheAgeSeconds": null,
"durationMs": 4744,
"requestId": "req_rsbhengvcp9m0p3cvi10"
}
}Returns
Returns a list of object in data.items.
Fields
| Field | Type | Present | Description |
|---|---|---|---|
| platform | "facebook" | always | |
| id | string | always | |
| name | string | null | always | |
| url | string | always | |
| description | string | null | always | |
| startsAt | string | null | always | ISO 8601, UTC. |
| endsAt | string | null | always | ISO 8601, UTC. Null when the event has no end time. |
| timeText | string | null | always | Facebook's own rendering of the time, e.g. "Sat, Sep 5 at 3:00 PM MDT". It carries the event's LOCAL timezone, which the epoch timestamps do not. |
| isOnline | boolean | null | always | |
| isCanceled | boolean | null | always | |
| isPast | boolean | null | always | |
| place | object | null | always | |
| place.id | string | null | always | |
| place.name | string | null | always | |
| place.address | string | null | always | |
| place.latitude | number | null | always | |
| place.longitude | number | null | always | |
| hostId | string | null | always | |
| hostName | string | null | always | |
| hostUrl | string | null | always | |
| thumbnailUrl | string | null | always | |
| ticketPriceText | string | null | always | |
| interestedCount | number | null | always | People who marked the event Interested or Going. In list results above a thousand, Facebook's rounded figure ("1.2K"). |
| fetchedAt | string | always |
Cost and behaviour
| Credits | 1 per live request, 0 on a cache hit |
| Cacheable | yes: cache_max_age accepts a cached copy |
| Batchable | yes: usable as a target in POST /v1/jobs/batch |
| Subscribable | no |
Other Facebook endpoints
- /v1/facebook/ad-library/ad Ad details
- /v1/facebook/ad-library/ad-transcript Ad video transcript
- /v1/facebook/ad-library/advertisers Find advertisers running ads
- /v1/facebook/ad-library/page-ads All ads for one advertiser
- /v1/facebook/ad-library/search Search the Meta Ad Library
- /v1/facebook/city-events Get the events of a city
- /v1/facebook/comment-replies Replies to a comment
- /v1/facebook/event Event details