City by ID
Returns information from your requested city ID. For more information, please visit:https://docs.sportmonks.com/football/core-api/endpoints/cities/get-city-by-id
Request
- Base URLhttps://api.sportmonks.com/v3
- Auth
- API key in query parameter api_token
- or API key in header Authorization
Path parameters
The ID of the city you want to retrieve.
Query parameters
Enrich the API with more data by using includes
Allowed values: region. Pass as a semicolon-separated list (the API rejects comma here), e.g. include=region.
Select specific fields on the base entity
Selectable fields: id, country_id, region, name, latitude, longitude, geonameid. Pass as a comma-separated list, e.g. select=id,country_id.
Filter the API response on multiple related entities. There are static filters and dynamic filters. Please find the possibilities in the Static and Dynamic Filter tab.
Composable filter expression in the form name1:value1,value2;name2:value3. Available filter names: regionCities. Pass as a single string — the API rejects the bare comma-joined value codegen tools emit when this is modeled as an array.
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.