POSThttps://api.dataify.com/api/open/geo/cities| Fields | Type | Required | Annotations |
|---|---|---|---|
| country | string | Yes | Country code |
| state | string | No | State Code or State Display Name |
| type | int | No | Resource Type: 1 indicates High-Bandwidth Proxies. If omitted, Residential Proxies are used by default. |
{
"country": "US",
"state": "CA"
}| Fields | Type | Annotations |
|---|---|---|
| city | string | City Code |
| city_show | string | City Display Name |
{
"code": 200,
"data": [
{
"city": "los_angeles",
"city_show": "Los Angeles"
}
],
"message": "success",
"timestamp": 1710000001
}city is the standard city code, while city_show is the display name shown on the frontend.type is optional and determines whether to return the city list for High-Bandwidth Proxies or Residential Proxies.state is not provided, the API returns a list of all cities in the specified country.