Facebook API
Facebook Events API
List public Facebook events for a city or place by its events-page URL (event name, date, venue, and attendance) as normalized JSON.
POST/v1/run/facebook.events
Requests
-
30d
Try it
Make your first request
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
"data": {
"events": [
{
"dayTimeSentence": "2024-01-15T09:30:00Z",
"goingCount": 12500,
"id": "a1b2c3d4",
"interestedCount": 12500,
"isOnline": true,
"name": "Example title",
"placeName": "Example title",
"startTimestamp": 42,
"url": "https://example.com/page"
}
],
"nextCursor": "example"
},
"found": true
}Response interface
interface FacebookEventsResponse {
data: {
events: {
dayTimeSentence: string;
goingCount: number;
id: string;
interestedCount: number;
isOnline: boolean;
name: string;
placeName: string;
startTimestamp: number;
url: string;
}[];
nextCursor: string | null;
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-17 · uptime and latency measured over 30dPOST /v1/run/facebook.events
curl -X POST https://api.getanyapi.com/v1/run/facebook.events \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| url | string | "https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547"URL of a city's or place's Facebook Events page (e.g. https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547). |
| cursor | string | Pagination cursor from a previous response to fetch the next page. |
| time | enum | Timeframe filter for the returned events. Defaults to all time. |
| Response | ||
| data | object | |
| data.events | object[] | |
| data.events[].dayTimeSentence | string | Populated whenever the provider has data for the entity. |
| data.events[].goingCount | integer | |
| data.events[].id | string | Populated whenever the provider has data for the entity. |
| data.events[].interestedCount | integer | |
| data.events[].isOnline | boolean | |
| data.events[].name | string | Populated whenever the provider has data for the entity. |
| data.events[].placeName | string | Populated whenever the provider has data for the entity. |
| data.events[].startTimestamp | integer | Populated whenever the provider has data for the entity. |
| data.events[].url | string | Populated whenever the provider has data for the entity. |
| data.nextCursor | string | Opaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the Facebook Events API
The AnyAPI Facebook Events API returns Facebook events data as normalized JSON from one POST call to /v1/run/facebook.events. List public Facebook events for a city or place by its events-page URL (event name, date, venue, and attendance) as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum.
It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.
List public Facebook events for a city or place by its events-page URL (event name, date, venue, and attendance) as normalized JSON. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.
More to call
Other Facebook endpoints
Profilefrom $1.20 /1k reqProfile postsfrom $1.20 /1k reqPostfrom $1.20 /1k reqPost commentsfrom $1.20 /1k reqProfile reelsfrom $1.20 /1k reqAd detailsfrom $1.20 /1k reqAd details fullfrom $4.62 /1k reqAd transcriptfrom $1.20 /1k reqAds searchfrom $1.20 /1k reqComment repliesfrom $1.20 /1k reqCompany adsfrom $1.20 /1k reqEvent detailsfrom $1.20 /1k reqEvents searchfrom $1.20 /1k reqFollowersfrom $6.60 /1k resultsGroup postsfrom $1.20 /1k reqMarketplacefrom $1.20 /1k reqMarketplace itemfrom $1.20 /1k reqMarketplace location searchfrom $1.20 /1k reqPage contactfrom $1.20 /1k reqPhotosfrom $1.20 /1k reqPost transcriptfrom $1.20 /1k reqProfile eventsfrom $1.20 /1k reqSearch companiesfrom $1.20 /1k reqSearch pagesfrom $11.18 /1k resultsSearch postsfrom $3.15 /1k results