Nstproxy
  1. Api
Nstproxy
  • Api
    • Get User Info
      GET
    • Get Plan Info
      GET
    • Get Country List
      GET
    • Get State List
      GET
    • Get City List
      GET
    • Generate Proxies List
      GET
    • Get Channels
      GET
    • Channel Info
      GET
    • Add Channel
      POST
    • Update Channel
      PUT
    • Delete Channel
      DELETE
  1. Api

Get State List

GET
/api/v1/api/region/state
Api

Request

Authorization
Add parameter in query
token
Example:
token: ********************
Query Params
type
string 
required
Example:
residential
countryId
string 
required
Example:
10

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.nstproxy.com/api/v1/api/region/state?type=residential&countryId=10&token'

Responses

🟢200OK
application/json
Body
data
array [object {3}] 
required
regionId
integer 
required
value
string 
required
label
string 
required
err
boolean 
required
msg
string 
required
code
integer 
required
Example
{
  "data": [
    {
      "regionId": 3656,
      "value": "B",
      "label": "Buenos Aires"
    }
  ],
  "err": false,
  "msg": "SUCCESS",
  "code": 200
}
Modified at 2024-04-12 08:17:33
Previous
Get Country List
Next
Get City List
Built with