# AllEvents API > Read-only JSON API for events, cities and organizers from AllEvents: 200M+ events across 40K+ cities and towns. Authenticate with the X-API-Key header. Base URL: https://developer.allevents.in/v1. Each call that returns data costs credits (the response's `credits_used` says how many); empty, failed, out-of-coverage and cached answers cost 0. Always check the `error` field as well as the HTTP status. Keep API keys in server-side environment variables, never in prompts, browser code or logs. ## Docs - [Full documentation (Markdown)](https://developer.allevents.in/docs.md): every guide and API reference in one file - [OpenAPI 3.1 description](https://developer.allevents.in/openapi.json): endpoints, parameters, authentication and error codes - [Quickstart](https://developer.allevents.in/docs#quickstart) - [Authentication](https://developer.allevents.in/docs#authentication) - [Key restrictions, expiry and rotation](https://developer.allevents.in/docs#key-restrictions-expiry-and-rotation) - [Making requests](https://developer.allevents.in/docs#making-requests) - [Responses and errors](https://developer.allevents.in/docs#responses-and-errors) - [Credits](https://developer.allevents.in/docs#credits) - [Rate limits](https://developer.allevents.in/docs#rate-limits) - [Coverage](https://developer.allevents.in/docs#coverage) - [Plans and APIs](https://developer.allevents.in/docs#plans-and-apis) - [Pagination](https://developer.allevents.in/docs#pagination) - [Dates and times](https://developer.allevents.in/docs#dates-and-times) - [AI agents and coding assistants](https://developer.allevents.in/docs#ai-agents-and-coding-assistants) - [Versioning and deprecation](https://developer.allevents.in/docs#versioning-and-deprecation) - [Troubleshooting](https://developer.allevents.in/docs#troubleshooting) ## API reference - [List Events by City (Advanced)](https://developer.allevents.in/docs/events-list-es): `/v1/events/list_es`. Lists events that start in a city, with rich filters and sorting. - [List Events by City](https://developer.allevents.in/docs/events-list): `/v1/events/list`. Lists a city's events with basic filters. - [Events by Geo Coordinates](https://developer.allevents.in/docs/events-geo): `/v1/events/geo`. Finds events around a point. - [Events Search](https://developer.allevents.in/docs/events-search): `/v1/events/search`. Searches events worldwide by keyword. - [Event Details](https://developer.allevents.in/docs/get-event): `/v1/get_event`. Returns one event with its full description, tickets and categories. - [Events in Batch](https://developer.allevents.in/docs/events-batch): `/v1/events/batch`. Returns all upcoming events in your coverage, a batch at a time. - [Events by Organizer](https://developer.allevents.in/docs/organizer-events): `/v1/organizer/events`. Lists one organizer's upcoming and running events. - [Search Organizers](https://developer.allevents.in/docs/organizers-search): `/v1/organizers/search`. Finds event organizers by name. - [City Suggestions](https://developer.allevents.in/docs/geo-city-suggestion): `/v1/geo/city_suggestion`. Suggests up to 10 cities in your coverage from a partial name. ## Guides - [All guides](https://developer.allevents.in/docs/guides) - [Build a city events page](https://developer.allevents.in/docs/guides/city-events-page): Find the exact city, list its upcoming events with List Events by City (Advanced), page through them and render them from your server. - [Keep a local copy in sync with the batch feed](https://developer.allevents.in/docs/guides/batch-sync): Pull every upcoming event in your coverage with Events in Batch, save the cursor, and refresh only what changed. - [Show events near a user](https://developer.allevents.in/docs/guides/events-near-user): Turn a user's location into a list of nearby events with Events by Geo Coordinates, with a server route your app can call. ## Optional - [Full documentation as plain text](https://developer.allevents.in/llms-full.txt): the docs and the guides in one file - [Ticket links](https://developer.allevents.in/docs#ticket-links) - [Field types by API](https://developer.allevents.in/docs#field-types-by-api) - [Migrating from the Azure API](https://developer.allevents.in/docs#migrating-from-the-azure-api) - [Errors and error codes](https://developer.allevents.in/docs/errors): Every HTTP status and error code the AllEvents API returns, what each one means and how to fix it. - [Event widgets for your website](https://developer.allevents.in/docs/widgets): Embed a live list of upcoming events on any website with two lines of HTML. Pick a city, organizer or keyword and your look. No API key in the page. - [API status](https://developer.allevents.in/status): Live status of the AllEvents API gateway, event data, developer portal and docs. - [Support](https://developer.allevents.in/support): How to get help with the AllEvents API: docs, troubleshooting, error codes, status, and what to include when you contact support. - [API status as JSON](https://developer.allevents.in/status.json)