Geo
List cities
Get available cities for a country. No authentication required.
Query Parameters
country*string
type?string
Default
"residential"Value in
"residential" | "mobile"state?integer
State id (from the regions endpoint). Returns cities within that subdivision; omit to get all cities of the country.
lang?string
Display language for name (e.g. ru). Default: server locale / English.
Response Body
application/json
curl -X GET "https://api.soxway.io/v1/geo/cities?country=US"{
"data": [
{
"code": "US",
"name": "United States",
"name_en": "Moscow"
}
],
"total": 0
}