Account Management API
Available Datacenter & ISP IPs/Zone
Get the available Data center/ISP IPs per Zone
GET
Paste your API token to the authorization field. To get a token, Create an account and learn how to generate a token
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Zone
2-letter Country code
Return JSON
array of [{ip, country},..]
instead of plain list of IPs
Response
200 - application/json
Successful response with plain IPs list separated by new line, or JSON array of `[{ip, country},..]` in case `list_countries=true`
Return JSON
array of [{ip, country},..]
when list_countries=true
Example:
[
{"ip": "1.1.1.1", "country": "us"},
{"ip": "1.1.2.2", "country": "hk"},
]
IP address
Example:
"1.1.1.1"
2-letter Country code
Example:
"us"
Return JSON
array of [{ip, country},..]
when list_countries=true
Example:
[
{"ip": "1.1.1.1", "country": "us"},
{"ip": "1.1.2.2", "country": "hk"},
]
IP address
Example:
"1.1.1.1"
2-letter Country code
Example:
"us"
Plain list of IPs separated by new line when list_countries=false
Example:
1.1.1.1
1.1.2.2
10.0.0.0
Example:
"10.0.0.0/24"
Was this page helpful?