Get states

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 countries endpoint.

Only US is supported by PREMIUM_RESIDENTIAL

Get states for a proxy type and country

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
proxy_typestring · enumRequiredPossible values:
country_codestringRequired
Responses
200

Successful response

application/json
get
/api/states
GET /api/states?proxy_type=RESIDENTIAL&country_code=text HTTP/1.1
Host: reseller.flashproxy.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "states": [
    {
      "name": "text"
    }
  ]
}

Last updated