get tariffs
https://onlinesim.io/api/proxy/tariffs.php
Returns a list of available rental plans for proxy with detailed information.
You can use this request to browse possible options for proxy and their price.
Security
Parameters
lang
Response language: fr
- French, de
- German, ru
- Russian, en
- English, zh
- Chinese
In:
query
Schema:
- stringExample:
"en"
Enum:fr
de
ru
en
zh
Global params
Responses
200
Successful response for `tariffs` request: the server returns information on available proxy plans or throws an exception.
Content Type:
application/json
- Schema
- Examples
- objectExample:
{"days":{"config":{"#proxy_type#":{"type":"shared","enabled":true,"days":{"#period#":0}}},"operators":["string"],"rotate":{"#proxy_type#":[0]},"connect":["https"]},"traffic":{"config":{"#countrycode#":{"name":"string","cities":{"#cityname#":"string"},"operators":{"#operator_code#":"string"}}}},"response":1}
Properties:days
objectProxy plans informationExample:{"config":{"#proxy_type#":{"type":"shared","enabled":true,"days":{"#period#":0}}},"operators":["string"],"rotate":{"#proxy_type#":[0]},"connect":["https"]}
traffic
objectTraffic plans are no longer available Proxy plans with traffic based criterion
Example:{"config":{"#countrycode#":{"name":"string","cities":{"#cityname#":"string"},"operators":{"#operator_code#":"string"}}}}
Deprecatedresponse
mixed1, if the request has been completed successfully, or an error messageExample:1
One Of:- integerExample:
0
- stringExample:
"string"