Skip to main content
GET
/
waap
/
v1
/
ip-info
/
attack-map
Get a list of countries attacked by a specific IP
curl --request GET \
  --url https://api.gcore.com/waap/v1/ip-info/attack-map \
  --header 'Authorization: <api-key>'
[
  {
    "country": "<string>",
    "count": 123
  }
]

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

ip
required

The IP address to check

Response

Successful Response

Maximum array length: 10
country
string
required

An ISO 3166-1 alpha-2 formatted string representing the country that was attacked

Pattern: ^\w{2}$
count
integer
required

The number of attacks from the specified IP address to the country