get getState
https://onlinesim.io/api/proxy/getState.phpThis 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.
Security
Parameters
langResponse language: fr - French, de - German, ru - Russian, en - English, zh - Chinese
In:
querySchema:
- stringExample:
"en"Enum:frderuenzh
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
- objectExample:
{"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:responsemixed1, if the request has been completed successfully, or an error messageExample:1One Of:- integerExample:
1 - stringExample:
"WARNING_LOW_BALANCE"
listarrayList of available proxyExample:[{"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:- objectExample:
{"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}