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 idGET /v3/venues/:venue_id/events/: the events of a venueGET /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:
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.
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.
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:
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 isunited-kingdom--london, the part after/d/. - New York is
united-states--new-york. For online events, send the wordonline. - You can send the whole link instead. Only the place is read from it.
- A plain name such as
Londonis refused with a 400 before anything runs. Nothing is charged for it.
Which one should you use?
| You need | Use |
|---|---|
| Your own organization's events, on your own site | The official Eventbrite API |
| One event or one venue whose id you already have | The official API's event and venue calls |
| Events in a city, and they need not be Eventbrite's | Ticketmaster's Discovery API |
| What Eventbrite lists for a city or a keyword, as JSON | An 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.
APIs used in this guide
-
1 credit
Facebook Events API
The upcoming or past events a Facebook Page hosts, with dates, venue and address, organizers, ticket link and responses.
GET /v1/facebook/events -
1 credit
Eventbrite Events API
The events Eventbrite lists for a city or online, with dates and time zone, venue and coordinates, category and ticket link.
GET /v1/eventbrite/events
Guides for other sources
Every source
YouTube
- How to get a YouTube transcript in Python
- How to get a YouTube transcript in Node.js
- YouTube API quota exceeded: what the error means and how to fix it
- How to find a YouTube channel ID from a handle or URL
- How to download YouTube subtitles as SRT or VTT
- youtube-transcript-api RequestBlocked or IpBlocked: why it happens and how to fix it
- How to get YouTube comments in Python
- How to search YouTube from Python
- How to list a YouTube channel's videos in Python
- How to summarize a YouTube video with an LLM in Python
- How to get YouTube transcripts and video stats in Google Sheets
- How to get YouTube video views and likes in Python
- How to get YouTube transcripts in n8n, Make and Zapier
- LangChain YoutubeLoader fails on a server: why, and a loader that works
- How to get a YouTube channel's subscriber count in Python
- How to give Claude or Cursor access to YouTube (MCP server)
- How to get YouTube comments in Node.js
- How to analyze YouTube comments with an LLM in Python
- How to list a YouTube channel's Shorts in Python
- How to search YouTube from JavaScript
- How to get an Instagram follower count in Python
- Instagram Basic Display API alternatives: what to use after the shutdown
- Instaloader 401 Unauthorized, 429 and "Login required": what to do
- How to calculate an Instagram engagement rate in Python
- How to get an Instagram follower count in Node.js
- How to get Instagram follower counts in Google Sheets
- How to get Instagram Reel views in Python
Websites
- Clearbit Logo API alternatives: get a company logo from its domain
- How to extract email addresses from a website in Python
- How to turn a web page into Markdown in Python
- How to detect what a website is built with, in Python
- How to get the contact emails and phone numbers of websites in Google Sheets
- How to build a LangChain tool that reads web pages and searches Google
- How to turn a web page into Markdown in JavaScript for RAG
- How to extract social media links from a website in Python
- How to get a website's favicon in Python
- How to check robots.txt in Python before you fetch a page
TikTok
- How to get a TikTok video's views and likes in Python
- How to get the comments of a TikTok video in Python
- How to get a TikTok follower count in Python
- TikTok Research API: who can get access, and what to do if you cannot
- How to get TikTok video views, likes and shares in Node.js
- How to get TikTok views, likes and follower counts in Google Sheets
- How to get a Facebook Page's posts without app review
- Is there a Facebook Marketplace API?
- Facebook Groups API alternatives after its removal in 2024
- How to get a Facebook Page's follower count and contact details in Python
- How to get Google search results in Python
- pytrends 429 TooManyRequestsError: what it means and what to do
- How to get Google Trends data in Python
- Why is Wyoming first in Google Trends?
- How to get Google search results in Node.js
- How to get Google search results into Google Sheets
- How to give an LLM live Google results with tool calling
Threads
- How to get LinkedIn company data in Python
- How to search LinkedIn jobs from Python
- How to get a LinkedIn company page's latest posts in Python