Skip to Content
ReferenceAPI referenceAbuseIPDB

Report an IP to AbuseIPDB

POST
/api/v1/abuseipdb/reports

Sends the IP, the categories, the comment and the attack time to AbuseIPDB, which publishes them on the IP's page. GeoMetrikks records the report first and keeps it as unconfirmed when AbuseIPDB's answer does not settle whether it landed. Needs ABUSEIPDB_REPORTING_ENABLED=true and a session or a read-write API key. An IP reported in the last 15 minutes gets a 429.

Authorization

cookiesession<token>

Session cookie authentication.

Request Body

application/json
  1. body

The reports to send. Exactly one for now.

reports*array<>

Exactly one report.

Items1 <= items <= 1

Response Body

Request fulfilled, document follows

application/json
  1. response

One result per report, in request order.

results*array<>

One result per submitted report.

Example Request
curl -X POST 'https://geometrikks.example.com/api/v1/abuseipdb/reports' \  -H 'Content-Type: application/json' \  -d '{  "reports": [    {      "attackTime": "2019-08-24T14:15:22Z",      "categories": [        0      ],      "comment": "string",      "ipAddress": "string"    }  ]}'
Example Response
{  "results": [    {      "abuseConfidenceScore": 0,      "error": "string",      "ipAddress": "string",      "reportedAt": "2019-08-24T14:15:22Z",      "status": "reported"    }  ]}