GET
/
zone
/
route_ips

Paste your API token to the authorization field. To get a token, Create an account and learn how to generate a token

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

zone
string
required

Zone

country
string

2-letter Country code

list_countries
boolean

Return JSON array of [{ip, country},..] instead of plain list of IPs

Response

200 - application/json

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"},
]
country
string

2-letter Country code

ip
string

IP address