Flash Proxy Reseller API
  • Getting Started
    • Authorization
    • Formatting Proxies
  • Sub-Users
    • Create a sub-user
    • Get all sub-users
    • Get sub-user by ID
    • Update a sub-user
  • Proxy Plans
    • Purchase a plan
    • Update a plan
  • Reseller
    • Reseller Balance
  • Countries
    • Get Countries
    • Get States
    • Get Cities
Powered by GitBook
On this page
  1. Countries

Get Cities

PreviousGet States

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 specific 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
get
GET /api/cities HTTP/1.1
Host: api.flashproxy.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "cities": [
    {
      "name": "text"
    }
  ]
}