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/v1Build with AI
Copy one prompt into ChatGPT, Claude, Cursor or any coding agent. It never contains your API key.
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
| API | Endpoint | Use it to |
|---|---|---|
| List Events by City (Advanced) | /events/list_es | List a city's events with rich filters. Recommended for new integrations. |
| List Events by City | /events/list | List a city's events with basic filters |
| Events by Geo Coordinates | /events/geo | Find events around a point |
| Events Search | /events/search | Search events by keyword |
| Event Details | /get_event | Get one event with its full description |
| Events in Batch | /events/batch | Sync upcoming events in bulk |
| Events by Organizer | /organizer/events | List one organizer's events |
| Search Organizers | /organizers/search | Find organizers by name |
| City Suggestions | /geo/city_suggestion | Autocomplete city names |
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:
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"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.
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.
| Setting | Rule | Error on a mismatch |
|---|---|---|
| Allowed IP addresses | Up to 20 IPv4 or IPv6 addresses or CIDR ranges, such as 203.0.113.7, 198.51.100.0/24 or 2001:db8::/32 | 403 ip_not_allowed |
| Allowed APIs | A subset of the APIs your plan includes | 403 api_not_allowed_for_key |
| Allowed websites | Up 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 |
| Expiry | Never, 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.
- Rotate the key and copy the new one.
- Deploy your app with the new key.
- Wait until the old key's "Last used" stops changing. You can revoke it early.
Every API accepts GET and POST, with parameters in any of these forms:
| Form | Example |
|---|---|
| Query string | GET /events/list_es?city=New%20York&state=NY&country=United%20States |
| Form body | POST /get_event with event_id=8000001234509 as application/x-www-form-urlencoded |
| JSON body | POST /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/jsonorapplication/x-www-form-urlencoded(multipart/form-dataalso works and is read as a form; files are ignored). APOSTwith a body of any other type, or with noContent-Type, gets415unsupported_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, androuteare refused with400invalid_param. - Unknown parameters are ignored without an error. Check each name: the page size is
reqRows,rowsorcount, depending on the API.
How to read a response, and what each error means.
{ "message": "", "error": 0, "data": [], "count": 0, "credits_used": 0}| API | Body |
|---|---|
| List Events by City (Advanced), List Events by City, Events by Geo Coordinates, Events by Organizer | message, error, data (a list of events), count (events in data), credits_used |
| Events Search | message, error, data (a list of events), credits_used |
| Event Details | error, message, data (one event, or false), credits_used |
| Events in Batch | error, message, result_count, next_cursor, data, has_more, credits_used |
| Search Organizers | message, error, data (a list of organizers), credits_used |
| City Suggestions | data (a list of cities), credits_used |
credits_usedis what this call cost, the same as theX-Credits-Usedheader:0for a cached answer, an empty result or an error. See Credits.- Check
erroras well as the HTTP status. Some requests that find nothing return200witherrorabove0. Treaterror > 0as "no usable result". Exceptions: Search Organizers and City Suggestions return200with an emptydatalist. messageis for people and may change. Don't build logic on it, exceptEND_OF_RESULTSandNO_COVERED_EVENTS_YETin 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
404for an ended event. - Links to AllEvents pages (
event_url,tickets.ticket_url,organizer.url, and theurlof organizers and cities) end withutm_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 codek7f2qa. - 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""or0). In descriptions, emails, phone numbers and links are partly masked (such as63511xxxxx), anddescription.htmlis sanitized: only common formatting tags, no scripts, event handlers or links to other sites.
HTTP status codes
| Status | Meaning |
|---|---|
200 | Processed. Check error for "no results" or "outside your coverage". |
400 | A 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. |
401 | Key problem: invalid_key, key_expired |
402 | No credits to pay for the call: credits_exhausted, trial_ended, plan_expired |
403 | Not allowed: account_inactive, endpoint_not_allowed, ip_not_allowed, api_not_allowed_for_key, origin_not_allowed |
404 | The API, event or organizer was not found. Check the URL or ID. An unknown API path gets unknown_api. |
415 | The request body isn't JSON or a form: unsupported_media_type |
429 | rate_limited |
5xx | Temporary 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. |
{ "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}codeis sent only for the errors below. Every error with acodealso has"credits_used": 0(last) andX-Credits-Used: 0.402errors also haveupgrade: the plan that lifts the limit and where to get it.actionisupgrade,reneworbook_a_call(Enterprise).- A
429body has onlyerror,code,messageandcredits_used. - Other errors have no
code:{"error": 1, "message": "…", "credits_used": 0}, sometimes with the API's normal fields, such asdata. Validation errors are400, 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.
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
4xxor5xxerror - 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:
| Header | Meaning |
|---|---|
X-Credits-Used, X-Credits-Charged | Credits charged for this call, the same as credits_used |
X-Credits-Limit | Credits in your current period |
X-Credits-Remaining | Credits left |
X-Request-Id | ID of this request. Include it when you contact support. |
X-Plan-Status | expired 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.
| Header | Meaning |
|---|---|
X-Cache | HIT (cached), MISS (fresh) or BYPASS (fresh because of cached=false) |
Age, X-Cache-Age | Seconds since a cached answer was fetched |
X-Cache-Source: shared | With 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=falsealways fetches fresh data, as doesCache-Control: no-cache. It's charged and refreshes the cache for the next call.false,0andnomean false. Any other value meanstrue.cachedisn'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.
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
429doesn't. - Windows are fixed: a minute starts at :00, a day at 00:00 UTC.
- Over a limit you get
429rate_limited: "You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits." WaitRetry-Afterseconds, then retry.
Your plan sets the countries, states and cities you can read, or everywhere.
| You request | What happens |
|---|---|
| A place outside your coverage | 200 with error: 1 and "This city is not in your coverage.", 0 credits |
| Events by Geo Coordinates around a point outside your coverage | 200 at once, with error: 1 and "This location is not in your coverage.", 0 credits |
| One event outside your coverage | 200 with error: 1 and "This event is out of your API Scope.", 0 credits |
| A list with no place named | Only 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
citycheck up to 1,000 source rows per request.
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
403endpoint_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.
Page size, default and maximum by API:
| API | Style | Page size parameter | Default | Maximum |
|---|---|---|---|---|
/events/list_es | Page | reqRows | 10 | 10 |
/events/list | Page | reqRows | 10 | 10 |
/events/geo | Page | rows | 10 | 10 |
/events/search | Page | rows | 10 | 10 |
/organizer/events | Page | count | 10 | 10 |
/organizers/search | Page | None | 10 | 10 |
/events/batch | Cursor | count (1 to 1000) | 1000 | 1000 |
pagestarts at 0.- Every API returns at most 10 results per call, except Events in Batch (up to 1,000). A page size above 10 becomes 10; zero, negative or non-numbers use 10. Use
pageto get more. - Pages can't go deeper than
(page + 1) × page size= 10,000 results on List Events by City (Advanced) and List Events by City, or 1,000 on Events by Geo Coordinates, Events Search and Search Organizers. A deeper page answers400. Narrow the filters instead. - A short page isn't the last page. Stop when a page comes back with no data.
- Request dates (
sdate,edate) are best sent asYYYY-MM-DD(relative forms such asnext fridayare also read), as whole days in the event's city. start_atandend_atare the venue's local date and time in ISO 8601, with its UTC offset:2026-12-05T19:00:00-06:00starts at 19:00 at the venue. An event without an end time hasend_atequal tostart_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_tsandend_tsare the same moments as Unix seconds, real UTC:2026-12-05T19:00:00-06:00is1796518800(01:00 UTC on 6 December). Use them to sort, compare and count down.timezoneis the venue's UTC offset as±HH:MM(-06:00,+05:30,+00:00), on every event item.labelisongoing(started, not over),today,tomorroworupcoming, 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.shortanddisplay.fullare ready-made text in the venue's time, such asSat, 5 Dec • 7:00PM to 10:00PMandSat, 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, ornullwhen none is upcoming) andschedule.upcoming_dates(how many are left;1for a one-time event).start_atis then the start of the series and can be in the past, andend_atis the end of the last date. Event Details and Events in Batch also list every upcoming date inschedule.dates. - Ended events are never returned. An event has ended when
end_tsis before now. Drop stored events at that moment too.
The docs in forms tools can read without running JavaScript:
| URL | What it is |
|---|---|
https://developer.allevents.in/docs.md | These docs as one Markdown file |
https://developer.allevents.in/llms.txt | Short index for language models (llmstxt.org format) |
https://developer.allevents.in/llms-full.txt | Full docs as plain text |
https://developer.allevents.in/openapi.json | OpenAPI 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
erroras well as the HTTP status. On429, waitRetry-Afterseconds. - 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=falseonly when you need fresh data.
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.
messagetext 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
codea 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
/v2would 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:
cityis now matched like the list APIs, and new optionalstateandcountrypick the right city. A city that isn't recognized answers400 Invalid City(0 credits) instead of being ignored. - Events in Batch:
countof0, a negative or a non-whole number answers400 count must be between 1 and 1000.(0 credits). Before,0returned 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(withname; numeric coordinates),is_online,organizer(org_idis now an integer; withurl),categories,thumb_url,banner_url,price,tickets(withprovider) anddescription. Event Details and Events in Batch addvideo_url,schedule.dates,description.text,description.htmlandupdated_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, everydisplay_*,app_display_*andweb_display_*string,object_type,end_url,distance,recurring_event_details,ticket,has_slots,slots_dataand the body'srequest. Moved:locationisvenue.name;short_descriptionanddescription_htmlare indescription; ticket currency and prices are inprice; the organizer'sorganizer_idisorg_id; a city'sregion_codeisstateandregionisstate_name. - Every body has
credits_used, what the call cost (0when cached). Events Search returns only events: no keyword, city or category entries, and norows. - Removed parameters answer
400 <param> is not supported in v1.(0 credits):popularon List Events by City;formats,formats_op,popular,featuredandhigh_confidenceon List Events by City (Advanced), whosecategorynow always matches an event's high-confidence categories.sort=popularstill works. - Page size is at most 10 on every API (default 10; Events in Batch
count1 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_cursoris an opaque string that changes on every response. Oldc<number>cursors answer400 next_cursor is not valid.: start again without a cursor. Accounts with narrow coverage can getNO_COVERED_EVENTS_YET(0 credits): continue withnext_cursor. - Descriptions are masked (emails, phone numbers and links, such as
63511xxxxx) anddescription.htmlis 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 answers503JSON withcredits_used: 0. The gateway's own errors also carry"credits_used": 0andX-Credits-Used: 0.
23 November 2026
- Every API returns at most 10 results per call (
reqRows,rowsorcountup to 10; the default is now 10). A larger value becomes 10, so existing code keeps working with smaller pages: usepagefor 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 answers400forpastother than0. tickets.ticket_urlgoes through allevents.in (see Ticket links).pages/rdlinks are no longer returned.timezoneis 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-levelticket_urland, in search,field_weight. organizerisnullon events from some imported listings, and Search Organizers doesn't return those organizers. Events by Organizer fillsorganizerwith the requested organizer.
Include the call's X-Request-Id header when you contact support.
| What you see | Cause and fix |
|---|---|
200 with error above 0 | Nothing found, or outside your coverage. 0 credits. |
400 Invalid City | Send 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 nothing | Unknown parameters are ignored. Check the name, including the page size (reqRows, rows or count). |
| A page is shorter than the page size | Normal with limited coverage. Continue until a page is empty (Pagination). |
An event is missing, or get_event answers 404 | It ended or was hidden (Dates and times). |
| Event times are off by hours | Show start_at as written, or display, for the venue's time; start_ts is real UTC (Dates and times). |
| A field you used is missing | It was removed or moved on 24 November 2026 (Recent changes). |
5xx | Temporary, never charged. Retry with backoff. |
| The same answer keeps coming back | It's cached (X-Cache: HIT). Send cached=false (Cached answers). |
429 | Wait Retry-After seconds (Rate limits). |
401, 402 or 403 with a code | See Error codes. |
API reference
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.
Parameters
Location
citystringRequiredCity name, such as
New York.statestringRecommendedState or region code or name, such as
EnglandorNY.countrystringRequiredCountry name or code, such as
United Kingdom.latitudenumberLimits results to a radius inside the city. Send with
longitudeandradius.longitudenumberSee
latitude.radiusintegerRadius 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
whenstringtoday,tomorrow,this_weekend,this_week,next_week,this_monthornext_month. Not withsdateoredate.sdatedateFirst day of the range. Alone, the range is only that day. Default: Today.
edatedateLast 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-separatedCategory slugs, such as
music,workshops, as in thecategoriesresponse field. Matches the categories we are most confident about for each event.category_opor,andWhether an event needs any
categoryvalue, or all of them. Default:or.keywordstringEvery word must appear in the event name, venue name or organizer name.
phrasestringThis exact phrase must appear in the event name.
time_of_daycomma-separatedmorning,afternoon,evening,night.time_of_day_opor,andWhether an event needs any
time_of_dayvalue, or all of them. An event has every part of the day it spans. Default:or.
Price
pricefree,paidFree or paid events only.
min_pricenumberLowest starting price. Events with no price are left out.
max_pricenumberHighest starting price. Events with no price are left out.
currency3-letter codeTicket currency, such as
USDorEUR. Prices aren't converted: send it with a price range.
Sorting and paging
sortstringdate(soonest first),popular,price_asc,price_descorinterested(most interested first). Default:date.pageintegerPage number, starting at 0.
(page + 1) × reqRowscan't exceed 10,000. Default:0.reqRowsintegerResults per page. Maximum 10.
rowsalso works;reqRowswins. Default:10.shortDesc1Adds
description.shortto each event. Default: Off.cachedbooleanfalsefetches 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 freeResponse 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_idstringEvent ID. Store it as a string.
eventnamestringEvent name, plain text (entities decoded)
event_urlstringEvent page on AllEvents, with your UTM code
start_at,end_atstringStart and end in the venue's time, ISO 8601 with its offset, such as
2026-12-05T19:00:00-06:00.end_atequalsstart_atwhen there is no end. See Dates and times.start_ts,end_tsintegerThe same moments as Unix seconds (real UTC)
timezonestringVenue's UTC offset,
±HH:MMlabelstringongoing,today,tomorroworupcoming, on the venue's calendardisplayobjectshort(for cards, up to 35 characters) andfull(with the time zone and "+ N more"): ready-made date and time text in the venue's time. Show it as is.scheduleobjecthas_multiple_dates(boolean),next_date(ISO 8601 ornull),upcoming_dates(integer ornull;0when none is left). Details and Batch also havedates, every upcoming date (ISO 8601).venueobjectname,street,city,state(region code, such asNY),country(name),latitudeandlongitude(number),full_address(Onlinefor online events). Each can benull; coordinates arenullwhen missing.is_onlinebooleanWhether the event is online
organizerobject or nullorg_id(integer),name,url.nullfor some imported listings that have no public organizer.categoriesstring[]Category slugs. These are the values
categoryfilters on. Can be empty.thumb_urlstringThumbnail image URL. Never
null.banner_urlstringBanner image URL, 500×250. Never
null.video_urlstring or nullVideo link. Details and Batch only.
priceobjectcurrency(3-letter code),minandmax(number ornull),is_free(boolean ornull),label(such asFree,INR 1,500orUSD 15 to 20). Allnullwhen the event has no price.ticketsobjecthas_tickets(boolean,truewhen tickets are sold through AllEvents),ticket_url(nevernull) andprovider(such asAllEvents,Eventbrite,Ticketmaster,BookMyShoworOrganizer, ornullwhen there is no ticket link). See Ticket links.descriptionobjectshort(up to 300 characters), only withshortDesc=1on this API. Details and Batch always haveshort,text(plain text) andhtml(sanitized HTML). Each can benull. Emails, phone numbers and links are partly masked.updated_atstringWhen the event last changed, ISO 8601 UTC such as
2026-11-20T20:30:55Z. Details and Batch only.
Errors
| Status | message | Cause |
|---|---|---|
200 | No events found | Nothing matched your filters |
200 | This city is not in your coverage. | See Coverage |
400 | city is required. | city is missing |
400 | country is required. | country is missing |
400 | Invalid City | City not recognized, or country is missing. Send country, and add state if the error continues. |
400 | sdate is not a valid date. | Bad sdate or edate |
400 | edate must be after sdate. | The range is reversed |
400 | Send either when or sdate/edate, not both. | Conflicting date filters |
400 | price must be free or paid. | Bad price |
400 | latitude, longitude and radius must be sent together as numbers. | Incomplete radius filter |
400 | page is beyond the 10000 result limit. Narrow the filters. | Page too deep |
400 | formats is not supported in v1. | A removed parameter: formats, formats_op, popular, featured or high_confidence. 0 credits. |
400 | page cannot be negative. | page is below 0 |
400 | max_price must be >= min_price. | The price range is reversed |
400 | Names the allowed values | Bad 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. |
503 | Search is unavailable. Try again shortly. | Temporary failure. Retry with backoff. |
Lists a city's events with basic filters. Existing integrations can keep using it; new ones should use List Events by City (Advanced).
Parameters
citystringRequiredCity name
statestringRecommendedState or region code or name, such as
EnglandorNYcountrystringRequiredCountry name or code, such as
United KingdomsdatedateStart of the date range
edatedateEnd of the date range
categorystringOne category, such as
music. Matched as that category's keywords in the event name, description and tags.shortDesc1Adds
description.shortDefault: Off.pageintegerPage number, starting at 0.
(page + 1) × reqRowscan't exceed 10,000. Default:0.reqRowsintegerResults per page. Maximum 10.
rowsalso works;reqRowswins. Default:10.cachedbooleanfalsefetches 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
| Status | message | Cause |
|---|---|---|
200 | No events found | Nothing matched |
200 | This city is not in your coverage. | See Coverage |
400 | city is required. | city is missing |
400 | country is required. | country is missing |
400 | Invalid City | City not recognized, or country is missing. Send country, and add state if the error continues. |
400 | sdate is not a valid date. | Bad sdate or edate |
400 | popular is not supported in v1. | popular was removed. 0 credits. |
400 | page is beyond the 10000 result limit. Narrow the filters. | (page + 1) × reqRows is over 10,000 |
Finds events around a point. Use it to show events near a user.
Parameters
latitudenumberRequiredLatitude. Can't be
0.longitudenumberRequiredLongitude. Can't be
0.radiusintegerRequiredRadius in km, whole numbers only. Above 100 becomes 100.
categorystringOne category, such as
music. Matched as that category's keywords in the event name, description and tags.shortDesc1Adds
description.shortDefault: Off.pageintegerPage number, starting at 0.
(page + 1) × rowscan't exceed 1,000. Default:0.rowsintegerResults per page. Maximum 10. Default:
10.cachedbooleanfalsefetches fresh data. See Cached answers. Default:true.
Errors
| Status | message | Cause |
|---|---|---|
200 | No events found | Nothing found in the radius, or in your coverage |
200 | This location is not in your coverage. | The point is outside your coverage. Answered at once, 0 credits. |
400 | latitude is required. | A required parameter is missing. Also sent for longitude and radius. |
400 | latitude, longitude and radius are required. | A coordinate is 0, or the radius is below 1 |
400 | page is beyond the 1000 result limit. Narrow the filters. | (page + 1) × rows is over 1,000 |
Searches events worldwide by keyword.
Parameters
querystringRequiredSearch text
citystringPuts events closest to this city first. It orders results and does not limit them. A city that isn't recognized answers
400 Invalid City. A city outside your coverage answersThis city is not in your coverage.(0 credits).statestringState code or name of
city(TX,Maharashtra). Picks the right city when the name exists in several places (Delhi, India vs Delhi, NY).countrystringCountry name or code of
city(India,US). Withcountrythe city is matched exactly as in List Events by City (Advanced).latitudenumberOrders results by distance from this point when
cityisn't sent. Send both coordinates; without a city or point, results rank by text only.longitudenumberSee
latitudepageintegerPage number, starting at 0.
(page + 1) × rowscan't exceed 1,000. Default:0.rowsintegerResults per page. Maximum 10. Default:
10.cachedbooleanfalsefetches fresh data. See Cached answers. Default:true.
For one city only, use List Events by City (Advanced) with keyword.
Things to know
Each item in data has the same fields as the Event object, as in the list APIs (without description).
- Items are ranked by text relevance, and every item is an event.
- Without
stateandcountry, a city name used in several places resolves to the busiest one inside your coverage, so send both when you have them (City Suggestions returns them). - There is no
count. Checkerrorbefore you readdata.
Errors
| Status | message | Cause |
|---|---|---|
200 | No events found for query '…' | Nothing matched |
200 | This city is not in your coverage. | See Coverage |
400 | Invalid City | city isn't recognized. Check the spelling, or send state and country. 0 credits. |
400 | query is required. | query is missing |
400 | page 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.
Parameters
event_iddigitsRequiredEvent ID
cachedbooleanDefault
true.falsefetches 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.htmlandupdated_at, plusdescription.short. On an error,dataisfalse. description.textis plain text anddescription.htmlkeeps the formatting. Both are partly masked (emails, phone numbers and links, such as63511xxxxx), 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 anhttp(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
| Status | message | Cause |
|---|---|---|
200 | This event is out of your API Scope. | See Coverage |
400 | event_id is required. | event_id is missing |
400 | Invalid event_id. | event_id isn't a valid number |
404 | Event does not exist or is deleted | Event not found |
404 | Event has ended or is not available | The event has ended, or is hidden, a draft or archived. Costs 0 credits. |
Returns all upcoming events in your coverage, a batch at a time. Use it to sync a local copy of the catalog.
Parameters
next_cursorstringThe
next_cursorfrom your last response, exactly as you got it Default: Start.countintegerEvents per call, 1 to 1000. A larger value becomes 1000;
0, a negative or a non-whole number answers400. Default:1000.updated_afterUnix timestampOnly events updated after this time (compare
updated_at)min_scorenumberOnly events with at least this internal ranking score. The score itself isn't returned.
cachedbooleanfalsefetches fresh data. See Cached answers. Default:true.
How to sync
- Call without
next_cursor. - Save the
next_cursorfrom each response, and send it on the next call. - Stop when
messageisEND_OF_RESULTS(has_moreis thenfalse). That answer'snext_cursoris empty: keep the cursor you sent. - Later, call again with the last cursor you saved to pick up newly published events, and use
updated_afterfor 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 fidoneErrors
| Status | message | Cause |
|---|---|---|
200 | END_OF_RESULTS | No 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. |
200 | NO_COVERED_EVENTS_YET | None of this stretch of the catalog is in your coverage. data is empty and it costs 0 credits. Continue with next_cursor. |
400 | count must be between 1 and 1000. | count is 0, negative or not a whole number. 0 credits. Leave it out for 1000. |
400 | next_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. |
503 | Something went wrong. Try again shortly. | Temporary failure, 0 credits. Retry with the same cursor. |
Lists one organizer's upcoming and running events. Get organizer_id from the org_id of Search Organizers or of an event's organizer.
Parameters
organizer_iddigitsRequiredOrganizer ID
citystringOnly events in this city
pastintegerOnly
0is accepted; any other value answers400. Default:0.pageintegerPage number, starting at 0 Default:
0.countintegerResults per page. Maximum 10. Default:
10.cachedbooleanfalsefetches fresh data. See Cached answers. Default:true.
Errors
| Status | message | Cause |
|---|---|---|
200 | No events found. | The organizer has no matching events |
200 | This city is not in your coverage. | See Coverage |
400 | organizer_id is required. | organizer_id is missing |
400 | Parameter missing. | organizer_id isn't a number |
400 | Past events are not available. | past isn't 0 |
404 | Organizer not found. | No organizer has this ID, or its events aren't available through the API |
Finds event organizers by name. Results aren't limited by your coverage. Some organizers, such as listings imported from other sites, are never returned.
Parameters
termstringRequiredStart of the organizer's name
pageintegerPage number, starting at 0. Each page has up to 10 results, and
(page + 1) × 10can't exceed 1,000. Default:0.cachedbooleanfalsefetches fresh data. See Cached answers. Default:true.
Response fields
org_idintegerOrganizer ID. Send it as
organizer_idto Events by Organizer.namestringOrganizer name
urlstringOrganizer's AllEvents page, with your UTM code
thumb_urlstring or nullProfile image URL
aboutstring or nullOrganizer description, plain text, masked like event descriptions
upcoming_eventsintegerNumber of upcoming events
followers_countintegerNumber of followers
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.
Parameters
citystringRequiredFull or partial city name. Use the query form for text with
+or%.cachedbooleanDefault
true.falsefetches fresh data. See Cached answers.
Response fields
citystringCity name. Send it as
city.state,state_namestring or nullState or region code and name. Send
stateasstate.countrystringCountry name. Send it as
country.country_codestring or null2-letter country code
latitude,longitudenumberCenter of the city
timezonestring or nullCity's UTC offset,
±HH:MMurlstringCity's AllEvents page, with your UTM code
tickets.ticket_url is where to buy or find tickets. It may redirect through allevents.in, and ends with your UTM code. Show it as it is; don't build it from the event ID, as its form can change. tickets.provider names who sells the tickets.
| The event | ticket_url | provider |
|---|---|---|
| Sells tickets on AllEvents | The AllEvents booking page, https://allevents.in/manage/tickets/book.php?…&event_id=<id>&utm_… | AllEvents |
| Sells tickets on another site, or on the organizer's | https://allevents.in/pages/link?event_id=<id>&ref=ae_api&utm_…, which forwards the buyer to that site | The seller, such as Eventbrite, Ticketmaster, BookMyShow or Skiddle, or Organizer for the organizer's own link |
| Neither | The event page, the same as event_url | null |
tickets.has_tickets is true only for tickets sold through AllEvents. Prices are in price, not in tickets.
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:
| Field | List APIs, /events/geo, /events/search, /organizer/events | /get_event, /events/batch |
|---|---|---|
event_id | string | string |
organizer.org_id | integer | integer |
start_ts, end_ts | integer | integer |
venue.latitude, venue.longitude | number or null | number or null |
categories | array of strings | array of strings |
price.min, price.max | number or null | number or null |
schedule.dates | not returned | array of ISO 8601 strings |
video_url | not returned | string or null |
description | only short, with shortDesc=1 (list APIs and geo) | short, text, html |
updated_at | not returned | string, ISO 8601 UTC |
Store event_id as a string. Ignore fields you don't know: new ones may be added.
| Azure API | This API | |
|---|---|---|
| API key header | Ocp-Apim-Subscription-Key | X-API-Key |
| Key in query string | subscription-key allowed | Not allowed |
| API keys | Azure subscription keys | New 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_rawiseventname,locationisvenue.name, andstart_time/end_timearestart_at/end_at(venue time) orstart_ts/end_ts(real UTC).- Ticket prices are in
price;short_descriptionanddescription_htmlare indescription. - 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, andregion_codeisstate. - All APIs: each call's cost is in
credits_usedand theX-Credits-Usedheader.