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 states

PreviousGet countriesNextGet cities

Last updated 7 months ago

If you would like to make the location more specific, you can also use states. You must pass in the ISO code of the country, along with the state name you got from the endpoint.

Only US is supported by PREMIUM_RESIDENTIAL

countries

Get states for a proxy type and country

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