Eventbrite API: how to search events by city

Checked on 2026-11-19.

You cannot search Eventbrite's public events by city through its official API: Eventbrite shut that endpoint down in December 2019, and tutorials that call /v3/events/search/ describe something that is gone. The API still returns the events of your own organization, of a venue, or one event by its id. For a city's public events you need another event source, or an API that reads Eventbrite's public search.

What happened to event search

Eventbrite's changelog has the entry under December 2019, titled "Event Search API Shut Down": access to the Event Search API "will be shut down at 11:59 pm PT on Thursday, December 12, 2019". The reason it gives: "Allowing public access to this particular API was impacting our platform and the high level of service we strive to provide to our creators and their attendees."

The API reference still lists the call, as "Search Events - deprecated", with the notice that access "was shut down at 11:59 pm PT on Thursday, December 12, 2019". The documentation's three guides on searching events by location, by date and by category are marked deprecated as well.

What the official API still does

The changelog names three calls as the replacement:

  • GET /v3/events/:event_id/: one event by its id
  • GET /v3/venues/:venue_id/events/: the events of a venue
  • GET /v3/organizations/:organization_id/events/: the events of an organization

You authenticate with a private token from your Eventbrite account. The documentation's own examples find your organization and list its events:

Terminal
curl -X GET https://www.eventbriteapi.com/v3/users/me/organizations/ -H 'Authorization: Bearer PERSONAL_OAUTH_TOKEN'

curl -X GET https://www.eventbriteapi.com/v3/organizations/{organization_id}/events/ -H 'Authorization: Bearer PERSONAL_OAUTH_TOKEN'

The second call returns a list of events and a pagination object. The default rate limit in the documentation is 2,000 calls/hour and 48,000 calls/day.

Where it stops: each of the three calls starts from an id you already have, and none takes a city or a keyword. That fits showing your own events on your own site. It does not answer "what is on in this city this weekend". For public events of many organizers the changelog points to a distribution partner program that you apply to.

If any event source will do: Ticketmaster's Discovery API

If the events do not have to be Eventbrite's, Ticketmaster has an official search API. You register for an API key, and its documentation says every key gets "a default quota of 5000 API calls per day and rate limitation of 5 requests per second". The event search takes city, countryCode and keyword.

Python
import os
import requests

res = requests.get(
    "https://app.ticketmaster.com/discovery/v2/events.json",
    params={
        "city": "New York",
        "countryCode": "US",
        "keyword": "jazz",
        "size": 20,
        "apikey": os.environ["TICKETMASTER_API_KEY"],
    },
    timeout=30,
)
res.raise_for_status()
for event in res.json().get("_embedded", {}).get("events", []):
    print(event["dates"]["start"].get("localDate"), event["name"], event["url"])

Where it stops: it is a different catalog. The documentation lists its sources as Ticketmaster, Universe, FrontGate Tickets and Ticketmaster Resale, so an event that is listed only on Eventbrite is not in it. It also reaches no further than the 1000th result of a search ("size * page < 1000").

Eventbrite's events for a city, as JSON

The Pipefetch events endpoint returns what Eventbrite's own public search page lists for a place, read without a login at the moment of your request. A keyword in q searches the place for it.

Python
import os
import requests

res = requests.get(
    "https://pipefetch.com/v1/eventbrite/events",
    params={"location": "united-states--new-york", "q": "jazz"},   # q is optional
    headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
    timeout=90,
)
if res.status_code == 404:
    print("Unknown place, or no events for this search")  # not charged
else:
    res.raise_for_status()
    data = res.json()["data"]
    print(data["search"]["pageCount"], "pages of results on Eventbrite")
    for event in data["events"]:
        where = event["venue"]["name"] if event["venue"] else "online"
        print(event["startDate"], event["startTime"], event["name"], "|", where, "|", event["url"])

The same request from JavaScript, on a server:

JavaScript
const url = new URL('https://pipefetch.com/v1/eventbrite/events');
url.searchParams.set('location', 'united-kingdom--london');
url.searchParams.set('q', 'jazz');

const res = await fetch(url, {
  headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
if (res.status === 404) {
  console.log('Unknown place, or no events for this search'); // not charged
} else {
  const { data } = await res.json();
  for (const event of data.events) {
    console.log(event.startDate, event.startTime, event.name, event.venue ? event.venue.name : 'online', event.url);
  }
}

One request returns up to 20 events: the first page of Eventbrite's results for the place, in Eventbrite's order. Each event has its name, link and short summary, the local start and end with the time zone, the start as a UTC time, the venue with its address and coordinates, Eventbrite's category and format, and the ticket link. A request costs 1 credit. A place Eventbrite does not know (404 location_not_found) and a search with no events (404 no_results) cost nothing, and a new account has 100 free credits without a card.

Where it stops: there are no further pages. A request gives you the first 20 events of a search, and search.pageCount only tells you how many pages Eventbrite reports. Ticket prices and availability, the organizer's name and the full description are not included. type=online and type=venue are applied to those 20 events after they are read, so they can return fewer events, or none. It is not an official Eventbrite API, and Pipefetch is not affiliated with Eventbrite.

How to write the place

The location is not a city name. It is the place as Eventbrite writes it in the addresses of its own pages: lower-case parts joined by two hyphens.

  • Open the city's events page on eventbrite.com and look at the address. In eventbrite.com/d/united-kingdom--london/all-events/ the place is united-kingdom--london, the part after /d/.
  • New York is united-states--new-york. For online events, send the word online.
  • You can send the whole link instead. Only the place is read from it.
  • A plain name such as London is refused with a 400 before anything runs. Nothing is charged for it.

Which one should you use?

You needUse
Your own organization's events, on your own siteThe official Eventbrite API
One event or one venue whose id you already haveThe official API's event and venue calls
Events in a city, and they need not be Eventbrite'sTicketmaster's Discovery API
What Eventbrite lists for a city or a keyword, as JSONAn HTTP API such as Pipefetch

What Eventbrite's terms say

Eventbrite's Terms of Service say: "You have no right to, and you agree not to, scrape, crawl, or employ any automated means to extract data from the Sites." That sentence is about reading its pages by program, whether with a script of your own or through a service such as this one. The routes Eventbrite itself offers are the API above and its distribution partner program. Read the terms and weigh them for your own use.

Try it with 100 free credits. No card needed. No scraper to build or maintain. Get an API key or read the docs.

Every source

YouTube

Instagram

Websites

TikTok

Facebook

Google

Threads

LinkedIn

App stores

Steam

X

Pinterest

Airbnb

Real estate

Keywords

Job boards

Shopify stores

Public tenders

All guides