Platforms/Facebook/City events

Facebook City Events API

GET ยท 1 credit

Send a city's id or its events page link, and get its upcoming public events, 12 a page, for any time you pick.

GET /v1/facebook/events

What people use it for

  • Local event guides: fill a "what's on this weekend" page for a city.
  • Market research: see which venues and promoters run the most events, and how many people go.
  • Travel apps: show visitors the events happening while they're in town.

How it works with other endpoints

Each event's id goes to Event for its description. To find events by name instead of by city, use Event search.

Limits

  • 12 events a page, upcoming only.
  • description is empty here; Event gives it.

Example request

const url = `${process.env.API_URL}/v1/facebook/events?city_id=111326725552547`;

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

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

Parameters

ParameterRequiredDescription
city_idNoA city's id: the digits at the end of its events page's link (facebook.com/events/explore/<city>/<id>). Give city_id or url.
urlNoA city's events page: facebook.com/events/explore/<city>/<id>. Give city_id or url.
timeNoOnly events in this time.
cursorNoFor the next page: page.next_cursor from the page before. Send the other parameters again with it.

Example response

{
  "data": [
    {
      "id": "1023456789012345",
      "url": "https://www.facebook.com/events/1023456789012345",
      "name": "Winter Craft Market",
      "starts_at": "2026-12-05T10:00:00-06:00",
      "when": "Sat, 5 Dec at 10:00 CST",
      "place": "Palmer Events Center",
      "online": false,
      "host": "Austin Makers Collective",
      "host_url": "https://www.facebook.com/austinmakers",
      "description": null,
      "interested": 1800,
      "going": 420,
      "image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/market-cover.jpg"
    }
  ],
  "page": {
    "next_cursor": "eyJhZnRlciI6IkFRSGFYIn0",
    "has_more": true
  },
  "meta": {
    "platform": "facebook",
    "endpoint": "city_events",
    "params": {
      "city_id": "111326725552547"
    },
    "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 I find a city's id?

It's the digits at the end of the city's events page: facebook.com/events/explore/<city>/<id>. You can also send that link as url.

Which times can I pick?

today, tomorrow, this_weekend, this_week or next_week. Without time, it lists all upcoming events.

Why is description empty?

The city list doesn't carry it. Send an event's id to Event for its description.

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