# Blacklist & Spam Reputation Checker — DNSBL / RBL Lookup (`obicodes/blacklist-reputation`) Actor

Check any IP address or domain against 20 major blacklists including Spamhaus, Barracuda, SpamCop, SORBS, UCEPROTECT, SURBL, and URIBL. Get a reputation score, tier-based risk level, and per-list pass/fail results in one structured JSON output.

- **URL**: https://apify.com/obicodes/blacklist-reputation.md
- **Developed by:** [Obicodes](https://apify.com/obicodes) (community)
- **Categories:** Developer tools, Lead generation, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.00005 / actor start

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Blacklist & Spam Reputation Checker — DNSBL / RBL Lookup

Check any IP address or domain against 16 active blacklists in one run. Get a reputation score, risk level, and a full per-list breakdown — no API key, no signup, no scraping.

Used by email marketers checking sender reputation, security teams auditing infrastructure, and developers enriching domain or IP data in their pipelines.

---

### What it checks

The Actor queries a curated set of 16 DNS-based blacklists (DNSBLs) that are:
- Free for commercial use with no cloud IP restrictions
- Currently active and maintained
- Not known for excessive false positives

Lists are automatically split by target type — IP lists for IP inputs, domain lists for domain inputs.

#### IP Blacklists (9 lists)

| List | Tier | About |
|---|---|---|
| `b.barracudacentral.org` | Critical | Barracuda Networks — used by major enterprise mail filters |
| `bl.spamcop.net` | Critical | SpamCop — aggregates spam reports from users worldwide |
| `spam.abuse.ch` | High | abuse.ch — tracks active spam infrastructure |
| `drone.abuse.ch` | High | abuse.ch — tracks botnet and drone IPs |
| `bl.0spam.org` | Medium | 0spam — free community-maintained blocklist |
| `rbl.0spam.org` | Medium | 0spam — secondary RBL zone |
| `ips.backscatterer.org` | Medium | WPBL — backscatter spam sources |
| `psbl.surriel.com` | Medium | PSBL — passive spam block list |
| `dnsbl.spfbl.net` | Medium | SPFBL — reputation-based blocklist |

#### Domain Blacklists (7 lists)

| List | Tier | About |
|---|---|---|
| `multi.surbl.org` | Critical | SURBL — domains found in spam message bodies |
| `black.uribl.com` | Critical | URIBL — URI-based domain blacklist |
| `dbl.nordspam.com` | High | NordSpam — free for all commercial use, no restrictions |
| `uribl.spameatingmonkey.net` | High | SpamEatingMonkey — URI domain blocklist |
| `fresh.spameatingmonkey.net` | Medium | SpamEatingMonkey — recently listed domains |
| `rbl.0spam.org` | Medium | 0spam domain zone |
| `dnsbl.spfbl.net` | Medium | SPFBL domain reputation |

---

### Scoring

| Score | Label | Meaning |
|---|---|---|
| 100 | Clean | Not listed on any blacklist |
| 85–99 | Low Risk | Listed on one or more medium-tier lists only |
| 70–84 | Medium Risk | Listed on high-tier list(s) |
| 1–69 | High Risk | Listed on multiple high-tier lists |
| 0 | Critical | Listed on one or more critical-tier lists |

Each critical listing deducts 30 points, high deducts 15, medium deducts 5.

---

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `target` | string | Yes | IPv4 address (e.g. `8.8.8.8`) or domain name (e.g. `example.com`) |

The Actor auto-detects whether the input is an IP or domain and queries the appropriate lists automatically.

---

### Example output — clean IP

```json
{
  "target": "8.8.8.8",
  "targetType": "ip",
  "checkedAt": "2026-04-25T21:00:31.131Z",
  "totalChecked": 9,
  "totalListed": 0,
  "totalClean": 9,
  "reputationScore": 100,
  "reputationLabel": "Clean",
  "riskLevel": "none",
  "criticalListings": 0,
  "results": [
    { "list": "b.barracudacentral.org", "tier": "critical", "listed": false },
    { "list": "bl.spamcop.net", "tier": "critical", "listed": false }
  ]
}
````

### Example output — listed IP

```json
{
  "target": "1.2.3.4",
  "targetType": "ip",
  "totalChecked": 9,
  "totalListed": 1,
  "reputationScore": 95,
  "reputationLabel": "Medium Risk",
  "riskLevel": "medium",
  "criticalListings": 0,
  "results": [
    { "list": "dnsbl.spfbl.net", "tier": "medium", "listed": true, "responseCode": "127.0.0.4" }
  ]
}
```

***

### Use cases

**Email deliverability**
Before sending a campaign, check your sending IP and domain against all major blacklists. A single critical listing can cause Gmail, Outlook, and Yahoo to reject your mail entirely.

**Security & infrastructure auditing**
Check every IP in your server fleet or every domain in your vendor list. Integrate into your CI/CD pipeline or scheduled monitoring workflow via the Apify API.

**Lead enrichment & CRM hygiene**
Before reaching out to a prospect domain, verify it isn't blacklisted. Emailing a domain that's on SURBL or URIBL signals to receiving servers that your list hygiene is poor.

**Threat intelligence**
Check suspicious IPs or domains encountered in logs, headers, or incident reports against active threat-tracking lists like abuse.ch.

***

### Integrate via API

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/obicodes~blacklist-reputation-checker/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"target": "8.8.8.8"}'
```

***

### Pricing

- **$0.05** Actor start fee (once per run)
- **$0.01** per result

A complete blacklist check costs **$0.06 total**.

# Actor input Schema

## `target` (type: `string`):

The IPv4 address or domain name to check (e.g. 1.2.3.4 or example.com)

## Actor input object example

```json
{
  "target": "google.com"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "target": "google.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("obicodes/blacklist-reputation").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "target": "google.com" }

# Run the Actor and wait for it to finish
run = client.actor("obicodes/blacklist-reputation").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "target": "google.com"
}' |
apify call obicodes/blacklist-reputation --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=obicodes/blacklist-reputation",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Blacklist & Spam Reputation Checker — DNSBL / RBL Lookup",
        "description": "Check any IP address or domain against 20 major blacklists including Spamhaus, Barracuda, SpamCop, SORBS, UCEPROTECT, SURBL, and URIBL. Get a reputation score, tier-based risk level, and per-list pass/fail results in one structured JSON output.",
        "version": "0.1",
        "x-build-id": "4MewJEaLivhfPKEKR"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/obicodes~blacklist-reputation/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-obicodes-blacklist-reputation",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/obicodes~blacklist-reputation/runs": {
            "post": {
                "operationId": "runs-sync-obicodes-blacklist-reputation",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/obicodes~blacklist-reputation/run-sync": {
            "post": {
                "operationId": "run-sync-obicodes-blacklist-reputation",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "target"
                ],
                "properties": {
                    "target": {
                        "title": "IP Address or Domain",
                        "type": "string",
                        "description": "The IPv4 address or domain name to check (e.g. 1.2.3.4 or example.com)"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
