get getState

https://onlinesim.io/api/proxy/getState.php
proxy
This request returns a list of active proxies. You might want to use this request to quickly browse full list of available proxies for example to switch to another proxy server.

Parameters

lang

Response language:
fr - French
de - German
ru - Russian
en - English
zh - Chinese

In: query
Schema:
  • string
    Example: "en"
    Enum: fr de ru en zh

Responses

200

Successful response for `getState` request: the server returns information on all available proxy server connections or throws an exception.
Content Type:
application/json
  • Schema
  • Examples
  • object
    Example: {"response":1,"list":[{"type":"shared","connect_type":"https","host":"string","port":0,"user":"string","pass":"string","operator":"string","status":1,"country":"string","rent":14,"rotate":0,"extension":0,"comment":"string","port_count":0,"session":true,"city":"string","traffic":0,"general_traffic":0,"stop_at":"2019-08-24T14:15:22Z","check_at":"2019-08-24T14:15:22Z","created_at":"2019-08-24T14:15:22Z","updated_at":"2019-08-24T14:15:22Z","tzid":10000,"time":5750,"days":3,"hours":95,"change_ip":true,"change_type":true,"extend":{"#period_in_days#":0,"#data#MB/GB":0},"price_extend":0}]}
    Properties:
    • response
      mixed
      1, if the request has been completed successfully, or an error message
      Example: 1
      One Of:
      • integer
        Example: 1
      • string
        Example: "WARNING_LOW_BALANCE"
    • list
      array
      List of available proxy
      Example: [{"type":"shared","connect_type":"https","host":"string","port":0,"user":"string","pass":"string","operator":"string","status":1,"country":"string","rent":14,"rotate":0,"extension":0,"comment":"string","port_count":0,"session":true,"city":"string","traffic":0,"general_traffic":0,"stop_at":"2019-08-24T14:15:22Z","check_at":"2019-08-24T14:15:22Z","created_at":"2019-08-24T14:15:22Z","updated_at":"2019-08-24T14:15:22Z","tzid":10000,"time":5750,"days":3,"hours":95,"change_ip":true,"change_type":true,"extend":{"#period_in_days#":0,"#data#MB/GB":0},"price_extend":0}]
      Items:
      • object
        Example: {"type":"shared","connect_type":"https","host":"string","port":0,"user":"string","pass":"string","operator":"string","status":1,"country":"string","rent":14,"rotate":0,"extension":0,"comment":"string","port_count":0,"session":true,"city":"string","traffic":0,"general_traffic":0,"stop_at":"2019-08-24T14:15:22Z","check_at":"2019-08-24T14:15:22Z","created_at":"2019-08-24T14:15:22Z","updated_at":"2019-08-24T14:15:22Z","tzid":10000,"time":5750,"days":3,"hours":95,"change_ip":true,"change_type":true,"extend":{"#period_in_days#":0,"#data#MB/GB":0},"price_extend":0}