Skip to content

List DDoS attacks on an IP address

GET/servers/{server}/ddos-protection/ip/{ip}/attacks

Overview

Lists attacks against this address, including start times, traffic details and sample sizes. An attack with no endedAt is ongoing. Attacks before the address was assigned to this account are omitted.

Permissions

Requires the network.read (View networking) permission for the selected team. Resources outside that team return 404.

curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/servers/{server}/ddos-protection/ip/{ip}/attacks' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
[
  {
    "id": "96803df8-cd1b-4f25-b661-2da1072b88d0",
    "startedAt": "2026-09-12T03:18:44Z",
    "endedAt": "2026-09-12T03:31:09Z",
    "sampleRate": 1000,
    "address": "203.0.113.24",
    "signatures": [
      {
        "id": "4578f2ec-8eaa-4e21-96b6-430c36033f33",
        "name": "DNS amplification",
        "description": "Large DNS responses from source port 53 that the address never asked for."
      }
    ]
  }
]

Authorization

Authorizationstringheaderrequired

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Send it as Bearer <token>.

Path parameters

serverstringrequired

The server uuid short

ipstringrequired

The ip ID.

Response 200

application/json

The whole set, as a JSON array. There is no envelope and no paging.

idstringrequired

The id ID.

startedAtstring | nullrequired

The date and time for started at, in UTC.

endedAtstring | nullrequired

The date and time for ended at, in UTC.

sampleRateintegerrequired

How much of the attack's traffic was sampled to identify it.

addressstring | nullrequired

The address the attack was aimed at.

signaturesobject[]required

The value of signatures.

Show child attributes
idstringrequired

The id ID.

namestringrequired

The name shown to customers.

descriptionstring | nullrequired

An optional description shown to customers.

Errors

401
The key was missing, malformed, revoked, or belongs to an account that no longer exists.
403
Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
404
The resource was not found in the selected team. Resources in another account or team also return 404.
429
Too many requests. The Retry-After header says how many seconds to wait. Limits are per account, so several keys on one account share them.