Flash Proxy
  • Authorization
  • Important
  • Reseller
    • Get balance
    • Formatting Proxies
  • Residential Proxies
  • Unlimited Proxies
  • Sub-users
    • Create a sub-user
    • Get all sub-users
    • Get sub-user by ID
    • Update sub-user
  • Proxy Plans
    • Purchase a plan
    • Update a plan
    • Delete a plan
  • Countries
    • Get countries
    • Get states
    • Get cities
    • Get ASNs
Powered by GitBook
On this page
  1. Countries

Get cities

PreviousGet statesNextGet ASNs

Last updated 8 months ago

To get available cities, you must pass the proxy_type, country_code(ISO) and the state name you got from the endpoint.

states

Get cities for a proxy type, country, and state

get
Authorizations
Query parameters
proxy_typestring ยท enumRequiredPossible values:
country_codestringRequired
statestringRequired
Responses
200
Successful response
application/json
400
Bad request
application/json
get
GET /api/cities HTTP/1.1
Host: reseller.flashproxy.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "cities": [
    {
      "name": "text"
    }
  ]
}