Introduction
Welcome to the EventAI API. Our platform provides real-time event and happy hour data across all 50 US states. Search by location, filter by category, and integrate live event feeds into your application.
Real-time Data
Events and happy hours scraped and verified daily across 200+ cities with automated source detection.
Geo Search
All endpoints support latitude/longitude queries with configurable radius in miles.
Base URL
Authentication
The EventAI API uses API keys to authenticate requests. You can view and manage your API keys in the EventAI Dashboard.
Security Best Practice
Your API keys carry privileges tied to your billing plan. Keep them secure and never expose them in client-side code or public repositories.
Pass your API key via the X-API-Key header on every request.
API Reference
Comprehensive documentation for all available endpoints.
/api/v1/events
Search events
Returns events near a given location, sorted by start date. Supports filtering by date range, category, and state.
Query Parameters
lat
float
Latitude of search center.
lng
float
Longitude of search center.
radius_miles
float
Search radius in miles.
date
string
Filter events on a specific date (YYYY-MM-DD).
category
string
Filter by event category.
state
string
Filter by state code. All standard US state codes supported (AL through WY, plus DC).
limit
integer
Number of results to return (1-100).
offset
integer
Number of results to skip for pagination.
Example Response
/api/v1/happy-hours
Search happy hours
Returns happy hours near a given location. Filter by day of week or get only currently active specials.
Query Parameters
lat
float
Latitude of search center.
lng
float
Longitude of search center.
radius_miles
float
Search radius in miles.
day
integer
ISO weekday (1=Monday, 7=Sunday).
active_now
boolean
Filter to currently active happy hours.
state
string
Filter by state code. All standard US state codes supported (AL through WY, plus DC).
limit
integer
Number of results to return (1-100).
Example Response
/api/v1/venues
Search venues
Returns venues near a given location. Optionally filter to only venues with active happy hours.
Query Parameters
lat
float
Latitude of search center.
lng
float
Longitude of search center.
radius_miles
float
Search radius in miles.
has_happy_hour
boolean
Filter to venues with active happy hours.
state
string
Filter by state code. All standard US state codes supported (AL through WY, plus DC).
limit
integer
Number of results to return (1-100).
Example Response
/api/v1/venues/{venue_id}
Get venue details
Returns full details for a single venue, including its active happy hours and upcoming events.
Path Parameters
venue_id
UUID
The unique identifier of the venue.