Skip to main content
GET
cURL
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

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

Example:

"1.1.1.1"

country
string

2-letter Country code

Example:

"us"