Facebook API

Facebook Profile events API

List upcoming and past events hosted by any public Facebook page by URL (name, schedule, venue, and host) as normalized JSON.

POST/v1/run/facebook.profile_events
Requests
-
30d

Provider network

Providers ranked by traffic

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": [
      {
        "city": "San Francisco",
        "creatorName": "Example title",
        "dayTimeSentence": "2024-01-15T09:30:00Z",
        "id": "a1b2c3d4",
        "isCanceled": true,
        "isOnline": true,
        "isPast": true,
        "name": "Example title",
        "placeName": "Example title",
        "startTimestamp": 42,
        "url": "https://example.com/page"
      }
    ],
    "hasNextPage": true,
    "nextCursor": "example",
    "totalCount": 12500
  },
  "found": true
}
Response interface
interface FacebookProfileEventsResponse {
  data: {
    events: {
      city: string;
      creatorName: string;
      dayTimeSentence: string;
      id: string;
      isCanceled: boolean;
      isOnline: boolean;
      isPast: boolean;
      name: string;
      placeName: string;
      startTimestamp: number;
      url: string;
    }[];
    hasNextPage: boolean;
    nextCursor: string | null;
    totalCount: number;
  } | 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-16 · uptime and latency measured over 30d
POST /v1/run/facebook.profile_events
curl -X POST https://api.getanyapi.com/v1/run/facebook.profile_events \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.facebook.com/brickyardoldtown"}'
FieldTypeExample value
Request body
urlstring"https://www.facebook.com/brickyardoldtown"The Facebook page URL.
cursorstringPagination cursor from a previous response.
Response
dataobject
data.eventsobject[]Populated whenever the provider has data for the entity.
data.events[].citystring
data.events[].creatorNamestringPopulated whenever the provider has data for the entity.
data.events[].dayTimeSentencestring
data.events[].idstringPopulated whenever the provider has data for the entity.
data.events[].isCanceledboolean
data.events[].isOnlineboolean
data.events[].isPastboolean
data.events[].namestringPopulated whenever the provider has data for the entity.
data.events[].placeNamestring
data.events[].startTimestampinteger
data.events[].urlstringPopulated whenever the provider has data for the entity.
data.hasNextPageboolean
data.nextCursorstringOpaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue.
data.totalCountinteger
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

FAQ

About the Facebook Profile events API

The AnyAPI Facebook Profile events API returns Facebook profile events data as normalized JSON from one POST call to /v1/run/facebook.profile_events. List upcoming and past events hosted by any public Facebook page by URL (name, schedule, venue, and host) as normalized JSON. AnyAPI routes each request across 2 sources and falls back automatically when one fails. 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 upcoming and past events hosted by any public Facebook page by URL (name, schedule, venue, and host) 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.