# IP Blacklist Lookup API

> IP Blacklist Lookup is an IP blacklist check API that tells you whether a given IP address appears on known malicious IP blocklists. Identifies both inbound threats (attackers, spammers) and outbound threats (C2 servers, malware hosts).

**Endpoint:** `GET https://api.apiverve.com/v1/ipblacklistlookup`  
**Category:** Networking  
**Cost:** 10 credits per call  
**Canonical page:** https://apiverve.com/marketplace/ipblacklistlookup

## Overview

Use it as an IP reputation API or a malicious IP and spam IP check API: one call tells you whether an address is a known bad IP before you let it in. An IP blacklist check and IP blocklist API for firewalls, fraud checks and signup screening. Send an IPv4 address and IP Blacklist Lookup checks it against an IP blacklist database of inbound threats (spam, scanning and brute-force sources) and outbound threats (command-and-control servers, malware and phishing hosts), refreshed four times a day. Every plan returns whether the IP is listed and whether it is a public address; paid plans add which list it is on, a threat level, Tor exit status, the ASN, the hosting provider, the IP's location, whether it is a VPN or datacenter address, live results from four public DNS blocklists (DroneBL, UCEPROTECT, 0spam and PSBL), and how many neighbouring addresses in the same /24 are listed.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/ipblacklistlookup?ip=185.220.101.1" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `ip` | string | Yes | The IP address to check against blocklists. ip |

## Response fields

- `ipAddress` — string · The IP address that was checked
- `isIPBlacklisted` — boolean · Whether IP appears on any known blocklists
- `isPublic` — boolean · Whether the IP is a public, routable address; false for private, loopback, link-local, carrier-grade NAT and other reserved ranges, which no blocklist covers
- `inbound` — object · Inbound threat assessment for attacker/spam sources · (premium)
  - `inbound.found` — boolean · Whether IP is on inbound attacker blocklist · (premium)
  - `inbound.description` — string · Description of inbound threat type if found · (premium)
- `outbound` — object · Outbound threat assessment for malicious destinations · (premium)
  - `outbound.found` — boolean · Whether IP is on outbound C2/malware blocklist · (premium)
  - `outbound.description` — string · Description of outbound threat type if found · (premium)
- `threatLevel` — string · Overall threat severity: critical (on both lists), high (on one) or none; null when the lists could not be checked for this address · (premium)
- `isTor` — boolean · Whether the IP is a known Tor exit node; null if the Tor list could not be checked · (premium)
- `ipDetails` — object · Geolocation details for the IP address · (premium)
  - `ipDetails.ip` — string · The queried IP address · (premium)
  - `ipDetails.country` — string · Two-letter country code of IP location · (premium)
  - `ipDetails.region` — string · Region/state code of IP location · (premium)
  - `ipDetails.timezone` — string · Timezone of IP geolocation · (premium)
  - `ipDetails.city` — string · City name of IP location · (premium)
  - `ipDetails.coordinates` — array · Latitude and longitude coordinates of IP · (premium)
  - `ipDetails.countryName` — string · Full country name of IP location · (premium)
  - `ipDetails.regionName` — string · Full region/state name of IP location · (premium)
  - `ipDetails.postalCode` — string · Postal code of IP geolocation · (premium)
  - `ipDetails.continent` — string · Continent code of IP location · (premium)
  - `ipDetails.continentName` — string · Full continent name of IP location · (premium)
  - `ipDetails.accuracyRadius` — number · Accuracy radius in kilometers for IP geolocation · (premium)
  - `ipDetails.isEU` — boolean · Whether the IP is located in a European Union member state · (premium)
- `asn` — string · Autonomous System Number announcing the IP (e.g., AS60729); null if unrouted · (premium)
- `asnName` — string · Registered name of that AS (e.g., TORSERVERS-NET), not always the company name · (premium)
- `hostingProvider` — object · The cloud or hosting company the IP belongs to, such as Amazon Web Services, DigitalOcean, Hetzner or M247, for about 30 providers that carry most server and bot traffic; null for home and mobile networks and for providers not on the list · (premium)
- `listedInSubnet` — number · How many other addresses in the same /24 (the 256 addresses sharing the first three octets) are on the blocklists; null for IPv6 · (premium)
- `isRiskySubnet` — boolean · Whether 5 or more other addresses in the same /24 are listed. Unlisted IPs in such ranges were added to the lists 36 times more often than average over two weeks in October 2026; null for IPv6 · (premium)
- `isVpn` — boolean · Whether the IP is in a known commercial VPN range, from the same daily-refreshed list as VPN Proxy Detector; null if the list could not be read · (premium)
- `isDatacenter` — boolean · Whether the IP is in a cloud or hosting datacenter range, from the same daily-refreshed list as VPN Proxy Detector; null if the list could not be read · (premium)
- `isRelay` — boolean · Whether the IP is an iCloud Private Relay egress address, from the list Apple publishes. The VPN list also covers these ranges, so isVpn is true for them too, but their users are ordinary Safari users; null if the list could not be read · (premium)
  - `blocklists.0.name` — string · The blocklist's name, such as DroneBL · (premium)
  - `blocklists.0.zone` — string · The DNS zone that was queried, such as dnsbl.dronebl.org · (premium)
  - `blocklists.0.listed` — boolean · Whether that blocklist lists the IP; null if the list refused the query or did not answer within 1.5 seconds · (premium)
- `blocklistsListed` — number · How many of the DNS blocklists list the IP; null when blocklists is null · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "ipAddress": "185.220.101.1",
    "isIPBlacklisted": true,
    "isPublic": true,
    "inbound": {
      "found": true,
      "description": "IP is known for malicious inbound activity (spam, scanning, brute-force attacks)"
    },
    "outbound": {
      "found": true,
      "description": "IP is a known malicious destination (C2 server, malware host, phishing)"
    },
    "threatLevel": "critical",
    "isTor": true,
    "ipDetails": {
      "ip": "185.220.101.1",
      "country": "DE",
      "region": "BB",
      "timezone": "Europe/Berlin",
      "city": "Brandenburg an der Havel",
      "coordinates": [
        52.6171,
        13.1207
      ],
      "countryName": "Germany",
      "regionName": "Brandenburg",
      "postalCode": "14621",
      "continent": "EU",
      "continentName": "Europe",
      "accuracyRadius": 20,
      "isEU": true
    },
    "asn": "AS60729",
    "asnName": "TORSERVERS-NET",
    "hostingProvider": null,
    "listedInSubnet": 255,
    "isRiskySubnet": true,
    "isVpn": true,
    "isDatacenter": true,
    "isRelay": false,
    "blocklists": [
      {
        "name": "DroneBL",
        "zone": "dnsbl.dronebl.org",
        "listed": false
      },
      {
        "name": "UCEPROTECT Level 1",
        "zone": "dnsbl-1.uceprotect.net",
        "listed": false
      },
      {
        "name": "0spam",
        "zone": "bl.0spam.org",
        "listed": false
      },
      {
        "name": "PSBL",
        "zone": "psbl.surriel.com",
        "listed": false
      }
    ],
    "blocklistsListed": 0
  }
}
```

## Use cases

- **Firewall Enhancement** — Automatically block connections to/from known malicious IPs to strengthen your security posture
- **Threat Detection** — Identify if incoming traffic originates from known malicious sources before processing requests
- **Outbound Security** — Detect if your systems are attempting to connect to known command-and-control or malware servers
- **Security Auditing** — Check historical connection logs against current threat intelligence to identify past compromises

## SDKs

- **npm** — `npm install @apiverve/ipblacklistlookup` (https://www.npmjs.com/package/@apiverve/ipblacklistlookup)
- **PyPI** — `pip install apiverve-ipblacklistlookup` (https://pypi.org/project/apiverve-ipblacklistlookup/)
- **NuGet** — `dotnet add package APIVerve.API.IPBlacklistLookup` (https://www.nuget.org/packages/APIVerve.API.IPBlacklistLookup)
- **Source** — https://github.com/apiverve/ipblacklistlookup-api

## More

- Full reference: https://docs.apiverve.com/ref/ipblacklistlookup
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
