Skip to Content
ReferenceAPI referenceReports

Look up the abuse contact for an IP or an ASN

GET
/api/v1/reports/abuse-contact

Asks the RDAP registry that holds the IP or AS number for its network or AS record and the abuse contact on it. Only the queried address or number leaves the server, and GeoMetrikks caches each answer for up to 24 hours. A private or reserved address gets a 400.

Authorization

cookiesession<token>

Session cookie authentication.

Query Parameters

ipAddress?|

The IP, IPv4 or IPv6. Pass this or asn, not both. A value that is not an IP gets a 400.

asn?|

The AS number, from 0 to 4294967295, such as 13335. Pass this or ipAddress, not both.

Rangevalue <= 4294967295

Response Body

Request fulfilled, document follows

application/json
  1. response

The network or AS record that holds an IP or AS number, with its abuse contact, from RDAP.

abuseEmails*array<string>

Addresses of the abuse contact. Empty when the registry lists none.

abuseName*|

The abuse contact's name.

cidrs*array<string>

The prefixes that make up the network, when the registry lists them.

country*|

The country code the registry gives.

endAddress*|

The last address of the network.

handle*|

The registry's handle for the record.

kind*string
Value in"ip""asn"
name*|

The record's name, such as the network name.

query*string

The IP as looked up, or the AS number as AS13335.

rdapUrl*string

The RDAP URL that gave the record.

registry*string

The host name of the registry that answered.

startAddress*|

The first address of the network.

Example Request
curl -X GET 'https://geometrikks.example.com/api/v1/reports/abuse-contact'
Example Response
{  "abuseEmails": [    "string"  ],  "abuseName": "string",  "cidrs": [    "string"  ],  "country": "string",  "endAddress": "string",  "handle": "string",  "kind": "ip",  "name": "string",  "query": "string",  "rdapUrl": "string",  "registry": "string",  "startAddress": "string"}