Nearby Events
nearby_eventsFind PredictHQ events within a radius of a geographic point (latitude/longitude). Useful for "what is happening near this venue/store/airport" demand-forecasting queries. Filter by category and active-date window; results are ranked by predicted impact. Example: nearby_events({ latitude: 40.7128, longitude: -74.006, radius: "10km", category: "concerts,sports" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Only include events active on or before this date (YYYY-MM-DD), e.g. "2026-06-30". | |
| limit | No | Max events to return (default 15, max 50). | |
| start | No | Only include events active on or after this date (YYYY-MM-DD), e.g. "2026-06-01". | |
| radius | No | Search radius with unit, e.g. "10km", "5mi" (default "10km"). | |
| _apiKey | No | REQUIRED — your own PredictHQ access token. Pipeworx does not front a key for PredictHQ (14-day trial, then sales contact). Free keyless alternatives for event listings: ticketmaster, seatgeek. | |
| category | No | Comma-separated event categories. One or more of: concerts, sports, conferences, expos, festivals, performing-arts, community, public-holidays, observances, politics, academic, school-holidays, daylight-savings, severe-weather, airport-delays, disasters, terror, health-warnings. Example: "concerts,sports". | |
| latitude | Yes | Center latitude in decimal degrees, e.g. 40.7128. | |
| longitude | Yes | Center longitude in decimal degrees, e.g. -74.006. |