English
cURL
curl --request GET \ --url https://api.brightdata.com/cities \ --header 'Authorization: Bearer <token>'
[ { "c_id": "US", "region": "Texas", "r_id": "TX", "country": "United States", "name": "Cherokee" } ]
Get a list of cities from a Country
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
2-letter COUNTRY_CODE
COUNTRY_CODE
OK
The response is of type object[].
object[]
Was this page helpful?