Get City List
Basic Information
Interface Description: Get the list of cities supported by Thordata Residential Proxies or Unlimited Proxy Servers through the interface
Interface URL: https://api.thordata.com/api/locations/cities
Request Method: GET
Request parameters
Params:
token
string
Yes
key
string
Yes
proxy_type
number
Yes
Select the proxy type: 1 is Residential Proxies, 2 is Unlimited Proxy servers (default is 1)
country_code
string
Yes
Enter the country code to get the city list of the corresponding country
state_code
string
No
Enter a state code to get a list of cities in the corresponding state
Response example
code
number
No
-
data
object
No
-
country_code
string
Yes
Country code
country_name
string
Yes
Country name
state_code
string
Yes
State code
state_name
string
Yes
State name
city_code
string
Yes
City code
city_name
string
Yes
City name
msg
string
No
-
Last updated