{"openapi":"3.1.0","info":{"title":"AllEvents API","version":"1.0.0","termsOfService":"https://developer.allevents.in/terms","contact":{"name":"AllEvents developer support","url":"https://developer.allevents.in/support","email":"support@allevents.in"},"summary":"Read-only JSON API for events, cities and organizers from AllEvents.","description":"Generated from the gateway route table and the API documentation. Response bodies share the documented envelope; the per-API fields inside `data` are described in the documentation, not in this file."},"externalDocs":{"description":"API documentation","url":"https://developer.allevents.in/docs"},"servers":[{"url":"https://developer.allevents.in/v1"}],"security":[{"ApiKey":[]}],"tags":[{"name":"Events API"}],"paths":{"/events/list":{"get":{"operationId":"get_events_list","summary":"List Events by City","description":"Lists a city's events with basic filters. Existing integrations can keep using it; new ones should use List Events by City (Advanced).","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-list"},"parameters":[{"name":"city","in":"query","required":true,"description":"City name","schema":{"type":"string"}},{"name":"state","in":"query","required":false,"description":"State or region code or name, such as `England` or `NY` Recommended.","schema":{"type":"string"}},{"name":"country","in":"query","required":true,"description":"Country name or code, such as `United Kingdom`","schema":{"type":"string"}},{"name":"sdate","in":"query","required":false,"description":"Start of the date range","schema":{"type":"string","format":"date"}},{"name":"edate","in":"query","required":false,"description":"End of the date range","schema":{"type":"string","format":"date"}},{"name":"category","in":"query","required":false,"description":"One category, such as `music`. Matched as that category's keywords in the event name, description and tags.","schema":{"type":"string"}},{"name":"shortDesc","in":"query","required":false,"description":"Adds `description.short` Default: Off.","schema":{"type":"string","enum":["1"]}},{"name":"page","in":"query","required":false,"description":"Page number, starting at 0. `(page + 1) × reqRows` can't exceed 10,000. Default: 0.","schema":{"type":"integer"}},{"name":"reqRows","in":"query","required":false,"description":"Results per page. Maximum 10. `rows` also works; `reqRows` wins. Default: 10.","schema":{"type":"integer"}},{"name":"cached","in":"query","required":false,"description":"`false` fetches fresh data. See Cached answers. Default: true.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post_events_list","summary":"List Events by City","description":"Lists a city's events with basic filters. Existing integrations can keep using it; new ones should use List Events by City (Advanced).","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-list"},"requestBody":{"description":"The same parameters as the GET query string, as a form or JSON body. JSON body wins over form body, which wins over the query string.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"city":{"type":"string","description":"City name"},"state":{"type":"string","description":"State or region code or name, such as `England` or `NY` Recommended."},"country":{"type":"string","description":"Country name or code, such as `United Kingdom`"},"sdate":{"type":"string","format":"date","description":"Start of the date range"},"edate":{"type":"string","format":"date","description":"End of the date range"},"category":{"type":"string","description":"One category, such as `music`. Matched as that category's keywords in the event name, description and tags."},"shortDesc":{"type":"string","enum":["1"],"description":"Adds `description.short` Default: Off."},"page":{"type":"integer","description":"Page number, starting at 0. `(page + 1) × reqRows` can't exceed 10,000. Default: 0."},"reqRows":{"type":"integer","description":"Results per page. Maximum 10. `rows` also works; `reqRows` wins. Default: 10."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["city","country"]}},"application/json":{"schema":{"type":"object","properties":{"city":{"type":"string","description":"City name"},"state":{"type":"string","description":"State or region code or name, such as `England` or `NY` Recommended."},"country":{"type":"string","description":"Country name or code, such as `United Kingdom`"},"sdate":{"type":"string","format":"date","description":"Start of the date range"},"edate":{"type":"string","format":"date","description":"End of the date range"},"category":{"type":"string","description":"One category, such as `music`. Matched as that category's keywords in the event name, description and tags."},"shortDesc":{"type":"string","enum":["1"],"description":"Adds `description.short` Default: Off."},"page":{"type":"integer","description":"Page number, starting at 0. `(page + 1) × reqRows` can't exceed 10,000. Default: 0."},"reqRows":{"type":"integer","description":"Results per page. Maximum 10. `rows` also works; `reqRows` wins. Default: 10."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["city","country"]}}}},"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/list_es":{"get":{"operationId":"get_events_list_es","summary":"List Events by City (Advanced)","description":"Lists events that start in a city, with rich filters and sorting. Each result has the same fixed set of fields. Use this API for new integrations.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-list-es"},"parameters":[{"name":"city","in":"query","required":true,"description":"City name, such as `New York`.","schema":{"type":"string"}},{"name":"state","in":"query","required":false,"description":"State or region code or name, such as `England` or `NY`. Recommended.","schema":{"type":"string"}},{"name":"country","in":"query","required":true,"description":"Country name or code, such as `United Kingdom`.","schema":{"type":"string"}},{"name":"latitude","in":"query","required":false,"description":"Limits results to a radius inside the city. Send with `longitude` and `radius`.","schema":{"type":"number"}},{"name":"longitude","in":"query","required":false,"description":"See `latitude`.","schema":{"type":"number"}},{"name":"radius","in":"query","required":false,"description":"Radius in km. Maximum 100. See `latitude`.","schema":{"type":"integer"}},{"name":"when","in":"query","required":false,"description":"`today`, `tomorrow`, `this_weekend`, `this_week`, `next_week`, `this_month` or `next_month`. Not with `sdate` or `edate`.","schema":{"type":"string"}},{"name":"sdate","in":"query","required":false,"description":"First day of the range. Alone, the range is only that day. Default: Today.","schema":{"type":"string","format":"date"}},{"name":"edate","in":"query","required":false,"description":"Last day of the range. Can't be before `sdate`. Default: No end.","schema":{"type":"string","format":"date"}},{"name":"category","in":"query","required":false,"description":"Category slugs, such as `music,workshops`, as in the `categories` response field. Matches the categories we are most confident about for each event.","schema":{"type":"string","description":"Comma-separated values"}},{"name":"category_op","in":"query","required":false,"description":"Whether an event needs any `category` value, or all of them. Default: or.","schema":{"type":"string","enum":["or","and"]}},{"name":"keyword","in":"query","required":false,"description":"Every word must appear in the event name, venue name or organizer name.","schema":{"type":"string"}},{"name":"phrase","in":"query","required":false,"description":"This exact phrase must appear in the event name.","schema":{"type":"string"}},{"name":"time_of_day","in":"query","required":false,"description":"`morning`, `afternoon`, `evening`, `night`.","schema":{"type":"string","description":"Comma-separated values"}},{"name":"time_of_day_op","in":"query","required":false,"description":"Whether an event needs any `time_of_day` value, or all of them. An event has every part of the day it spans. Default: or.","schema":{"type":"string","enum":["or","and"]}},{"name":"price","in":"query","required":false,"description":"Free or paid events only.","schema":{"type":"string","enum":["free","paid"]}},{"name":"min_price","in":"query","required":false,"description":"Lowest starting price. Events with no price are left out.","schema":{"type":"number"}},{"name":"max_price","in":"query","required":false,"description":"Highest starting price. Events with no price are left out.","schema":{"type":"number"}},{"name":"currency","in":"query","required":false,"description":"Ticket currency, such as `USD` or `EUR`. Prices aren't converted: send it with a price range.","schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"description":"`date` (soonest first), `popular`, `price_asc`, `price_desc` or `interested` (most interested first). Default: date.","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Page number, starting at 0. `(page + 1) × reqRows` can't exceed 10,000. Default: 0.","schema":{"type":"integer"}},{"name":"reqRows","in":"query","required":false,"description":"Results per page. Maximum 10. `rows` also works; `reqRows` wins. Default: 10.","schema":{"type":"integer"}},{"name":"shortDesc","in":"query","required":false,"description":"Adds `description.short` to each event. Default: Off.","schema":{"type":"string","enum":["1"]}},{"name":"cached","in":"query","required":false,"description":"`false` fetches fresh data. See Cached answers. Default: true.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post_events_list_es","summary":"List Events by City (Advanced)","description":"Lists events that start in a city, with rich filters and sorting. Each result has the same fixed set of fields. Use this API for new integrations.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-list-es"},"requestBody":{"description":"The same parameters as the GET query string, as a form or JSON body. JSON body wins over form body, which wins over the query string.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"city":{"type":"string","description":"City name, such as `New York`."},"state":{"type":"string","description":"State or region code or name, such as `England` or `NY`. Recommended."},"country":{"type":"string","description":"Country name or code, such as `United Kingdom`."},"latitude":{"type":"number","description":"Limits results to a radius inside the city. Send with `longitude` and `radius`."},"longitude":{"type":"number","description":"See `latitude`."},"radius":{"type":"integer","description":"Radius in km. Maximum 100. See `latitude`."},"when":{"type":"string","description":"`today`, `tomorrow`, `this_weekend`, `this_week`, `next_week`, `this_month` or `next_month`. Not with `sdate` or `edate`."},"sdate":{"type":"string","format":"date","description":"First day of the range. Alone, the range is only that day. Default: Today."},"edate":{"type":"string","format":"date","description":"Last day of the range. Can't be before `sdate`. Default: No end."},"category":{"type":"string","description":"Category slugs, such as `music,workshops`, as in the `categories` response field. Matches the categories we are most confident about for each event."},"category_op":{"type":"string","enum":["or","and"],"description":"Whether an event needs any `category` value, or all of them. Default: or."},"keyword":{"type":"string","description":"Every word must appear in the event name, venue name or organizer name."},"phrase":{"type":"string","description":"This exact phrase must appear in the event name."},"time_of_day":{"type":"string","description":"`morning`, `afternoon`, `evening`, `night`."},"time_of_day_op":{"type":"string","enum":["or","and"],"description":"Whether an event needs any `time_of_day` value, or all of them. An event has every part of the day it spans. Default: or."},"price":{"type":"string","enum":["free","paid"],"description":"Free or paid events only."},"min_price":{"type":"number","description":"Lowest starting price. Events with no price are left out."},"max_price":{"type":"number","description":"Highest starting price. Events with no price are left out."},"currency":{"type":"string","description":"Ticket currency, such as `USD` or `EUR`. Prices aren't converted: send it with a price range."},"sort":{"type":"string","description":"`date` (soonest first), `popular`, `price_asc`, `price_desc` or `interested` (most interested first). Default: date."},"page":{"type":"integer","description":"Page number, starting at 0. `(page + 1) × reqRows` can't exceed 10,000. Default: 0."},"reqRows":{"type":"integer","description":"Results per page. Maximum 10. `rows` also works; `reqRows` wins. Default: 10."},"shortDesc":{"type":"string","enum":["1"],"description":"Adds `description.short` to each event. Default: Off."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["city","country"]}},"application/json":{"schema":{"type":"object","properties":{"city":{"type":"string","description":"City name, such as `New York`."},"state":{"type":"string","description":"State or region code or name, such as `England` or `NY`. Recommended."},"country":{"type":"string","description":"Country name or code, such as `United Kingdom`."},"latitude":{"type":"number","description":"Limits results to a radius inside the city. Send with `longitude` and `radius`."},"longitude":{"type":"number","description":"See `latitude`."},"radius":{"type":"integer","description":"Radius in km. Maximum 100. See `latitude`."},"when":{"type":"string","description":"`today`, `tomorrow`, `this_weekend`, `this_week`, `next_week`, `this_month` or `next_month`. Not with `sdate` or `edate`."},"sdate":{"type":"string","format":"date","description":"First day of the range. Alone, the range is only that day. Default: Today."},"edate":{"type":"string","format":"date","description":"Last day of the range. Can't be before `sdate`. Default: No end."},"category":{"type":"string","description":"Category slugs, such as `music,workshops`, as in the `categories` response field. Matches the categories we are most confident about for each event."},"category_op":{"type":"string","enum":["or","and"],"description":"Whether an event needs any `category` value, or all of them. Default: or."},"keyword":{"type":"string","description":"Every word must appear in the event name, venue name or organizer name."},"phrase":{"type":"string","description":"This exact phrase must appear in the event name."},"time_of_day":{"type":"string","description":"`morning`, `afternoon`, `evening`, `night`."},"time_of_day_op":{"type":"string","enum":["or","and"],"description":"Whether an event needs any `time_of_day` value, or all of them. An event has every part of the day it spans. Default: or."},"price":{"type":"string","enum":["free","paid"],"description":"Free or paid events only."},"min_price":{"type":"number","description":"Lowest starting price. Events with no price are left out."},"max_price":{"type":"number","description":"Highest starting price. Events with no price are left out."},"currency":{"type":"string","description":"Ticket currency, such as `USD` or `EUR`. Prices aren't converted: send it with a price range."},"sort":{"type":"string","description":"`date` (soonest first), `popular`, `price_asc`, `price_desc` or `interested` (most interested first). Default: date."},"page":{"type":"integer","description":"Page number, starting at 0. `(page + 1) × reqRows` can't exceed 10,000. Default: 0."},"reqRows":{"type":"integer","description":"Results per page. Maximum 10. `rows` also works; `reqRows` wins. Default: 10."},"shortDesc":{"type":"string","enum":["1"],"description":"Adds `description.short` to each event. Default: Off."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["city","country"]}}}},"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/geo":{"get":{"operationId":"get_events_geo","summary":"Events by Geo Coordinates","description":"Finds events around a point. Use it to show events near a user.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-geo"},"parameters":[{"name":"latitude","in":"query","required":true,"description":"Latitude. Can't be `0`.","schema":{"type":"number"}},{"name":"longitude","in":"query","required":true,"description":"Longitude. Can't be `0`.","schema":{"type":"number"}},{"name":"radius","in":"query","required":true,"description":"Radius in km, whole numbers only. Above 100 becomes 100.","schema":{"type":"integer"}},{"name":"category","in":"query","required":false,"description":"One category, such as `music`. Matched as that category's keywords in the event name, description and tags.","schema":{"type":"string"}},{"name":"shortDesc","in":"query","required":false,"description":"Adds `description.short` Default: Off.","schema":{"type":"string","enum":["1"]}},{"name":"page","in":"query","required":false,"description":"Page number, starting at 0. `(page + 1) × rows` can't exceed 1,000. Default: 0.","schema":{"type":"integer"}},{"name":"rows","in":"query","required":false,"description":"Results per page. Maximum 10. Default: 10.","schema":{"type":"integer"}},{"name":"cached","in":"query","required":false,"description":"`false` fetches fresh data. See Cached answers. Default: true.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post_events_geo","summary":"Events by Geo Coordinates","description":"Finds events around a point. Use it to show events near a user.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-geo"},"requestBody":{"description":"The same parameters as the GET query string, as a form or JSON body. JSON body wins over form body, which wins over the query string.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"latitude":{"type":"number","description":"Latitude. Can't be `0`."},"longitude":{"type":"number","description":"Longitude. Can't be `0`."},"radius":{"type":"integer","description":"Radius in km, whole numbers only. Above 100 becomes 100."},"category":{"type":"string","description":"One category, such as `music`. Matched as that category's keywords in the event name, description and tags."},"shortDesc":{"type":"string","enum":["1"],"description":"Adds `description.short` Default: Off."},"page":{"type":"integer","description":"Page number, starting at 0. `(page + 1) × rows` can't exceed 1,000. Default: 0."},"rows":{"type":"integer","description":"Results per page. Maximum 10. Default: 10."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["latitude","longitude","radius"]}},"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","description":"Latitude. Can't be `0`."},"longitude":{"type":"number","description":"Longitude. Can't be `0`."},"radius":{"type":"integer","description":"Radius in km, whole numbers only. Above 100 becomes 100."},"category":{"type":"string","description":"One category, such as `music`. Matched as that category's keywords in the event name, description and tags."},"shortDesc":{"type":"string","enum":["1"],"description":"Adds `description.short` Default: Off."},"page":{"type":"integer","description":"Page number, starting at 0. `(page + 1) × rows` can't exceed 1,000. Default: 0."},"rows":{"type":"integer","description":"Results per page. Maximum 10. Default: 10."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["latitude","longitude","radius"]}}}},"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/search":{"get":{"operationId":"get_events_search","summary":"Events Search","description":"Searches events worldwide by keyword.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-search"},"parameters":[{"name":"query","in":"query","required":true,"description":"Search text","schema":{"type":"string"}},{"name":"city","in":"query","required":false,"description":"Puts 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 answers `This city is not in your coverage.` (0 credits).","schema":{"type":"string"}},{"name":"state","in":"query","required":false,"description":"State code or name of `city` (`TX`, `Maharashtra`). Picks the right city when the name exists in several places (Delhi, India vs Delhi, NY).","schema":{"type":"string"}},{"name":"country","in":"query","required":false,"description":"Country name or code of `city` (`India`, `US`). With `country` the city is matched exactly as in List Events by City (Advanced).","schema":{"type":"string"}},{"name":"latitude","in":"query","required":false,"description":"Orders results by distance from this point when `city` isn't sent. Send both coordinates; without a city or point, results rank by text only.","schema":{"type":"number"}},{"name":"longitude","in":"query","required":false,"description":"See `latitude`","schema":{"type":"number"}},{"name":"page","in":"query","required":false,"description":"Page number, starting at 0. `(page + 1) × rows` can't exceed 1,000. Default: 0.","schema":{"type":"integer"}},{"name":"rows","in":"query","required":false,"description":"Results per page. Maximum 10. Default: 10.","schema":{"type":"integer"}},{"name":"cached","in":"query","required":false,"description":"`false` fetches fresh data. See Cached answers. Default: true.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post_events_search","summary":"Events Search","description":"Searches events worldwide by keyword.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-search"},"requestBody":{"description":"The same parameters as the GET query string, as a form or JSON body. JSON body wins over form body, which wins over the query string.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"query":{"type":"string","description":"Search text"},"city":{"type":"string","description":"Puts 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 answers `This city is not in your coverage.` (0 credits)."},"state":{"type":"string","description":"State code or name of `city` (`TX`, `Maharashtra`). Picks the right city when the name exists in several places (Delhi, India vs Delhi, NY)."},"country":{"type":"string","description":"Country name or code of `city` (`India`, `US`). With `country` the city is matched exactly as in List Events by City (Advanced)."},"latitude":{"type":"number","description":"Orders results by distance from this point when `city` isn't sent. Send both coordinates; without a city or point, results rank by text only."},"longitude":{"type":"number","description":"See `latitude`"},"page":{"type":"integer","description":"Page number, starting at 0. `(page + 1) × rows` can't exceed 1,000. Default: 0."},"rows":{"type":"integer","description":"Results per page. Maximum 10. Default: 10."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["query"]}},"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","description":"Search text"},"city":{"type":"string","description":"Puts 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 answers `This city is not in your coverage.` (0 credits)."},"state":{"type":"string","description":"State code or name of `city` (`TX`, `Maharashtra`). Picks the right city when the name exists in several places (Delhi, India vs Delhi, NY)."},"country":{"type":"string","description":"Country name or code of `city` (`India`, `US`). With `country` the city is matched exactly as in List Events by City (Advanced)."},"latitude":{"type":"number","description":"Orders results by distance from this point when `city` isn't sent. Send both coordinates; without a city or point, results rank by text only."},"longitude":{"type":"number","description":"See `latitude`"},"page":{"type":"integer","description":"Page number, starting at 0. `(page + 1) × rows` can't exceed 1,000. Default: 0."},"rows":{"type":"integer","description":"Results per page. Maximum 10. Default: 10."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["query"]}}}},"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/get_event":{"get":{"operationId":"get_get_event","summary":"Event Details","description":"Returns one event with its full description, tickets and categories. Events that have ended aren't available: they answer `404`.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/get-event"},"parameters":[{"name":"event_id","in":"query","required":true,"description":"Event ID","schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"cached","in":"query","required":false,"description":"Default `true`. `false` fetches fresh data. See Cached answers.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post_get_event","summary":"Event Details","description":"Returns one event with its full description, tickets and categories. Events that have ended aren't available: they answer `404`.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/get-event"},"requestBody":{"description":"The same parameters as the GET query string, as a form or JSON body. JSON body wins over form body, which wins over the query string.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"event_id":{"type":"string","pattern":"^[0-9]+$","description":"Event ID"},"cached":{"type":"boolean","description":"Default `true`. `false` fetches fresh data. See Cached answers."}},"required":["event_id"]}},"application/json":{"schema":{"type":"object","properties":{"event_id":{"type":"string","pattern":"^[0-9]+$","description":"Event ID"},"cached":{"type":"boolean","description":"Default `true`. `false` fetches fresh data. See Cached answers."}},"required":["event_id"]}}}},"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/batch":{"get":{"operationId":"get_events_batch","summary":"Events in Batch","description":"Returns all upcoming events in your coverage, a batch at a time. Use it to sync a local copy of the catalog.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-batch"},"parameters":[{"name":"next_cursor","in":"query","required":false,"description":"The `next_cursor` from your last response, exactly as you got it Default: Start.","schema":{"type":"string"}},{"name":"count","in":"query","required":false,"description":"Events per call, 1 to 1000. A larger value becomes 1000; `0`, a negative or a non-whole number answers `400`. Default: 1000.","schema":{"type":"integer"}},{"name":"updated_after","in":"query","required":false,"description":"Only events updated after this time (compare `updated_at`)","schema":{"type":"integer","description":"Unix timestamp"}},{"name":"min_score","in":"query","required":false,"description":"Only events with at least this internal ranking score. The score itself isn't returned.","schema":{"type":"number"}},{"name":"cached","in":"query","required":false,"description":"`false` fetches fresh data. See Cached answers. Default: true.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post_events_batch","summary":"Events in Batch","description":"Returns all upcoming events in your coverage, a batch at a time. Use it to sync a local copy of the catalog.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/events-batch"},"requestBody":{"description":"The same parameters as the GET query string, as a form or JSON body. JSON body wins over form body, which wins over the query string.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"next_cursor":{"type":"string","description":"The `next_cursor` from your last response, exactly as you got it Default: Start."},"count":{"type":"integer","description":"Events per call, 1 to 1000. A larger value becomes 1000; `0`, a negative or a non-whole number answers `400`. Default: 1000."},"updated_after":{"type":"integer","description":"Only events updated after this time (compare `updated_at`)"},"min_score":{"type":"number","description":"Only events with at least this internal ranking score. The score itself isn't returned."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}}}},"application/json":{"schema":{"type":"object","properties":{"next_cursor":{"type":"string","description":"The `next_cursor` from your last response, exactly as you got it Default: Start."},"count":{"type":"integer","description":"Events per call, 1 to 1000. A larger value becomes 1000; `0`, a negative or a non-whole number answers `400`. Default: 1000."},"updated_after":{"type":"integer","description":"Only events updated after this time (compare `updated_at`)"},"min_score":{"type":"number","description":"Only events with at least this internal ranking score. The score itself isn't returned."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}}}}}},"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/organizer/events":{"get":{"operationId":"get_organizer_events","summary":"Events by Organizer","description":"Lists one organizer's upcoming and running events. Get `organizer_id` from the `org_id` of Search Organizers or of an event's `organizer`.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/organizer-events"},"parameters":[{"name":"organizer_id","in":"query","required":true,"description":"Organizer ID","schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"city","in":"query","required":false,"description":"Only events in this city","schema":{"type":"string"}},{"name":"past","in":"query","required":false,"description":"Only `0` is accepted; any other value answers `400`. Default: 0.","schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"description":"Page number, starting at 0 Default: 0.","schema":{"type":"integer"}},{"name":"count","in":"query","required":false,"description":"Results per page. Maximum 10. Default: 10.","schema":{"type":"integer"}},{"name":"cached","in":"query","required":false,"description":"`false` fetches fresh data. See Cached answers. Default: true.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post_organizer_events","summary":"Events by Organizer","description":"Lists one organizer's upcoming and running events. Get `organizer_id` from the `org_id` of Search Organizers or of an event's `organizer`.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/organizer-events"},"requestBody":{"description":"The same parameters as the GET query string, as a form or JSON body. JSON body wins over form body, which wins over the query string.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"organizer_id":{"type":"string","pattern":"^[0-9]+$","description":"Organizer ID"},"city":{"type":"string","description":"Only events in this city"},"past":{"type":"integer","description":"Only `0` is accepted; any other value answers `400`. Default: 0."},"page":{"type":"integer","description":"Page number, starting at 0 Default: 0."},"count":{"type":"integer","description":"Results per page. Maximum 10. Default: 10."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["organizer_id"]}},"application/json":{"schema":{"type":"object","properties":{"organizer_id":{"type":"string","pattern":"^[0-9]+$","description":"Organizer ID"},"city":{"type":"string","description":"Only events in this city"},"past":{"type":"integer","description":"Only `0` is accepted; any other value answers `400`. Default: 0."},"page":{"type":"integer","description":"Page number, starting at 0 Default: 0."},"count":{"type":"integer","description":"Results per page. Maximum 10. Default: 10."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["organizer_id"]}}}},"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/organizers/search":{"get":{"operationId":"get_organizers_search","summary":"Search Organizers","description":"Finds event organizers by name. Results aren't limited by your coverage. Some organizers, such as listings imported from other sites, are never returned.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/organizers-search"},"parameters":[{"name":"term","in":"query","required":true,"description":"Start of the organizer's name","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Page number, starting at 0. Each page has up to 10 results, and `(page + 1) × 10` can't exceed 1,000. Default: 0.","schema":{"type":"integer"}},{"name":"cached","in":"query","required":false,"description":"`false` fetches fresh data. See Cached answers. Default: true.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post_organizers_search","summary":"Search Organizers","description":"Finds event organizers by name. Results aren't limited by your coverage. Some organizers, such as listings imported from other sites, are never returned.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/organizers-search"},"requestBody":{"description":"The same parameters as the GET query string, as a form or JSON body. JSON body wins over form body, which wins over the query string.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"term":{"type":"string","description":"Start of the organizer's name"},"page":{"type":"integer","description":"Page number, starting at 0. Each page has up to 10 results, and `(page + 1) × 10` can't exceed 1,000. Default: 0."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["term"]}},"application/json":{"schema":{"type":"object","properties":{"term":{"type":"string","description":"Start of the organizer's name"},"page":{"type":"integer","description":"Page number, starting at 0. Each page has up to 10 results, and `(page + 1) × 10` can't exceed 1,000. Default: 0."},"cached":{"type":"boolean","description":"`false` fetches fresh data. See Cached answers. Default: true."}},"required":["term"]}}}},"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/geo/city_suggestion":{"get":{"operationId":"get_geo_city_suggestion","summary":"City Suggestions","description":"Suggests up to 10 cities in your coverage from a partial name. Use it for autocomplete, or to get the exact `state` and `country` for the list APIs.\n\nThe `city` value can also be sent as the last path segment; the query form is preferred.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/geo-city-suggestion"},"parameters":[{"name":"city","in":"query","required":true,"description":"Full or partial city name. Use the query form for text with `+` or `%`.","schema":{"type":"string"}},{"name":"cached","in":"query","required":false,"description":"Default `true`. `false` fetches fresh data. See Cached answers.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post_geo_city_suggestion","summary":"City Suggestions","description":"Suggests up to 10 cities in your coverage from a partial name. Use it for autocomplete, or to get the exact `state` and `country` for the list APIs.\n\nThe `city` value can also be sent as the last path segment; the query form is preferred.","tags":["Events API"],"externalDocs":{"url":"https://developer.allevents.in/docs/geo-city-suggestion"},"requestBody":{"description":"The same parameters as the GET query string, as a form or JSON body. JSON body wins over form body, which wins over the query string.","content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"city":{"type":"string","description":"Full or partial city name. Use the query form for text with `+` or `%`."},"cached":{"type":"boolean","description":"Default `true`. `false` fetches fresh data. See Cached answers."}},"required":["city"]}},"application/json":{"schema":{"type":"object","properties":{"city":{"type":"string","description":"Full or partial city name. Use the query form for text with `+` or `%`."},"cached":{"type":"boolean","description":"Default `true`. `false` fetches fresh data. See Cached answers."}},"required":["city"]}}}},"responses":{"200":{"description":"Processed. Check `error`: above 0 means no usable result (for example nothing found or outside your coverage), at 0 credits.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"X-Credits-Limit":{"$ref":"#/components/headers/X-Credits-Limit"},"X-Credits-Remaining":{"$ref":"#/components/headers/X-Credits-Remaining"},"X-Cache":{"$ref":"#/components/headers/X-Cache"},"X-Cache-Source":{"$ref":"#/components/headers/X-Cache-Source"},"Age":{"$ref":"#/components/headers/Age"},"X-Plan-Status":{"$ref":"#/components/headers/X-Plan-Status"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"description":"A parameter is missing or invalid, or the city was not found (`invalid_param` for a disallowed parameter name).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`invalid_key`: the API key is missing, invalid or revoked.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"`credits_exhausted`, `trial_ended` or `plan_expired`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`account_inactive` or `endpoint_not_allowed`.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The API, event or organizer was not found, or the event has ended (Event Details).","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: you hit your rate limit. The body is only a message saying when to try again; Retry-After has the wait in seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":1,"code":"rate_limited","message":"You hit your rate limit. Try again after ~1h5m or upgrade your plan to get higher rate limits."}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"503":{"description":"A temporary failure. Retry with backoff.","headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"X-Credits-Charged":{"$ref":"#/components/headers/X-Credits-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"headers":{"X-Request-Id":{"description":"ID of this request; include it when you contact support","schema":{"type":"string"}},"X-Credits-Charged":{"description":"Credits charged for this call","schema":{"type":"integer"}},"X-Credits-Limit":{"description":"Credits in your current period","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Credits left","schema":{"type":"integer"}},"X-Cache":{"description":"HIT (cached, 0 credits), MISS or BYPASS (cached=false)","schema":{"type":"string","enum":["HIT","MISS","BYPASS"]}},"X-Cache-Source":{"description":"shared: a MISS answered from the same data fetched moments ago for the same request (charged as fresh)","schema":{"type":"string","enum":["shared"]}},"Age":{"description":"Seconds since a cached or shared answer was fetched","schema":{"type":"integer"}},"X-Plan-Status":{"description":"expired once your paid plan has expired (sent with X-Plan-Warning)","schema":{"type":"string","enum":["expired"]}},"Retry-After":{"description":"Seconds to wait before retrying","schema":{"type":"integer"}}},"securitySchemes":{"ApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Keys in the query string are not accepted."}},"schemas":{"Envelope":{"type":"object","description":"The shared response body. See the documentation of each API for the fields inside `data`.","properties":{"message":{"type":"string","description":"Text for people; may change. Don't build logic on it (except END_OF_RESULTS on /events/batch)."},"error":{"type":"integer","description":"0 when the request found data; above 0 means no usable result."},"data":{"description":"The results: a list for most APIs, one object for some. Fields differ by API."},"count":{"type":"integer"}},"additionalProperties":true},"Error":{"type":"object","required":["error","message"],"properties":{"error":{"type":"integer"},"code":{"type":"string","enum":["invalid_param","invalid_key","credits_exhausted","trial_ended","plan_expired","account_inactive","endpoint_not_allowed","rate_limited"],"description":"Present only on the errors that have a code."},"message":{"type":"string"},"upgrade":{"type":"object","description":"On 402: the plan that lifts the limit and where to get it.","properties":{"plan":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"action":{"type":"string","enum":["upgrade","renew","book_a_call"]}}}},"additionalProperties":true}}}}