Skip to content
AllEventsAllEventsDevelopers

AllEvents API Documentation

Find events, cities and organizers from AllEvents: 200M+ events across 40K+ cities and towns.

The API is read-only. Every request returns JSON.

Base URL

https://developer.allevents.in/v1

Build with AI

Copy one prompt into ChatGPT, Claude, Cursor or any coding agent. It never contains your API key.

Docs as Markdown
Pick your coding agent and see the prompt

Run claude in your project, then paste the prompt.

Add the AllEvents API to this project. Use the project's existing language, framework, HTTP client, test setup and conventions.

Read the full API docs before writing code: https://developer.allevents.in/docs.md
The endpoints, parameters and error codes are also in an OpenAPI 3.1 file: https://developer.allevents.in/openapi.json (index for language models: https://developer.allevents.in/llms.txt).
If you can't open these URLs, stop and ask me to paste the docs. Use only the endpoints and parameters they list; don't guess endpoints, parameters or response fields.

Rules that must hold in the code you write:

Authentication and secrets
- Base URL: https://developer.allevents.in/v1. The API is read-only and returns JSON.
- Send the key in the X-API-Key header on every request. Keys in the query string are not accepted.
- Read the key from an environment variable named AE_API_KEY, or the project's existing secrets mechanism.
- Don't ask me to paste a real key, and never write one into code, tests, logs or committed files. Add a placeholder to .env.example if the project has one.
- Only call the API from server-side code, never from browser or mobile app code. If this project has no server side, stop and tell me.

Responses and errors
- Check the "error" field as well as the HTTP status. Some requests that find nothing return 200 with error above 0, so treat that as "no usable result".
- Don't build logic on "message". The one exception is END_OF_RESULTS on /events/batch.
- Errors with a "code" (invalid_key, invalid_param, credits_exhausted, trial_ended, plan_expired, account_inactive, endpoint_not_allowed, rate_limited) are listed under "Error codes" in the docs. Surface them clearly; don't retry 4xx errors other than 429.
- On 429 (rate_limited), wait for the Retry-After header (seconds) and then retry. On 503, retry with backoff. Use a timeout of about 45 seconds.
- Rate limits are per minute, hour and day. Don't fire requests in parallel bursts.
- Every API takes cached=true (default, cached answers cost 0 credits) or cached=false (always fresh, charged). Use cached=false only when fresh data matters.

Requests
- Use /events/list_es for new event listings. city and country are required, and send state whenever you have it.
- Use /geo/city_suggestion to get the exact state and country values for a city.
- Values must be single values. For multi-value filters, send a comma-separated string, not an array.
- Every API returns at most 10 results per call (Events in Batch up to 1,000): a larger page size becomes 10, so use page for more. Page-size parameters differ by API: reqRows, rows or count. Unknown parameters are ignored without an error, so check each name against the docs.
- page starts at 0. A short page isn't the last page, so keep going until a page comes back with no data.

Data
- Store IDs as strings (event_id is a string, org_id a number). Every event API returns the same Event fields; see "Field types by API" in the docs.
- start_at and end_at are ISO 8601 with the venue's UTC offset (show them as venue-local time); start_ts and end_ts are Unix seconds (real UTC) for sorting and comparing. See "Dates and times" in the docs.
- Calls that return data cost credits (the cost per API is on the portal's Usage and Billing pages; no data, errors and cached answers cost 0, and each answer's credits_used says what it cost), so don't make calls you don't need, and cache results where that suits the project.

Steps
1. Look through this codebase to see how it calls external APIs and where this code belongs.
2. If my goal for the integration isn't clear from this conversation, ask me what the feature should do before you build it.
3. Add a small API client, using only the endpoints the feature needs.
4. Add tests using the project's test setup, with HTTP mocked. Don't make live API calls unless AE_API_KEY is set and I've agreed, because they use credits.
5. If CLAUDE.md already exists in this project, add a short note there about this integration and the rules above. If it doesn't, leave it out.
6. Finish by listing the files you changed, what you tested, and what I need to set up. I can create an API key at https://developer.allevents.in/keys.

APIs at a glance

APIEndpointUse it to
List Events by City (Advanced)/events/list_esList a city's events with rich filters. Recommended for new integrations.
List Events by City/events/listList a city's events with basic filters
Events by Geo Coordinates/events/geoFind events around a point
Events Search/events/searchSearch events by keyword
Event Details/get_eventGet one event with its full description
Events in Batch/events/batchSync upcoming events in bulk
Events by Organizer/organizer/eventsList one organizer's events
Search Organizers/organizers/searchFind organizers by name
City Suggestions/geo/city_suggestionAutocomplete city names

Quickstart

Make your first call in three steps.

1. Get an API key in the developer portal. The full key is shown only once, so store it safely. Put it and the base URL in environment variables:

Shell
export AE_API_KEY="ae_api_your_key"export AE_BASE_URL="https://developer.allevents.in/v1"

2. Find the exact city. City names can be ambiguous. Get its state and country first:

curl "$AE_BASE_URL/geo/city_suggestion?city=New%20York" \  -H "X-API-Key: $AE_API_KEY"

3. List events in that city. Send the suggestion's city, state and country, and check error before you read data:

curl "$AE_BASE_URL/events/list_es?city=New%20York&state=NY&country=United%20States&reqRows=10" \  -H "X-API-Key: $AE_API_KEY"

Authentication

Send your key in the X-API-Key header on every request:

X-API-Key: ae_api_your_key
  • Keys in the query string are not accepted.
  • Keep the key on your server. Don't commit it to a repository.
  • A key used in browser code needs allowed websites and only the APIs it needs.

Key restrictions, expiry and rotation

Limit each key on the API keys page. Every setting is optional: a key without settings works from anywhere, for every API your plan includes. Changes apply from the next call.

SettingRuleError on a mismatch
Allowed IP addressesUp to 20 IPv4 or IPv6 addresses or CIDR ranges, such as 203.0.113.7, 198.51.100.0/24 or 2001:db8::/32403 ip_not_allowed
Allowed APIsA subset of the APIs your plan includes403 api_not_allowed_for_key
Allowed websitesUp to 20 sites: example.com (that host only), *.example.com (its subdomains, not example.com), localhost:3000. The Origin header must match, or Referer when there is no Origin.403 origin_not_allowed
ExpiryNever, 30, 90 or 365 days, or a date (the key stops at the end of that day, UTC)401 key_expired

The page also shows each key's last use and its calls in the last 24 hours.

Calling from a browser

Only keys with allowed websites get CORS headers: a matching Origin gets Access-Control-Allow-Origin for that origin, and preflight (OPTIONS) requests are answered. Other keys get no CORS headers, so they work only server-side. Anyone can read a key in browser code, so give a browser key as few APIs as possible.

Rotating a key

Rotate a key from its menu on the API keys page. The new key has the same name and restrictions. The old key keeps working for the overlap you pick (1 hour, 24 hours or 7 days; default 24 hours) and shows "Expires in …", then fails with key_expired. If it already expires sooner, it keeps its own date.

  1. Rotate the key and copy the new one.
  2. Deploy your app with the new key.
  3. Wait until the old key's "Last used" stops changing. You can revoke it early.

Making requests

Every API accepts GET and POST, with parameters in any of these forms:

FormExample
Query stringGET /events/list_es?city=New%20York&state=NY&country=United%20States
Form bodyPOST /get_event with event_id=8000001234509 as application/x-www-form-urlencoded
JSON bodyPOST /events/search with {"query": "festival", "city": "Austin"} as application/json
  • A parameter sent in more than one form: the JSON body wins, then the form body, then the query string.
  • A body must be application/json or application/x-www-form-urlencoded (multipart/form-data also works and is read as a form; files are ignored). A POST with a body of any other type, or with no Content-Type, gets 415 unsupported_media_type. An empty body is fine with any type.
  • A JSON body must be an object ({...}). Anything else is ignored, as are JSON arrays as values.
  • Send single values. For multi-value filters, send a comma-separated string: category=music,workshops. A JSON array value ("city": ["x"]) is ignored.
  • Names with brackets (city[]=x), names starting with a space, and route are refused with 400 invalid_param.
  • Unknown parameters are ignored without an error. Check each name: the page size is reqRows, rows or count, depending on the API.

Responses and errors

How to read a response, and what each error means.

JSON
{  "message": "",  "error": 0,  "data": [],  "count": 0,  "credits_used": 0}
APIBody
List Events by City (Advanced), List Events by City, Events by Geo Coordinates, Events by Organizermessage, error, data (a list of events), count (events in data), credits_used
Events Searchmessage, error, data (a list of events), credits_used
Event Detailserror, message, data (one event, or false), credits_used
Events in Batcherror, message, result_count, next_cursor, data, has_more, credits_used
Search Organizersmessage, error, data (a list of organizers), credits_used
City Suggestionsdata (a list of cities), credits_used
  • credits_used is what this call cost, the same as the X-Credits-Used header: 0 for a cached answer, an empty result or an error. See Credits.
  • Check error as well as the HTTP status. Some requests that find nothing return 200 with error above 0. Treat error > 0 as "no usable result". Exceptions: Search Organizers and City Suggestions return 200 with an empty data list.
  • message is for people and may change. Don't build logic on it, except END_OF_RESULTS and NO_COVERED_EVENTS_YET in Events in Batch.
  • Ended events are never returned, nor hidden, draft or archived ones. So a page can be shorter than the page size, and Event Details answers 404 for an ended event.
  • Links to AllEvents pages (event_url, tickets.ticket_url, organizer.url, and the url of organizers and cities) end with utm_source=ae_api&utm_medium=api&utm_campaign=<your code>, where the code is 6 characters that identify your account and key. Keep them when you show or store a link. Image links have none. The examples here use the code k7f2qa.
  • Text is plain UTF-8, emojis included; HTML entities are already decoded, so escape text yourself when you put it in HTML. A field an API doesn't send is left out, and a missing value is null (never "" or 0). In descriptions, emails, phone numbers and links are partly masked (such as 63511xxxxx), and description.html is sanitized: only common formatting tags, no scripts, event handlers or links to other sites.

HTTP status codes

StatusMeaning
200Processed. Check error for "no results" or "outside your coverage".
400A parameter is missing, invalid or no longer supported (<param> is not supported in v1.), the page is too deep, or the city was not found. Fix the request using message. A bad parameter name gets invalid_param.
401Key problem: invalid_key, key_expired
402No credits to pay for the call: credits_exhausted, trial_ended, plan_expired
403Not allowed: account_inactive, endpoint_not_allowed, ip_not_allowed, api_not_allowed_for_key, origin_not_allowed
404The API, event or organizer was not found. Check the URL or ID. An unknown API path gets unknown_api.
415The request body isn't JSON or a form: unsupported_media_type
429rate_limited
5xxTemporary failure on our side: service_unavailable, upstream_unavailable, or a 503 without a code ({"error":1,"message":"Something went wrong. Try again shortly.","credits_used":0}) from the data source. Nothing is charged. Retry with backoff, after Retry-After seconds when it's sent.
JSON
{  "error": 1,  "code": "credits_exhausted",  "message": "You've used all your credits for this period. Cached answers stay free; fresh calls need credits. Upgrade to Growth for more: https://…/billing",  "upgrade": { "plan": "GROWTH", "name": "Growth", "url": "https://…/billing", "action": "upgrade" },  "credits_used": 0}
  • code is sent only for the errors below. Every error with a code also has "credits_used": 0 (last) and X-Credits-Used: 0.
  • 402 errors also have upgrade: the plan that lifts the limit and where to get it. action is upgrade, renew or book_a_call (Enterprise).
  • A 429 body has only error, code, message and credits_used.
  • Other errors have no code: {"error": 1, "message": "…", "credits_used": 0}, sometimes with the API's normal fields, such as data. Validation errors are 400, such as <param> is required., page cannot be negative. or <param> is not supported in v1.

Error codes

Every error with a code costs 0 credits.

invalid_key

401. The key is missing, invalid or revoked. Send it in the X-API-Key header (not the query string) and check it's active on the API keys page. A revoked key can't be restored: create a new one. An expired key gets key_expired.

key_expired

401. The key's expiry date passed, or it was rotated and the overlap ended. Use its replacement or create a new key. It works again only if you change its expiry. Message: "This API key has expired. Create a new key on the Keys page."

invalid_param

400. A parameter name has brackets (city[]=x), starts with a space, or is route. Use plain names and single values, such as category=music,workshops.

missing_param

400. A required parameter is missing or empty; message names it ("country is required."). Each API's parameter table marks the required ones.

unknown_api

404. No API at this path or version. Check the path against the API reference and the version (/v1/).

unsupported_media_type

415. The POST body has a Content-Type the API doesn't read (for example text/plain), or none. Send the parameters in the query string, or as an application/json or application/x-www-form-urlencoded body.

credits_exhausted

402. No credits left for this billing period. Cached answers still work. Upgrade, buy extra credits or wait for renewal; upgrade names the plan that lifts the limit.

trial_ended

402. Your free trial's credits are used, or you haven't claimed them yet (a new account has 0 credits until you claim them on the Billing page). Every call stops, cached ones too. Claim your free credits or pick a plan.

plan_expired

402. Your paid plan expired and nothing is left to pay for the call: top-up credits are used, and either today's 100 grace credits are used or the 3 grace days are over. Renew your plan. Until then responses carry X-Plan-Status: expired (see Credits).

account_inactive

403. The account is not active. Check your account and billing, or contact support with the call's X-Request-Id.

endpoint_not_allowed

403. Your plan doesn't include this API. Upgrade, or use an API your plan includes. See Plans and APIs.

ip_not_allowed

403. The call came from an IP the key doesn't allow; message names the IP we saw. Add the IP or its CIDR range (203.0.113.0/24, 2001:db8::/32) to the key. Behind a proxy or NAT we see the last hop's public address.

api_not_allowed_for_key

403. The key is limited to other APIs. Add this API to the key or use another key. (Your plan may include it; endpoint_not_allowed is the plan-level error.)

origin_not_allowed

403. The key has allowed websites, and the call came from another site or had no Origin or Referer (for example from a server or curl). Add the site to the key. For server calls, use a key without website restrictions.

rate_limited

429. Too many requests in this window. Wait Retry-After seconds, then retry, or upgrade for higher limits. See Rate limits. Many calls with invalid keys from one IP also get 429 ("Too many requests with invalid API keys. Try again after ~45s.") with Retry-After; fix the key. These don't count against your limits.

service_unavailable

503. The API is briefly unavailable on our side (for example while the store that counts credits and limits can't be reached). Nothing is charged and nothing is counted. Retry after Retry-After seconds, with backoff.

upstream_unavailable

503. The data source didn't answer in time or failed. Nothing is charged. Retry with backoff; send the X-Request-Id to support if it keeps happening.

Credits

A call that returns data costs credits, however many results it returns. How many credits each API costs is shown in the portal (Usage and Billing pages), and every answer says what it cost. These cost 0:

  • No results, or outside your coverage
  • A cached answer (X-Cache: HIT)
  • Any 4xx or 5xx error
  • A response with an empty body
  • Events in Batch answering NO_COVERED_EVENTS_YET

The body's credits_used says what the call cost. Every response has these headers:

HeaderMeaning
X-Credits-Used, X-Credits-ChargedCredits charged for this call, the same as credits_used
X-Credits-LimitCredits in your current period
X-Credits-RemainingCredits left
X-Request-IdID of this request. Include it when you contact support.
X-Plan-Statusexpired once your paid plan has expired, with X-Plan-Warning. Calls then use your top-up credits, then 100 grace credits a day for 3 days (X-Grace-Day: 1 of 3 …, and X-Grace-Ends).

Cached answers

Repeating a call with the same parameters (in any order) within 1 hour gets a cached answer: 0 credits and fast. For Event Details and Events in Batch (cached per next_cursor) the window is 10 minutes, since those answers change more often. Only answers with data are cached: errors, empty results and answers outside your coverage never are, so a retry always gets a fresh answer. A cached answer says what it cost: credits_used in the body and X-Credits-Used are both 0.

HeaderMeaning
X-CacheHIT (cached), MISS (fresh) or BYPASS (fresh because of cached=false)
Age, X-Cache-AgeSeconds since a cached answer was fetched
X-Cache-Source: sharedWith MISS: the same request was fetched moments ago (at most 1 hour, see Age). Charged like a fresh call.

Every API takes cached:

  • cached=true (default) allows a cached answer.
  • cached=false always fetches fresh data, as does Cache-Control: no-cache. It's charged and refreshes the cache for the next call.
  • false, 0 and no mean false. Any other value means true.
  • cached isn't passed to the data source and doesn't change which answer is cached.

Send Accept-Encoding: gzip (most clients do) to get cached answers compressed.

Rate limits

Your plan sets limits per minute and per day (the free trial also has an hourly limit). Your limits and usage are on the Usage page.

  • Paid plans have separate, higher limits for cached answers. On the free trial, fresh and cached calls share one set.
  • Every answered request counts, even at 0 credits. A request refused with 429 doesn't.
  • Windows are fixed: a minute starts at :00, a day at 00:00 UTC.
  • Over a limit you get 429 rate_limited: "You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits." Wait Retry-After seconds, then retry.

Coverage

Your plan sets the countries, states and cities you can read, or everywhere.

You requestWhat happens
A place outside your coverage200 with error: 1 and "This city is not in your coverage.", 0 credits
Events by Geo Coordinates around a point outside your coverage200 at once, with error: 1 and "This location is not in your coverage.", 0 credits
One event outside your coverage200 with error: 1 and "This event is out of your API Scope.", 0 credits
A list with no place namedOnly events in your coverage are returned
  • An event is also covered if its venue is within 25 km of the center of a covered city in the same country, which includes suburbs and other spellings.
  • With limited coverage, a page can be short or empty even when more results exist. Events by Geo Coordinates, Events Search and Events by Organizer without city check up to 1,000 source rows per request.

Plans and APIs

Not every plan includes every API, and the response fields of an API can differ by plan.

  • Each API in the API reference shows the plans that include it today ("Available on"), read live from our plans. The APIs by plan table at the top of the docs page shows all of them at once. Plans can change, so check there rather than copying a list.
  • An API outside your plan answers 403 endpoint_not_allowed, with 0 credits.
  • When a plan returns fewer fields for an API, its "Available on" box lists the difference. Read fields defensively: a field that isn't in your plan is left out of the answer, not sent empty.
  • Your own plan's APIs are on the API keys page and in the Playground.

Pagination

Page size, default and maximum by API:

APIStylePage size parameterDefaultMaximum
/events/list_esPagereqRows1010
/events/listPagereqRows1010
/events/geoPagerows1010
/events/searchPagerows1010
/organizer/eventsPagecount1010
/organizers/searchPageNone1010
/events/batchCursorcount (1 to 1000)10001000

Dates and times

  • Request dates (sdate, edate) are best sent as YYYY-MM-DD (relative forms such as next friday are also read), as whole days in the event's city.
  • start_at and end_at are the venue's local date and time in ISO 8601, with its UTC offset: 2026-12-05T19:00:00-06:00 starts at 19:00 at the venue. An event without an end time has end_at equal to start_at. To show the venue's time, show the date and time as written; don't convert them to the viewer's time zone unless you mean to.
  • start_ts and end_ts are the same moments as Unix seconds, real UTC: 2026-12-05T19:00:00-06:00 is 1796518800 (01:00 UTC on 6 December). Use them to sort, compare and count down.
  • timezone is the venue's UTC offset as ±HH:MM (-06:00, +05:30, +00:00), on every event item.
  • label is ongoing (started, not over), today, tomorrow or upcoming, on the venue's calendar (an event with several dates by its next date), as of when the answer was made (a cached answer can be up to an hour old).
  • display.short and display.full are ready-made text in the venue's time, such as Sat, 5 Dec • 7:00PM to 10:00PM and Sat, 5 Dec 2026 • 7:00 PM to 10:00 PM (CST). Show them; don't parse them.
  • Events with several dates have schedule.has_multiple_dates: true, schedule.next_date (the next date, ISO 8601, or null when none is upcoming) and schedule.upcoming_dates (how many are left; 1 for a one-time event). start_at is then the start of the series and can be in the past, and end_at is the end of the last date. Event Details and Events in Batch also list every upcoming date in schedule.dates.
  • Ended events are never returned. An event has ended when end_ts is before now. Drop stored events at that moment too.

AI agents and coding assistants

The docs in forms tools can read without running JavaScript:

URLWhat it is
https://developer.allevents.in/docs.mdThese docs as one Markdown file
https://developer.allevents.in/llms.txtShort index for language models (llmstxt.org format)
https://developer.allevents.in/llms-full.txtFull docs as plain text
https://developer.allevents.in/openapi.jsonOpenAPI 3.1: endpoints, parameters and error codes

The docs page has a setup prompt for Claude Code, Codex, Cursor, Windsurf, GitHub Copilot, OpenCode, Gemini CLI and Cline. It never contains your key. There is no MCP server.

Rules for generated code:

  • Read the key from an environment variable such as AE_API_KEY. Never put a real key in a prompt, code, tests or logs.
  • Call the API only from server-side code.
  • Check error as well as the HTTP status. On 429, wait Retry-After seconds.
  • Calls that return data cost credits (see the portal's Usage and Billing pages); no data, errors and cached answers cost 0. Cache results, and send cached=false only when you need fresh data.

Versioning and deprecation

The version is in the path: /v1. v1 is stable.

  • Changes within v1 are backward compatible: we may add APIs, optional parameters, response fields, headers and error codes. Ignore unknown fields and don't depend on field order. message text can change at any time.
  • Breaking changes (removing or renaming a parameter, field or API, changing a field's type, or changing which status or code a request gets) are announced here ahead of time where possible. They ship without notice only to fix a security or abuse problem.
  • Deprecated items are marked here until removed, with their replacement and the date they stop working.
  • A /v2 would be used only for changes that can't be made compatibly, announced here with a migration guide and a period in which both versions work.
  • A path with a version that doesn't exist returns a JSON 404.

Recent changes

24 November 2026: search and batch fixes

  • Events Search: city is now matched like the list APIs, and new optional state and country pick the right city. A city that isn't recognized answers 400 Invalid City (0 credits) instead of being ignored.
  • Events in Batch: count of 0, a negative or a non-whole number answers 400 count must be between 1 and 1000. (0 credits). Before, 0 returned 1,000 events.
  • Coverage changes made in the portal apply to the next call (before: up to 5 minutes), and answers are cached right after a change.

24 November 2026: new response schema (breaking)

  • One fixed Event object on every event API (see Response fields): event_id, eventname, event_url, start_at/end_at (ISO 8601 with the venue's offset), start_ts/end_ts (Unix seconds, real UTC), timezone, label, display, schedule, venue (with name; numeric coordinates), is_online, organizer (org_id is now an integer; with url), categories, thumb_url, banner_url, price, tickets (with provider) and description. Event Details and Events in Batch add video_url, schedule.dates, description.text, description.html and updated_at. Organizers (Search Organizers) and cities (City Suggestions) have fixed fields too.
  • Removed in 2026-11-24: eventname_raw, owner_id, thumb_url_large, share_url, featured, score, promo_weight, tags, custom_params, venue_id, venue_url, start_time, end_time, start_time_display, end_time_display, every display_*, app_display_* and web_display_* string, object_type, end_url, distance, recurring_event_details, ticket, has_slots, slots_data and the body's request. Moved: location is venue.name; short_description and description_html are in description; ticket currency and prices are in price; the organizer's organizer_id is org_id; a city's region_code is state and region is state_name.
  • Every body has credits_used, what the call cost (0 when cached). Events Search returns only events: no keyword, city or category entries, and no rows.
  • Removed parameters answer 400 <param> is not supported in v1. (0 credits): popular on List Events by City; formats, formats_op, popular, featured and high_confidence on List Events by City (Advanced), whose category now always matches an event's high-confidence categories. sort=popular still works.
  • Page size is at most 10 on every API (default 10; Events in Batch count 1 to 1,000), and pages can't go past 10,000 results (list APIs) or 1,000 (geo, search, organizers). See Pagination.
  • Events in Batch: next_cursor is an opaque string that changes on every response. Old c<number> cursors answer 400 next_cursor is not valid.: start again without a cursor. Accounts with narrow coverage can get NO_COVERED_EVENTS_YET (0 credits): continue with next_cursor.
  • Descriptions are masked (emails, phone numbers and links, such as 63511xxxxx) and description.html is sanitized. Emojis are sent as UTF-8.
  • Events by Geo Coordinates outside your coverage answers at once: This location is not in your coverage., 0 credits. A failure in the data source answers 503 JSON with credits_used: 0. The gateway's own errors also carry "credits_used": 0 and X-Credits-Used: 0.

23 November 2026

  • Every API returns at most 10 results per call (reqRows, rows or count up to 10; the default is now 10). A larger value becomes 10, so existing code keeps working with smaller pages: use page for more. Events in Batch is unchanged (up to 1,000).

19 November 2026

  • No API returns ended, draft or hidden events. Event Details answers 404 Event has ended or is not available; Events by Organizer answers 400 for past other than 0.
  • tickets.ticket_url goes through allevents.in (see Ticket links). pages/rd links are no longer returned.
  • timezone is always ±HH:MM, on every event item except search results.
  • Removed internal fields from event items: params, ex_params, origin_url, sort_time, buy_ticket, rsvp_status, spam, draft, status, id, the top-level ticket_url and, in search, field_weight.
  • organizer is null on events from some imported listings, and Search Organizers doesn't return those organizers. Events by Organizer fills organizer with the requested organizer.

Troubleshooting

Include the call's X-Request-Id header when you contact support.

What you seeCause and fix
200 with error above 0Nothing found, or outside your coverage. 0 credits.
400 Invalid CitySend state: get state and country from City Suggestions.
400 … is not supported in v1.The parameter was removed on 24 November 2026 (Recent changes). Drop it; for popularity use sort=popular.
400 next_cursor is not valid.An old c<number> cursor, or a cursor that was changed. Start the sync again without next_cursor (Events in Batch).
400 for a deep page(page + 1) × page size is over 10,000 (list APIs) or 1,000 (geo, search, organizers). Narrow the filters (Pagination).
A filter does nothingUnknown parameters are ignored. Check the name, including the page size (reqRows, rows or count).
A page is shorter than the page sizeNormal with limited coverage. Continue until a page is empty (Pagination).
An event is missing, or get_event answers 404It ended or was hidden (Dates and times).
Event times are off by hoursShow start_at as written, or display, for the venue's time; start_ts is real UTC (Dates and times).
A field you used is missingIt was removed or moved on 24 November 2026 (Recent changes).
5xxTemporary, never charged. Retry with backoff.
The same answer keeps coming backIt's cached (X-Cache: HIT). Send cached=false (Cached answers).
429Wait Retry-After seconds (Rate limits).
401, 402 or 403 with a codeSee Error codes.

List Events by City (Advanced)

Lists events that start in a city, with rich filters and sorting. Each result has the same fixed set of fields. Use this API for new integrations.

GET | POST/v1/events/list_es

Parameters

Location

  • citystringRequired

    City name, such as New York.

  • statestringRecommended

    State or region code or name, such as England or NY.

  • countrystringRequired

    Country name or code, such as United Kingdom.

  • latitudenumber

    Limits results to a radius inside the city. Send with longitude and radius.

  • longitudenumber

    See latitude.

  • radiusinteger

    Radius in km. Maximum 100. See latitude.

Send country, and state whenever you have it. Without state, many cities return 400 Invalid City. Get both from City Suggestions.

Dates

  • whenstring

    today, tomorrow, this_weekend, this_week, next_week, this_month or next_month. Not with sdate or edate.

  • sdatedate

    First day of the range. Alone, the range is only that day. Default: Today.

  • edatedate

    Last day of the range. Can't be before sdate. Default: No end.

Only events that start inside the range are returned, not ones already running. Recurring events match on the start of their series, not their next date.

Content

  • categorycomma-separated

    Category slugs, such as music,workshops, as in the categories response field. Matches the categories we are most confident about for each event.

  • category_opor, and

    Whether an event needs any category value, or all of them. Default: or.

  • keywordstring

    Every word must appear in the event name, venue name or organizer name.

  • phrasestring

    This exact phrase must appear in the event name.

  • time_of_daycomma-separated

    morning, afternoon, evening, night.

  • time_of_day_opor, and

    Whether an event needs any time_of_day value, or all of them. An event has every part of the day it spans. Default: or.

Price

  • pricefree, paid

    Free or paid events only.

  • min_pricenumber

    Lowest starting price. Events with no price are left out.

  • max_pricenumber

    Highest starting price. Events with no price are left out.

  • currency3-letter code

    Ticket currency, such as USD or EUR. Prices aren't converted: send it with a price range.

Sorting and paging

  • sortstring

    date (soonest first), popular, price_asc, price_desc or interested (most interested first). Default: date.

  • pageinteger

    Page number, starting at 0. (page + 1) × reqRows can't exceed 10,000. Default: 0.

  • reqRowsinteger

    Results per page. Maximum 10. rows also works; reqRows wins. Default: 10.

  • shortDesc1

    Adds description.short to each event. Default: Off.

  • cachedboolean

    false fetches fresh data. See Cached answers. Default: true.

formats, formats_op, popular, featured and high_confidence were removed on 24 November 2026. Sending one answers 400 <param> is not supported in v1. (0 credits). Use sort=popular instead of popular=1.

How filters combine

Different filters combine with AND. The _op parameters only control the values inside one filter:

category=music,workshops                   music OR workshopscategory=music,workshops&category_op=and   music AND workshopscategory=music,workshops&time_of_day=evening&price=free                                           (music OR workshops) AND evening AND free

Response fields

Every event API returns this same Event object: the list APIs, Events by Geo Coordinates, Events Search, Event Details, Events in Batch and Events by Organizer. Fields marked "Details and Batch" are only in Event Details and Events in Batch.

  • event_idstring

    Event ID. Store it as a string.

  • eventnamestring

    Event name, plain text (entities decoded)

  • event_urlstring

    Event page on AllEvents, with your UTM code

  • start_at, end_atstring

    Start and end in the venue's time, ISO 8601 with its offset, such as 2026-12-05T19:00:00-06:00. end_at equals start_at when there is no end. See Dates and times.

  • start_ts, end_tsinteger

    The same moments as Unix seconds (real UTC)

  • timezonestring

    Venue's UTC offset, ±HH:MM

  • labelstring

    ongoing, today, tomorrow or upcoming, on the venue's calendar

  • displayobject

    short (for cards, up to 35 characters) and full (with the time zone and "+ N more"): ready-made date and time text in the venue's time. Show it as is.

  • scheduleobject

    has_multiple_dates (boolean), next_date (ISO 8601 or null), upcoming_dates (integer or null; 0 when none is left). Details and Batch also have dates, every upcoming date (ISO 8601).

  • venueobject

    name, street, city, state (region code, such as NY), country (name), latitude and longitude (number), full_address (Online for online events). Each can be null; coordinates are null when missing.

  • is_onlineboolean

    Whether the event is online

  • organizerobject or null

    org_id (integer), name, url. null for some imported listings that have no public organizer.

  • categoriesstring[]

    Category slugs. These are the values category filters on. Can be empty.

  • thumb_urlstring

    Thumbnail image URL. Never null.

  • banner_urlstring

    Banner image URL, 500×250. Never null.

  • video_urlstring or null

    Video link. Details and Batch only.

  • priceobject

    currency (3-letter code), min and max (number or null), is_free (boolean or null), label (such as Free, INR 1,500 or USD 15 to 20). All null when the event has no price.

  • ticketsobject

    has_tickets (boolean, true when tickets are sold through AllEvents), ticket_url (never null) and provider (such as AllEvents, Eventbrite, Ticketmaster, BookMyShow or Organizer, or null when there is no ticket link). See Ticket links.

  • descriptionobject

    short (up to 300 characters), only with shortDesc=1 on this API. Details and Batch always have short, text (plain text) and html (sanitized HTML). Each can be null. Emails, phone numbers and links are partly masked.

  • updated_atstring

    When the event last changed, ISO 8601 UTC such as 2026-11-20T20:30:55Z. Details and Batch only.

Errors

StatusmessageCause
200No events foundNothing matched your filters
200This city is not in your coverage.See Coverage
400city is required.city is missing
400country is required.country is missing
400Invalid CityCity not recognized, or country is missing. Send country, and add state if the error continues.
400sdate is not a valid date.Bad sdate or edate
400edate must be after sdate.The range is reversed
400Send either when or sdate/edate, not both.Conflicting date filters
400price must be free or paid.Bad price
400latitude, longitude and radius must be sent together as numbers.Incomplete radius filter
400page is beyond the 10000 result limit. Narrow the filters.Page too deep
400formats is not supported in v1.A removed parameter: formats, formats_op, popular, featured or high_confidence. 0 credits.
400page cannot be negative.page is below 0
400max_price must be >= min_price.The price range is reversed
400Names the allowed valuesBad sort, when, min_price, max_price, currency, time_of_day or an _op value, such as currency must be a 3-letter code, e.g. INR.
503Search is unavailable. Try again shortly.Temporary failure. Retry with backoff.

List Events by City

Lists a city's events with basic filters. Existing integrations can keep using it; new ones should use List Events by City (Advanced).

GET | POST/v1/events/list

Parameters

  • citystringRequired

    City name

  • statestringRecommended

    State or region code or name, such as England or NY

  • countrystringRequired

    Country name or code, such as United Kingdom

  • sdatedate

    Start of the date range

  • edatedate

    End of the date range

  • categorystring

    One category, such as music. Matched as that category's keywords in the event name, description and tags.

  • shortDesc1

    Adds description.short Default: Off.

  • pageinteger

    Page number, starting at 0. (page + 1) × reqRows can't exceed 10,000. Default: 0.

  • reqRowsinteger

    Results per page. Maximum 10. rows also works; reqRows wins. Default: 10.

  • cachedboolean

    false fetches fresh data. See Cached answers. Default: true.

Send country, and state whenever you have it. Without state, many cities return 400 Invalid City. popular was removed on 24 November 2026: it answers 400 popular is not supported in v1. For popular events, use List Events by City (Advanced) with sort=popular.

Unlike the Advanced API, this one also returns events already running in the range: with sdate=2026-11-07, an event from 31 Oct to 8 Nov is included.

Response fields

Each item in data has the same fields as the Event object of the Advanced API, with the same types.

description is sent only with shortDesc=1.

Errors

StatusmessageCause
200No events foundNothing matched
200This city is not in your coverage.See Coverage
400city is required.city is missing
400country is required.country is missing
400Invalid CityCity not recognized, or country is missing. Send country, and add state if the error continues.
400sdate is not a valid date.Bad sdate or edate
400popular is not supported in v1.popular was removed. 0 credits.
400page is beyond the 10000 result limit. Narrow the filters.(page + 1) × reqRows is over 10,000

Events by Geo Coordinates

Finds events around a point. Use it to show events near a user.

GET | POST/v1/events/geo

Parameters

  • latitudenumberRequired

    Latitude. Can't be 0.

  • longitudenumberRequired

    Longitude. Can't be 0.

  • radiusintegerRequired

    Radius in km, whole numbers only. Above 100 becomes 100.

  • categorystring

    One category, such as music. Matched as that category's keywords in the event name, description and tags.

  • shortDesc1

    Adds description.short Default: Off.

  • pageinteger

    Page number, starting at 0. (page + 1) × rows can't exceed 1,000. Default: 0.

  • rowsinteger

    Results per page. Maximum 10. Default: 10.

  • cachedboolean

    false fetches fresh data. See Cached answers. Default: true.

Errors

StatusmessageCause
200No events foundNothing found in the radius, or in your coverage
200This location is not in your coverage.The point is outside your coverage. Answered at once, 0 credits.
400latitude is required.A required parameter is missing. Also sent for longitude and radius.
400latitude, longitude and radius are required.A coordinate is 0, or the radius is below 1
400page is beyond the 1000 result limit. Narrow the filters.(page + 1) × rows is over 1,000

Returns one event with its full description, tickets and categories. Events that have ended aren't available: they answer 404.

GET | POST/v1/get_event

Parameters

  • event_iddigitsRequired

    Event ID

  • cachedboolean

    Default true. false fetches fresh data. See Cached answers.

Things to know

data has the same fields as the Event object, every one of them.

  • That includes the fields only Event Details and Events in Batch send: video_url, schedule.dates, description.text, description.html and updated_at, plus description.short. On an error, data is false.
  • description.text is plain text and description.html keeps the formatting. Both are partly masked (emails, phone numbers and links, such as 63511xxxxx), and the HTML is sanitized: common formatting tags only, no scripts, event handlers or links to other sites. Links are kept only to AllEvents pages (others become plain text); images and videos are kept only with an http(s) source. AllEvents links in the text aren't masked; dates, times and prices aren't either. You can render the HTML as it is.
  • Answers are cached for 10 minutes, not 1 hour (Cached answers).

Errors

StatusmessageCause
200This event is out of your API Scope.See Coverage
400event_id is required.event_id is missing
400Invalid event_id.event_id isn't a valid number
404Event does not exist or is deletedEvent not found
404Event has ended or is not availableThe event has ended, or is hidden, a draft or archived. Costs 0 credits.

Events in Batch

Returns all upcoming events in your coverage, a batch at a time. Use it to sync a local copy of the catalog.

GET | POST/v1/events/batch

Parameters

  • next_cursorstring

    The next_cursor from your last response, exactly as you got it Default: Start.

  • countinteger

    Events per call, 1 to 1000. A larger value becomes 1000; 0, a negative or a non-whole number answers 400. Default: 1000.

  • updated_afterUnix timestamp

    Only events updated after this time (compare updated_at)

  • min_scorenumber

    Only events with at least this internal ranking score. The score itself isn't returned.

  • cachedboolean

    false fetches fresh data. See Cached answers. Default: true.

How to sync

  1. Call without next_cursor.
  2. Save the next_cursor from each response, and send it on the next call.
  3. Stop when message is END_OF_RESULTS (has_more is then false). That answer's next_cursor is empty: keep the cursor you sent.
  4. Later, call again with the last cursor you saved to pick up newly published events, and use updated_after for changes.

next_cursor is an opaque string of about 50 characters (base64url). It changes on every response, even for the same position, so don't parse or compare it: store it and send it back untouched. Cursors from before 24 November 2026 (c<number>) answer 400 next_cursor is not valid.: start again without next_cursor.

A call can return fewer events than count, or none, while the cursor moves on. If result_count is 0 and message isn't END_OF_RESULTS, continue with the new cursor. With narrow coverage, message can be NO_COVERED_EVENTS_YET (error is 0): this stretch of the catalog had none of your events. It costs 0 credits; continue with next_cursor, which moves forward every time.

cursor=""while true; do  body=$(curl -sf -G "$AE_BASE_URL/events/batch" \    -H "X-API-Key: $AE_API_KEY" \    --data-urlencode "next_cursor=$cursor" \    -d "count=1000") || exit 1  next=$(printf '%s' "$body" | jq -r '.next_cursor')  [ -n "$next" ] && cursor=$next # empty at END_OF_RESULTS: keep the last one  # save the event here  printf '%s' "$body" | jq -r '.data[] | "\(.event_id) \(.eventname)"'  if [ "$(printf '%s' "$body" | jq -r '.message')" = "END_OF_RESULTS" ]; then    break # save cursor to continue from here next time  fidone

Errors

StatusmessageCause
200END_OF_RESULTSNo more events for now. error is 1, data is empty, next_cursor is "" and description says to try again later. Retry later with the cursor you sent.
200NO_COVERED_EVENTS_YETNone of this stretch of the catalog is in your coverage. data is empty and it costs 0 credits. Continue with next_cursor.
400count must be between 1 and 1000.count is 0, negative or not a whole number. 0 credits. Leave it out for 1000.
400next_cursor is not valid.The cursor isn't one this API returned, was changed, or is an old c<number> cursor. Start again without next_cursor.
503Something went wrong. Try again shortly.Temporary failure, 0 credits. Retry with the same cursor.

Events by Organizer

Lists one organizer's upcoming and running events. Get organizer_id from the org_id of Search Organizers or of an event's organizer.

GET | POST/v1/organizer/events

Parameters

  • organizer_iddigitsRequired

    Organizer ID

  • citystring

    Only events in this city

  • pastinteger

    Only 0 is accepted; any other value answers 400. Default: 0.

  • pageinteger

    Page number, starting at 0 Default: 0.

  • countinteger

    Results per page. Maximum 10. Default: 10.

  • cachedboolean

    false fetches fresh data. See Cached answers. Default: true.

Errors

StatusmessageCause
200No events found.The organizer has no matching events
200This city is not in your coverage.See Coverage
400organizer_id is required.organizer_id is missing
400Parameter missing.organizer_id isn't a number
400Past events are not available.past isn't 0
404Organizer not found.No organizer has this ID, or its events aren't available through the API

Search Organizers

Finds event organizers by name. Results aren't limited by your coverage. Some organizers, such as listings imported from other sites, are never returned.

GET | POST/v1/organizers/search

Parameters

  • termstringRequired

    Start of the organizer's name

  • pageinteger

    Page number, starting at 0. Each page has up to 10 results, and (page + 1) × 10 can't exceed 1,000. Default: 0.

  • cachedboolean

    false fetches fresh data. See Cached answers. Default: true.

Response fields

  • org_idinteger

    Organizer ID. Send it as organizer_id to Events by Organizer.

  • namestring

    Organizer name

  • urlstring

    Organizer's AllEvents page, with your UTM code

  • thumb_urlstring or null

    Profile image URL

  • aboutstring or null

    Organizer description, plain text, masked like event descriptions

  • upcoming_eventsinteger

    Number of upcoming events

  • followers_countinteger

    Number of followers

Errors

StatusResultCause
200error: 0 and an empty data listNo organizer matched. Costs 0 credits.
400term is required.term is missing

City Suggestions

Suggests up to 10 cities in your coverage from a partial name. Use it for autocomplete, or to get the exact state and country for the list APIs.

GET | POST/v1/geo/city_suggestion?city={text}GET | POST/v1/geo/city_suggestion/{text}

Parameters

  • citystringRequired

    Full or partial city name. Use the query form for text with + or %.

  • cachedboolean

    Default true. false fetches fresh data. See Cached answers.

Response fields

  • citystring

    City name. Send it as city.

  • state, state_namestring or null

    State or region code and name. Send state as state.

  • countrystring

    Country name. Send it as country.

  • country_codestring or null

    2-letter country code

  • latitude, longitudenumber

    Center of the city

  • timezonestring or null

    City's UTC offset, ±HH:MM

  • urlstring

    City's AllEvents page, with your UTM code

Errors

StatusResultCause
200{"data": [], "credits_used": 0}No city matched, or none in your coverage. This response has no error field.
400city is required.city is missing

Field types by API

Since 24 November 2026 every event API returns the same Event object, with the same types everywhere. A few fields are sent only by Event Details and Events in Batch:

FieldList APIs, /events/geo, /events/search, /organizer/events/get_event, /events/batch
event_idstringstring
organizer.org_idintegerinteger
start_ts, end_tsintegerinteger
venue.latitude, venue.longitudenumber or nullnumber or null
categoriesarray of stringsarray of strings
price.min, price.maxnumber or nullnumber or null
schedule.datesnot returnedarray of ISO 8601 strings
video_urlnot returnedstring or null
descriptiononly short, with shortDesc=1 (list APIs and geo)short, text, html
updated_atnot returnedstring, ISO 8601 UTC

Store event_id as a string. Ignore fields you don't know: new ones may be added.

Migrating from the Azure API

Azure APIThis API
API key headerOcp-Apim-Subscription-KeyX-API-Key
Key in query stringsubscription-key allowedNot allowed
API keysAzure subscription keysNew keys from the developer portal

Paths are unchanged under the new base URL. Response bodies follow the schema of 24 November 2026 (see Recent changes), so map the fields removed in 2026-11-24 to their replacements, for example:

  • eventname_raw is eventname, location is venue.name, and start_time/end_time are start_at/end_at (venue time) or start_ts/end_ts (real UTC).
  • Ticket prices are in price; short_description and description_html are in description.
  • Events in Batch: old cursors don't work. Start a new sync without next_cursor.
  • City Suggestions: results are inside data, instead of a bare array, and region_code is state.
  • All APIs: each call's cost is in credits_used and the X-Credits-Used header.