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

Pricing

One price, in dollars

Providers
Giraffe- served- uptime- p50$1.20/1k reqflat

Try it

Make your first request

Open in
Get a free key
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 30d
POST /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"}'
FieldTypeExample value
Request body
urlstring"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).
cursorstringPagination cursor from a previous response to fetch the next page.
timeenumTimeframe filter for the returned events. Defaults to all time.
Response
dataobject
data.eventsobject[]
data.events[].dayTimeSentencestringPopulated whenever the provider has data for the entity.
data.events[].goingCountinteger
data.events[].idstringPopulated whenever the provider has data for the entity.
data.events[].interestedCountinteger
data.events[].isOnlineboolean
data.events[].namestringPopulated whenever the provider has data for the entity.
data.events[].placeNamestringPopulated whenever the provider has data for the entity.
data.events[].startTimestampintegerPopulated whenever the provider has data for the entity.
data.events[].urlstringPopulated whenever the provider has data for the entity.
data.nextCursorstringOpaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue.
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$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.