Skip to main content
GET
cURL
将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌Create an account, generate a token

授权

Authorization
string
header
必填

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

查询参数

zone
string
必填

Zone

country
string

2-letter Country code

list_countries
boolean

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

响应

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
string

IP address

示例:

"1.1.1.1"

country
string

2-letter Country code

示例:

"us"