Platforms/Facebook/Event

Facebook Event API

GET ยท 1 credit

Send an event's id or link, and get its name, time, place, host, description and how many people are going.

GET /v1/facebook/events/details

What people use it for

  • Event listings: show an event's full description, place and host on your own site.
  • Interest tracking: read the going and interested counts every day as an event gets closer.
  • Promotion checks: confirm an event's time and place before you feature it.

How it works with other endpoints

Find events with City events, Event search or a Page's Profile events, then send each id here for its description, which only this endpoint gives.

Limits

  • One event a call.
  • A private event, or one Facebook no longer shows, answers 403 LOGIN_REQUIRED.

Example request

const url = `${process.env.API_URL}/v1/facebook/events/details?event_id=2219404332228026`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
event_idNoAn event's id: the digits in its link (facebook.com/events/<id>). Give event_id or url.
urlNoAn event's link: facebook.com/events/<id>, with anything after it. Give event_id or url.

Example response

{
  "data": {
    "id": "2219404332228026",
    "url": "https://www.facebook.com/events/2219404332228026",
    "name": "Live Music Friday",
    "starts_at": "2026-12-04T21:00:00-06:00",
    "when": "Fri, 4 Dec at 21:00 CST",
    "place": "Brickyard Old Town",
    "online": false,
    "host": "Brickyard Old Town",
    "host_url": "https://www.facebook.com/brickyardoldtown",
    "description": "Local bands every Friday from 9pm. Free entry before 10.",
    "interested": 240,
    "going": 58,
    "image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/event-cover.jpg"
  },
  "page": null,
  "meta": {
    "platform": "facebook",
    "endpoint": "event",
    "params": {
      "event_id": "2219404332228026"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-29T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Where do event ids come from?

From the digits in an event's link, or from City events, Event search and Profile events, which list them.

What about private events?

A private event answers 403 LOGIN_REQUIRED. Facebook shows a missing event the same way, so a deleted event can answer it too.

What's the difference between when and starts_at?

starts_at is the start time with its time zone offset; when is the time as Facebook writes it, in the event's own time zone.

Works with

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required