Autosuggest Events
WHR Event Autosuggest API — v1.1 (1.1.0)
Download OpenAPI specification:Download
Autosuggest event/keyword matches for a partial search term. Intended for typeahead/autocomplete UI.
Autosuggest Events
Search for events/keywords matching a partial query string.
Authorizations:
(UsernameHeaderPasswordHeader)
query Parameters
| q required | string Example: q=`iitf`,`itpo.gov.in`
Search term to autosuggest events. The search string can be event website|domain|name|any string. |
Responses
Response Schema: application/json
Array
| is_token_deducted | string Enum: "yes" "no" Whether a token was deducted for this record in this call. |
| title | string Event name. |
Array of objects or null (EventEntity) An array of entities linked to the event — its city, country or venue. | |
| start_date | string <date> Event start date, as identified and verified by the data engine. |
| end_date | string <date> Event end date, as identified and verified by the data engine. |
| uuid | string Unique identifier for the event. |
Request samples
- cURL
- Python
- JavaScript
- PHP
curl -X GET "https://api.10times.com/v1.1/event/autosuggest?q=iitf" \ -H "username: your_username" \ -H "password: your_password" \ -H "Accept: application/json"
Response samples
- 200
- 400
- 403
- 429
- 500
Content type
application/json
Example
{- "0": {
- "is_token_deducted": "no",
- "title": "IIFT Conference on Empirical Issues in International Trade & Finance",
- "entity": {
- "0": {
- "type": "city",
- "name": "New Delhi"
}, - "1": {
- "type": "country",
- "name": "India"
}, - "2": {
- "type": "venue",
- "name": "Pragthi Maidan"
}
}, - "start_date": "2018-12-13",
- "end_date": "2018-12-14",
- "uuid": "b8d691b571e8a71e1d4d289583a1bd63"
}
}