# AbuseIPDB API reference

> The AbuseIPDB API returns what its community has reported about an IP address: an abuse confidence score, how many reports and distinct reporters, when it was last reported, its ISP, usage type, domain and hostnames, whether it is a Tor exit, and (optionally) the reports themselves with their…

Source: https://osinttools.io/apis/abuseipdb/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/abuseipdb/

- Base URL: https://api.abuseipdb.com/api/v2
- Authentication: API key in the `Key` header. Get a key: https://www.abuseipdb.com/account/api Also send Accept: application/json.
- Free tier: yes
- Pricing: Subscription
- Rate limits: Daily limits per endpoint and plan (Standard / Webmaster / Supporter / Basic / Premium): check 1,000 / 3,000 / 5,000 / 10,000 / 50,000; reports 100 / 500 / 1,000 / 5,000 / 25,000; check-block 100 / 250 / 500 / 1,000 / 5,000; blacklist 5 / 10 / 20 / 100 / 500; report 1,000 / 3,000 / 1,000 / 10,000 /
- Vendor docs: https://docs.abuseipdb.com

## Overview

The AbuseIPDB API returns what its community has reported about an IP address: an abuse confidence score, how many reports and distinct reporters, when it was last reported, its ISP, usage type, domain and hostnames, whether it is a Tor exit, and (optionally) the reports themselves with their categories and comments. It also checks a whole CIDR block, serves a blacklist of the most-reported IPs, and lets you file reports.

An investigator uses it to see whether an IP has a history of abuse (scanning, brute force, spam, phishing) and who reported it. Lookups read AbuseIPDB's database and never contact the IP. Report comments are written by reporters, so treat them as claims.

Calls go to `https://api.abuseipdb.com/api/v2` over HTTPS, with your key in the `Key` header and `Accept: application/json` (without it the API answers with an HTML page). Limits are per endpoint per day and depend on the plan (the docs name Standard, Webmaster, Supporter, Basic and Premium; Standard allows 1,000 checks a day). The pricing page lists a free Individual plan and paid Basic and Premium plans. Bulk reporting (POST /bulk-report, a multipart CSV upload) is documented but not listed here.

## Errors

| Status | Meaning |
| --- | --- |
| 402 | CHECK-BLOCK network size or maxAgeInDays beyond your plan's limit |
| 422 | Validation error, e.g. maxAgeInDays outside 1-365 |
| 429 | Daily rate limit for the endpoint exceeded |

## IP lookups

### Abuse confidence score, report counts, ISP, usage type and Tor status for one IP

`GET /check`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Plan: Any plan

Returns the IP's abuse details for reports in the last `maxAgeInDays` days (default 30). Add `verbose` to include the country name and the reports themselves (up to 10,000).

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ipAddress` | query | string | yes | IPv4 or IPv6 address Example: 203.0.113.7 |
| `maxAgeInDays` | query | integer | no | Only count reports from this many days back (1-365) Example: 90 |
| `verbose` | query | boolean | no | Flag (no value needed): include reports and countryName |
| `Accept` | header | string | yes | Must be application/json to get JSON Example: application/json |

Response fields:

- `data.ipAddress` (string): The IP looked up
- `data.isPublic` (boolean): Whether the IP is public
- `data.ipVersion` (integer): 4 or 6
- `data.isWhitelisted` (boolean): Whitelisted by AbuseIPDB (may be null)
- `data.abuseConfidenceScore` (integer): 0-100 confidence that the IP is abusive
- `data.countryCode` (string): Country code
- `data.countryName` (string): Country name (verbose only)
- `data.usageType` (string): e.g. Data Center/Web Hosting/Transit
- `data.isp` (string): ISP
- `data.domain` (string): Domain of the ISP
- `data.hostnames[]` (string): Hostnames
- `data.isTor` (boolean): Tor exit node
- `data.totalReports` (integer): Reports in the period
- `data.numDistinctUsers` (integer): Distinct reporters
- `data.lastReportedAt` (string): Time of the latest report
- `data.reports[].reportedAt` (string): When reported (verbose)
- `data.reports[].comment` (string): Reporter's comment (verbose)
- `data.reports[].categories[]` (integer): Category IDs (verbose)
- `data.reports[].reporterId` (integer): Reporter's ID (verbose)
- `data.reports[].reporterCountryCode` (string): Reporter's country (verbose)

```bash
curl 'https://api.abuseipdb.com/api/v2/check?ipAddress=203.0.113.7' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

Example response (200):

```json
{
  "data": {
    "ipAddress": "203.0.113.7",
    "isPublic": true,
    "ipVersion": 4,
    "isWhitelisted": false,
    "abuseConfidenceScore": 100,
    "countryCode": "NL",
    "usageType": "Data Center/Web Hosting/Transit",
    "isp": "Example Networks",
    "domain": "example.net",
    "hostnames": [
      "host7.example.net"
    ],
    "isTor": false,
    "totalReports": 412,
    "numDistinctUsers": 57,
    "lastReportedAt": "2026-11-28T21:04:13+00:00"
  }
}
```

### Page through the reports filed against one IP (open beta)

`GET /reports`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Plan: Any plan

Returns reports for the IP from the last `maxAgeInDays` days, with pagination links. Open beta: may change without notice.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ipAddress` | query | string | yes | IPv4 or IPv6 address Example: 203.0.113.7 |
| `maxAgeInDays` | query | integer | no | Days back (1-365) Example: 30 |
| `page` | query | integer | no | Page number (min 1) Example: 1 |
| `perPage` | query | integer | no | Reports per page (1-100) Example: 25 |
| `Accept` | header | string | yes | Must be application/json to get JSON Example: application/json |

Response fields:

- `data.total` (integer): Total reports
- `data.page` (integer): Current page
- `data.count` (integer): Reports on this page
- `data.perPage` (integer): Page size
- `data.lastPage` (integer): Last page number
- `data.nextPageUrl` (string): Link to the next page
- `data.previousPageUrl` (string): Link to the previous page
- `data.results[].reportedAt` (string): When reported
- `data.results[].comment` (string): Reporter's comment
- `data.results[].categories[]` (integer): Category IDs
- `data.results[].reporterId` (integer): Reporter's ID
- `data.results[].reporterCountryCode` (string): Reporter's country code
- `data.results[].reporterCountryName` (string): Reporter's country name

```bash
curl 'https://api.abuseipdb.com/api/v2/reports?ipAddress=203.0.113.7' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

Example response (200):

```json
{
  "data": {
    "total": 412,
    "page": 1,
    "count": 1,
    "perPage": 25,
    "lastPage": 17,
    "nextPageUrl": "https://api.abuseipdb.com/api/v2/reports?ipAddress=203.0.113.7&page=2",
    "previousPageUrl": null,
    "results": [
      {
        "reportedAt": "2026-11-28T21:04:13+00:00",
        "comment": "SSH brute force attempts on port 22",
        "categories": [
          18,
          22
        ],
        "reporterId": 12345,
        "reporterCountryCode": "US",
        "reporterCountryName": "United States of America"
      }
    ]
  }
}
```

### Check a CIDR block: which of its addresses were reported, with counts and scores

`GET /check-block`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Plan: Any plan (block size limited by plan)

Returns the network's range and each reported address in it. The largest block and look-back depend on the plan: /24 and 30 days on Standard, /20 and 60 on Basic, /16 and 365 on Premium (402 beyond that).

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `network` | query | string | yes | Network in CIDR notation Example: 198.51.100.0/24 |
| `maxAgeInDays` | query | integer | no | Days back (1-365, limited by plan) Example: 15 |
| `Accept` | header | string | yes | Must be application/json to get JSON Example: application/json |

Response fields:

- `data.networkAddress` (string): Network address
- `data.netmask` (string): Netmask
- `data.minAddress` (string): First address
- `data.maxAddress` (string): Last address
- `data.numPossibleHosts` (integer): Addresses in the block
- `data.addressSpaceDesc` (string): Kind of address space
- `data.reportedAddress[].ipAddress` (string): A reported address
- `data.reportedAddress[].numReports` (integer): Reports against it
- `data.reportedAddress[].mostRecentReport` (string): Latest report time
- `data.reportedAddress[].abuseConfidenceScore` (integer): 0-100 score
- `data.reportedAddress[].countryCode` (string): Country code

```bash
curl 'https://api.abuseipdb.com/api/v2/check-block?network=198.51.100.0%2F24' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

Example response (200):

```json
{
  "data": {
    "networkAddress": "198.51.100.0",
    "netmask": "255.255.255.0",
    "minAddress": "198.51.100.1",
    "maxAddress": "198.51.100.254",
    "numPossibleHosts": 254,
    "addressSpaceDesc": "Internet",
    "reportedAddress": [
      {
        "ipAddress": "198.51.100.23",
        "numReports": 6,
        "mostRecentReport": "2026-11-27T03:12:44+00:00",
        "abuseConfidenceScore": 41,
        "countryCode": "DE"
      }
    ]
  }
}
```

## Lists

### Download the most-reported IPs, filtered by score, country and IP version

`GET /blacklist`

- Footprint: passive (the target is not contacted)
- Plan: Any plan (filters and larger limits for subscribers)

Returns IPs with their score and last report time. Lists over your plan's limit are cut without error. `confidenceMinimum`, `onlyCountries` and `exceptCountries` are subscriber features. Add `plaintext` (or Accept: text/plain) for one IP per line. Scores decay, so imported lists must be refreshed.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `confidenceMinimum` | query | integer | no | Minimum abuse confidence score (25-100; subscribers) Example: 90 |
| `limit` | query | integer | no | Maximum IPs; max 10,000 Standard, 100,000 Basic, 500,000 Premium Example: 1000 |
| `onlyCountries` | query | string | no | Comma-separated ISO 3166 alpha-2 codes to include (subscribers) Example: US,DE |
| `exceptCountries` | query | string | no | Comma-separated ISO 3166 alpha-2 codes to leave out (subscribers) Example: NL |
| `ipVersion` | query | integer | no | 4 or 6; mixed when not given Example: 4 One of: 4, 6 |
| `Accept` | header | string | yes | application/json, or text/plain for a plain list Example: application/json |

Response fields:

- `meta.generatedAt` (string): When the list was generated
- `data[].ipAddress` (string): IP address
- `data[].abuseConfidenceScore` (integer): 0-100 score
- `data[].lastReportedAt` (string): Latest report time
- `data[].countryCode` (string): Country code (when filtering by country)

```bash
curl 'https://api.abuseipdb.com/api/v2/blacklist' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

Example response (200):

```json
{
  "meta": {
    "generatedAt": "2026-11-29T06:00:00+00:00"
  },
  "data": [
    {
      "ipAddress": "192.0.2.15",
      "abuseConfidenceScore": 100,
      "lastReportedAt": "2026-11-29T05:58:02+00:00"
    },
    {
      "ipAddress": "198.51.100.77",
      "abuseConfidenceScore": 100,
      "lastReportedAt": "2026-11-29T05:41:19+00:00"
    }
  ]
}
```

## Reporting

### Report an abusive IP with categories and a comment

`POST /report`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Plan: Any plan

Files a report from your account and returns the IP's updated score. Strip any personally identifiable information from the comment. Reporting 127.0.0.2 simulates a 429 for testing.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Accept` | header | string | yes | Must be application/json to get JSON Example: application/json |

Response fields:

- `data.ipAddress` (string): The IP reported
- `data.abuseConfidenceScore` (integer): Its score after the report

```bash
curl -X POST 'https://api.abuseipdb.com/api/v2/report' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'ip=203.0.113.7&categories=18,22&comment=SSH%20login%20attempts%20with%20user%20root.&timestamp=2026-11-28T11:25:11-04:00'
```

Example response (200):

```json
{
  "data": {
    "ipAddress": "203.0.113.7",
    "abuseConfidenceScore": 52
  }
}
```

### Delete your own account's reports for an IP

`DELETE /clear-address`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Plan: Any plan

Removes only reports filed by your account. Takedown requests for other reports go through the form on the IP's page on the site.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Accept` | header | string | yes | Must be application/json to get JSON Example: application/json |

Response fields:

- `data.numReportsDeleted` (integer): Reports deleted

```bash
curl -X DELETE 'https://api.abuseipdb.com/api/v2/clear-address' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'ipAddress=203.0.113.7'
```

Example response (200):

```json
{
  "data": {
    "numReportsDeleted": 0
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
