Events Search
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 |