Get city list information
HTTP method
Endpoint
GET
/v1/dict_city
Note: When you request this field, it will return you the targeted city information from the dictionary .
Path parameters
Parameter
Description
Nullable
country
name/id of the country.
No
region_id
id of the region
Yes
Response body parameters
Field
Type
Description
country_id
string
id of the country.
region_id
string
id of the region.
dict_city
array[string]
The country's urban areas.
id
string
id of the city
city_name
string
name of the city
Example request
Request GET http://{networkname}.api.offerslook.com/v1/dictcity?country=CN®ion_id=634
Example response
{
"code": 0,
"message": "Success",
"data": {
"region_id": 634,
"country_id": 48,
"dict_city": [
{
"id": 97738,
"city_name": "AOL"
}
]
}
}
Last updated
Was this helpful?