Get Cities
Lists cities with pagination. The country filter is optional; without it cities of all countries are returned, and when countryId and countryCode are both given, cities matching both are returned. No token required.
Parameters
Header Parameters
Language of country and unit of measure names and validation error messages. English when it starts with en (e.g. en, en-US), Turkish otherwise. Success messages are always in Turkish.
"tr""en""tr"Query Parameters
Page number
11Records per page. To get the whole list, use 200 and iterate over meta.pageCount pages.
120050Sort field
"name""id""name"Sort direction (case-insensitive)
"asc""desc""asc"Country code (exact match, case-insensitive)
"TR"18Country ID, See
2341Comma-separated city IDs (at most 200)
"98273,98247"Cities whose name contains this value. Ignored when nameExact or namePrefix is given
"ADA"1255City name (exact match). When given, namePrefix and name are ignored
164Beginning of the city name. When given, name is ignored
164Responses
Cities listed
