Facebook Profile Events API
Events hosted by a public Facebook Page, upcoming ones first, with past events where Facebook still lists them, eight per page; pass pagination.cursor back for the next eight. Each carries start time, place, host and the cover photo. 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/profile-events| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | Page URL, @handle, slug, or numeric page id |
| cursor | string | no | pagination.cursor from a previous response |
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/profile-events?url=https%3A%2F%2Fwww.facebook.com%2Fmetmuseum&cache_max_age=7d" \
-H "x-api-key: $KEY"JavaScript
const query = new URLSearchParams({
url: 'https://www.facebook.com/metmuseum',
cache_max_age: '7d',
});
const response = await fetch(`${API}/v1/facebook/profile-events?${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/profile-events",
params={
"url": "https://www.facebook.com/metmuseum",
"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": "1096800594759087",
"name": "Teens Take The Met! (Ages 13–18) ",
"url": "https://www.facebook.com/events/1096800594759087/",
"description": null,
"startsAt": "2024-05-31T20:00:00.000Z",
"endsAt": null,
"timeText": "Fri, May 31, 2024",
"isOnline": false,
"isCanceled": false,
"isPast": true,
"place": {
"id": "842192351286754",
"name": "1000 5th Ave, New York, NY, United States, New York 10028",
"address": null,
"latitude": null,
"longitude": null
},
"hostId": "100064879894574",
"hostName": "The Metropolitan Museum of Art, New York",
"hostUrl": "https://www.facebook.com/metmuseum",
"thumbnailUrl": "https://scontent.fsin17-1.fna.fbcdn.net/v/t39.30808-6/485768529_1070082381831082_888722756516245932_n.jpg?stp=c177.0.1566.1080a_dst-jpg_tt6&cstp=mx1566x1080&ctp=s118x90&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=239fc6&_nc_ohc=cr4e7czKSdUQ7kNvwHkx5my&_nc_oc=AdqILOIyYpcu57b9i52zuXQmxpz0I7kdcmXNvjfYv6PK5usDH9CYsGCU_L50gC7A7AQ&_nc_zt=23&_nc_ht=scontent.fsin17-1.fna&_nc_gid=h-HEUtJeuI2n4N2E2qOlIQ&_nc_ss=70289&oh=00_AQNDlggdZ1rRKfRSkAPQpAjKqmbhG3sxeb7LE6PScA1eEQ&oe=6ADDE9CE",
"ticketPriceText": null,
"interestedCount": null,
"fetchedAt": "2026-10-21T01:52:13.333Z"
},
{
"platform": "facebook",
"id": "1333058394763810",
"name": "The Harlem Renaissance and Transatlantic Modernism: A Creative Convening",
"url": "https://www.facebook.com/events/1333058394763810/",
"description": null,
"startsAt": "2024-04-27T08:30:00.000Z",
"endsAt": null,
"timeText": "Sat, Apr 27, 2024",
"isOnline": false,
"isCanceled": false,
"isPast": true,
"place": {
"id": "833661905473132",
"name": "1000 5th Ave, New York, NY, United States, New York 10028",
"address": null,
"latitude": null,
"longitude": null
},
"hostId": "100064879894574",
"hostName": "The Metropolitan Museum of Art, New York",
"hostUrl": "https://www.facebook.com/metmuseum",
"thumbnailUrl": "https://scontent.fsin17-1.fna.fbcdn.net/v/t39.30808-6/485673075_1069691248536862_1370405422331951648_n.jpg?stp=c0.12.1572.1084a_cp6_dst-jpg_tt6&cstp=mx1572x1084&ctp=s118x90&_nc_cat=109&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=239fc6&_nc_ohc=kN43yWlRyGQQ7kNvwH9IogA&_nc_oc=Adr12QnvTItGWeFqLRtpG0wqjjux8aAYIrAyXLk2inKTLO_sy860RjTYcWvAiLoy98s&_nc_zt=23&_nc_ht=scontent.fsin17-1.fna&_nc_gid=h-HEUtJeuI2n4N2E2qOlIQ&_nc_ss=70289&oh=00_AQM6IRUg-ve6nOgL5SSP9FXCUp_B8YEIkVbgDHOQuW2iTQ&oe=6ADDF44F",
"ticketPriceText": null,
"interestedCount": null,
"fetchedAt": "2026-10-21T01:52:13.333Z"
}
]
},
"pagination": {
"cursor": "WyJZWEJ3WDJOdmJHeGxZM1JwYjI0NmNHWmlhV1F3VFZGTGFYSkdPVkpWTlZCdWVuRjJRbWRxY1dwTVZqYzJSVWhHVlhsNGJYcHJVVFJqYjFNM2FYQXlWRzFSUzJsVFlXaDZRMjV2V0hkaGRERnRlbU5IYmpaVVdXaENiVXhOUm1SRk5EUTFhelpIWWtSeE1VczROWGxWTjBnMk4ydz0iLCJBUUhUaHVVSmotTkd2VDdGdkJXN1BFYUNEbE1IY3VBY0k5a05nQWF2RHMwUEZnUklmcnBPejZZUjk3NVE1MmRLdWJPcFN3YnB3bFI3dldmOXJyREUxaUtWMlEiXQ.g9D1NdRb6b3X30q7kviFbA",
"hasMore": true,
"count": 8
},
"meta": {
"platform": "facebook",
"endpoint": "facebook.profileEvents",
"creditsCharged": 1,
"cached": false,
"cacheAgeSeconds": null,
"durationMs": 3516,
"requestId": "req_gg8hhzuwyufky1lqq7ld"
}
}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 | yes: as often as every 3600 seconds, firing a webhook only on a change |
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