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 States

PreviousGet CountriesNextGet Cities

Last updated 8 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 Oxylabs

countries

Get states for a specific proxy type and country

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