Introducing the Instagram APIRead more →

Facebook Page Events API. Upcoming and past events, page by page.

Upcoming and past events a Page or person hosts. We handle the proxies, blocks and platform changes.

Facebook Page Events API at a glance

Returns the public events on a Facebook Page's or person's Events tab, upcoming or past, from a vanity name, profile ID or profile link. Each event has its name, whether it's scheduled, under way, over or canceled, its start time with its offset from UTC, whether it's online, its venue and city, its cover and who hosts it. Narrow them by date with since and until.

GET /v1/facebook/events

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 21 typed fields null when unknown
  • 8 upcoming and past events per page, oldest first
  • handle is all it needs, e.g. jannuslive

Send one request. Get up to 8 upcoming and past events back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
handle = jannuslive
GET /v1/facebook/eventsTry in
const params = new URLSearchParams({
  handle: "jannuslive",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/events?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/facebook/eventsLong arrays and strings are shortened here. Real responses are complete.Docs

What you send and what comes back.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Facebook Events doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The Facebook profile (a Page's or a person's): its vanity name (jannuslive, case-insensitive), its numeric profile ID, or any link to it: facebook.com/<name> with any tab after it, profile.php?id=…, /people/<name>/<id>, /p/<name>-<id>.

  • What comes back

    Public events with their start and end, time zone, venue or online flag, hosts, categories, ticket link and attendance.

platformstring
Platform ID (facebook, …).
idstring
Platform-native event ID (string; Facebook's numeric event ID).
urlstring
Canonical event page URL (https://www.facebook.com/events/<id>/).
namestring
The event's name as its page shows it.
descriptionstring
Its description as plain text; null when it has none.
statusstring
At fetch time: scheduled (not started), ongoing (started, not over), ended (over), canceled (called off by its hosts); unknown when the source that answered does not show it (a fallback whose results hold only a name and a picture). New values may be added; treat any other value as unknown.
start_atstring
When it starts, RFC 3339 UTC; null only when the platform shows no start.
end_atstring
When it ends, RFC 3339 UTC; null when its hosts set no end or the platform does not show it.

What teams build with the Facebook Page Events API.

  • List what a venue or band has coming up

  • Watch a Page for new or canceled events

  • Collect a venue's or brand's event history

  • Fill a local calendar with covers and venues

Good to know before you build.

  • Upcoming events come soonest first and past events latest first, so since ends a walk of past events and until a walk of upcoming ones.
  • Attendance, categories, descriptions, tickets and end times aren't in the list: the Facebook Event API returns them for an event's ID.
  • utc_offset_minutes is null for past and multi-day events and for one under way, because Facebook then shows the days alone or "Happening now" instead of the local start time.
  • hosts names who created the event and the profile it's listed on, and the Facebook Event API lists every host. The profile's name, picture and badge are filled when you send it by name.
  • The list holds what Facebook shows logged out, which for a person can be far fewer events than the count on their tab.
  • A profile with no events, or none in the tab you ask for, returns an empty list.
  • A link to a profile's past_hosted_events tab reads as the profile: send time=past for those events.
  • An unknown name, a profile not open to the public and a deactivated one all return private_or_unavailable, because Facebook answers them alike.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Facebook Page Events API.

More in the API reference.

How is this different from the Facebook City Events API?
This one lists the events a Page or person hosts. The Facebook City Events API lists the events Facebook files under a city, whoever hosts them.
How much does the Facebook Page Events API cost?
A page of up to 8 upcoming and past events costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it on an account you know.

Paste its handle or link in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs