GET
/
zone
/
route_ips

将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌

Create an account, 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