Skip to content
OSINTtools.io

AbuseIPDB API

Community database of reported abusive IP addresses, with abuse confidence scores and report history.

Base URL
https://api.abuseipdb.com/api/v2
Sign-in
API key
Free tier
Free tier
Pricing
Subscription
Format
REST
Endpoints
6

Compiled by OSINTtools.io editors from docs.abuseipdb.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with AbuseIPDB and copy your api key (free tier). Where to get it

  2. Make your first request

    Abuse confidence score, report counts, ISP, usage type and Tor status for one IP. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.abuseipdb.com/api/v2/check?ipAddress=203.0.113.7' \
      -H 'Key: YOUR_API_KEY' \
      -H 'Accept: application/json'
  3. Read the response

    A 200 response looks like this.

    {
      "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"
      }
    }

Authentication

Send your API key in the Key header of every request.

Also send Accept: application/json.

Get a key from AbuseIPDB

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

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 /

Free tier. Pricing: subscription.

  • IndividualFree · 1,000 IP checks and reports/day, 100 block checks/day, 5 blacklist downloads/day
  • Basic$25/month · 10,000 checks and reports/day, 1,000 block checks/day, 5 trackable IP ranges
  • Premium$99/month · 50,000 checks and reports/day, 5,000 block checks/day, 25 trackable IP ranges
  • EnterpriseContact sales · Custom pricing and direct data access for ISPs and enterprises

Plans from abuseipdb.com, checked Nov 25, 2026.

Errors

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

IP lookups

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).

Query parameters

ipAddressstringrequiredtakes your ip address

IPv4 or IPv6 address

Example: 203.0.113.7
maxAgeInDaysinteger

Only count reports from this many days back (1-365)

Example: 90Default: 30
verboseboolean

Flag (no value needed): include reports and countryName

Headers

Acceptstringrequired

Must be application/json to get JSON

Example: application/json
Response fields · 20Show

ipAddressstring

The IP looked up

isPublicboolean

Whether the IP is public

ipVersioninteger

4 or 6

isWhitelistedboolean

Whitelisted by AbuseIPDB (may be null)

abuseConfidenceScoreinteger

0-100 confidence that the IP is abusive

countryCodestring

Country code

countryNamestring

Country name (verbose only)

usageTypestring

e.g. Data Center/Web Hosting/Transit

ispstring

ISP

domainstring

Domain of the ISP

hostnames[]string

Hostnames

isTorboolean

Tor exit node

totalReportsinteger

Reports in the period

numDistinctUsersinteger

Distinct reporters

lastReportedAtstring

Time of the latest report

reportedAtstring

When reported (verbose)

commentstring

Reporter's comment (verbose)

categories[]integer

Category IDs (verbose)

reporterIdinteger

Reporter's ID (verbose)

reporterCountryCodestring

Reporter's country (verbose)

curl 'https://api.abuseipdb.com/api/v2/check?ipAddress=203.0.113.7' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json'
Replace YOUR_API_KEY with your key
Response
{
  "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"
  }
}

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

Query parameters

ipAddressstringrequiredtakes your ip address

IPv4 or IPv6 address

Example: 203.0.113.7
maxAgeInDaysinteger

Days back (1-365)

Example: 30Default: 30
pageinteger

Page number (min 1)

Example: 1Default: 1
perPageinteger

Reports per page (1-100)

Example: 25Default: 25

Headers

Acceptstringrequired

Must be application/json to get JSON

Example: application/json
Response fields · 13Show

totalinteger

Total reports

pageinteger

Current page

countinteger

Reports on this page

perPageinteger

Page size

lastPageinteger

Last page number

nextPageUrlstring

Link to the next page

previousPageUrlstring

Link to the previous page

reportedAtstring

When reported

commentstring

Reporter's comment

categories[]integer

Category IDs

reporterIdinteger

Reporter's ID

reporterCountryCodestring

Reporter's country code

reporterCountryNamestring

Reporter's country name

curl 'https://api.abuseipdb.com/api/v2/reports?ipAddress=203.0.113.7' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json'
Replace YOUR_API_KEY with your key
Response
{
  "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"
      }
    ]
  }
}
  • Takes: IP address
  • 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).

Query parameters

networkstringrequiredtakes your ip address

Network in CIDR notation

Example: 198.51.100.0/24
maxAgeInDaysinteger

Days back (1-365, limited by plan)

Example: 15Default: 30

Headers

Acceptstringrequired

Must be application/json to get JSON

Example: application/json
Response fields · 11Show

networkAddressstring

Network address

netmaskstring

Netmask

minAddressstring

First address

maxAddressstring

Last address

numPossibleHostsinteger

Addresses in the block

addressSpaceDescstring

Kind of address space

ipAddressstring

A reported address

numReportsinteger

Reports against it

mostRecentReportstring

Latest report time

abuseConfidenceScoreinteger

0-100 score

countryCodestring

Country code

curl 'https://api.abuseipdb.com/api/v2/check-block?network=198.51.100.0%2F24' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json'
Replace YOUR_API_KEY with your key
Response
{
  "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

  • 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.

Query parameters

confidenceMinimuminteger

Minimum abuse confidence score (25-100; subscribers)

Example: 90Default: 100
limitinteger

Maximum IPs; max 10,000 Standard, 100,000 Basic, 500,000 Premium

Example: 1000Default: 10000
onlyCountriesstring

Comma-separated ISO 3166 alpha-2 codes to include (subscribers)

Example: US,DE
exceptCountriesstring

Comma-separated ISO 3166 alpha-2 codes to leave out (subscribers)

Example: NL
ipVersioninteger

4 or 6; mixed when not given

Example: 4One of: 4, 6

Headers

Acceptstringrequired

application/json, or text/plain for a plain list

Example: application/json
Response fields · 5Show

generatedAtstring

When the list was generated

ipAddressstring

IP address

abuseConfidenceScoreinteger

0-100 score

lastReportedAtstring

Latest report time

countryCodestring

Country code (when filtering by country)

curl 'https://api.abuseipdb.com/api/v2/blacklist' \
  -H 'Key: YOUR_API_KEY' \
  -H 'Accept: application/json'
Replace YOUR_API_KEY with your key
Response
{
  "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

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.

Headers

Acceptstringrequired

Must be application/json to get JSON

Example: application/json
Request body (form) · 4Show

ipstringalways present

IPv4 or IPv6 address to report

categoriesstringalways present

Comma-separated category IDs (up to 30)

commentstring

What happened: logs, ports, etc. No personal data

timestampstring

ISO 8601 time of the attack; defaults to now

Response fields · 2Show

ipAddressstring

The IP reported

abuseConfidenceScoreinteger

Its score after the report

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'
Replace YOUR_API_KEY with your key
Response
{
  "data": {
    "ipAddress": "203.0.113.7",
    "abuseConfidenceScore": 52
  }
}

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

Headers

Acceptstringrequired

Must be application/json to get JSON

Example: application/json
Request body (form) · 1Show

ipAddressstringalways present

IPv4 or IPv6 address

Response fields · 1Show

numReportsDeletedinteger

Reports deleted

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'
Replace YOUR_API_KEY with your key
Response
{
  "data": {
    "numReportsDeleted": 0
  }
}