Skip to content
AllEventsAllEventsDevelopers

AllEvents Events API

Every event in 40K+ cities. One API.

Build event discovery apps, travel experiences, local content and AI products on structured event data from AllEvents: search and list events by city, location, category or organizer as read-only JSON.

Free trial · 100 credits · No credit cardSee a sample request

events listed
200M+
cities & towns
40K+
users
20M+

Sample request and response · the event is invented for illustration

Request · Event Details
curl "https://developer.allevents.in/v1/get_event" \  -H "X-API-Key: $AE_API_KEY" \  -d "event_id=8000001234509"
Sample response
{  "error": 0,  "message": "",  "data": {    "event_id": "8000001234509",    "eventname": "Austin Food & Music Festival 2026",    "event_url": "https://allevents.in/austin/austin-food-music-festival-2026/8000001234509?utm_source=ae_api&utm_medium=api&utm_campaign=k7f2qa",    "start_at": "2026-12-12T12:00:00-06:00",    "start_ts": 1797098400,    "timezone": "-06:00",    "label": "upcoming",    "display": { "short": "Sat, 12 Dec • 12:00PM to 10:00PM" },    "venue": { "name": "Riverside Park Pavilion", "city": "Austin", "state": "TX", "country": "United States" },    "categories": ["food-drinks", "music", "festivals"],    "price": { "currency": "USD", "min": 35.0, "max": 45.0, "is_free": false, "label": "USD 35 to 45" },    "tickets": { "has_tickets": true, "provider": "AllEvents" }  },  "credits_used": 1}

How it works

From sign-up to first event in three steps.

  1. Step 1: Create a key

    Sign in with your AllEvents account, verify your mobile number and create an API key. The trial starts with 100 credits.

    Get a free key
  2. Step 2: Make a request

    Send the key in the X-API-Key header. Try any API in the Playground first, or copy a cURL, Python, JavaScript, Go or PHP example.

    Read the quickstart
  3. Step 3: Use the JSON

    Every answer has the same event fields: name, dates, venue, categories, price and the event's AllEvents link. Track calls and credits on the Usage page.

    See responses and errors

Use cases

Built for anything that needs to know what's on.

  • Event discovery apps

    Fill a "what's on this weekend" feed, a calendar or a map with real events, ready to show.

  • Travel and hospitality

    Show guests what's happening near their hotel or destination on the dates they're staying.

  • Media and local news

    Power event listings, newsletters and city pages without entering events by hand.

  • City guides

    Keep neighbourhood and city guides current with upcoming events by category and date.

  • Recommendations

    Feed categories, dates, venues and prices into your own recommendation or personalisation models.

  • AI assistants and agents

    Let an assistant answer "what can I do tonight?" with structured event data instead of guesses.

  • Research and analysis

    Study event activity by city, category or season with consistent, structured records.

Event widgets

No code? Embed a live events list instead.

Set up a widget in your dashboard, copy two lines of HTML and paste them into your site. It shows upcoming events from AllEvents and keeps them current, using the same credits as your API calls.

<div data-allevents-widget="YOUR_WIDGET_ID"></div>
<script src="https://developer.allevents.in/widget.js" async></script>
  • Two lines of HTML

    Paste a snippet into any site, CMS or page builder. An iframe works where scripts aren't allowed.

  • City, organizer or keyword

    Upcoming events in a city, one organizer's events, or a search, narrowed by category and dates.

  • Your look

    List, grid or compact layout, light, dark or automatic theme, your accent color, 3 to 10 events.

  • No key in the page

    Rendered on our servers and shown only on the domains you allow, so nobody can reuse it.

  • Fast and light

    Loads when it scrolls into view and sizes itself to fit. Busy pages make about one call per 10 minutes.

  • Always up to date

    Events refresh on their own. Nothing to host, sync or maintain.

For AI coding agents

Your coding agent can read these docs too.

Copy one prompt from the docs into Claude Code, Codex, Cursor or another agent. It reads the documentation, adds the API to your project and handles errors, pagination and credits.

The prompt never contains your API key: the code reads it from an environment variable.

Prompts for each agent

Public, plain-text and readable without JavaScript. They hold no account data.

Why AllEvents

Why developers choose AllEvents

  • Coverage you can't build alone

    200M+ events across 40K+ cities and towns, from a platform with 20M+ users.

  • Fair credits

    You pay credits only for calls that return data. Empty results, errors and cached repeats cost nothing.

  • Ready for coding agents

    Copy one prompt and your agent reads the docs and adds the API. It never needs your key.

FAQ

Questions, answered.

Something else? Read the docs, the guides or support page.

What counts as a credit?

A call that returns data uses credits, however many events it holds; how many each API uses is shown in the portal after you sign up. Cached repeats and calls that fail, find nothing, fall outside your coverage or hit a rate limit are free.

Is there a free trial?

Yes. After you sign up, claim 100 free credits on the Billing page to try the core APIs, everywhere, with no credit card. Not every plan includes every API: each API's page in the docs shows the plans that include it. The trial doesn't renew: when it's used up, pick a plan to keep going.

What happens when I run out of credits?

On a paid plan, fresh calls return a credits_exhausted error until your credits reset at the start of the next period, while cached answers keep working. You can upgrade or buy extra credits at any time. One-time extra credits carry over to the next period; monthly extra credits are renewed with your plan.

What are cached answers?

If you repeat a call with the same parameters within an hour (10 minutes for event details and the batch feed), we answer it from a cache: it's faster and costs no credits. Add cached=false to a call when you need fresh data.

Can I upgrade or cancel at any time?

Yes. Upgrades start right away, and the unused days of your current plan come off the first invoice. You can cancel from Manage billing on the Billing page; your plan runs until the end of the period you paid for.

Which places can I get events for?

AllEvents lists 200M+ events in 40K+ cities and towns. The free trial covers everywhere; on a paid plan, its coverage decides which places your keys can request, from a few cities up to a whole country. You'll see the plans after you sign up.

Can I show events on my website without writing code?

Yes. Create an event widget in your dashboard, pick a city, organizer or keyword and a look, then paste two lines of HTML into your site. It uses the same credits as API calls, and your API key never appears in the page.

How do I pay, and do I get invoices?

Payments go through Stripe. Plans and prices are shown in the portal after you sign up, and every invoice can be downloaded from the Billing page.

Make your first call in under 5 minutes.

Start with a free trial, no credit card needed.