# blocklist.de API reference

> blocklist.de collects reports of attacks (SSH, mail, web and others) against its participants' servers. Its HTTP API returns the attacks and reports it holds for an IP address, and a second endpoint lists recently added IPs. An investigator uses it to see whether an address has been reported as…

Source: https://osinttools.io/apis/blocklist-de/ (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/blocklist-de/

- Base URL: https://api.blocklist.de
- Authentication: No key needed. IP queries need no key; server and user queries need apikey
- Rate limits: Not stated in the docs
- Vendor docs: https://www.blocklist.de/en/api.html

## Overview

blocklist.de collects reports of attacks (SSH, mail, web and others) against its participants' servers. Its HTTP API returns the attacks and reports it holds for an IP address, and a second endpoint lists recently added IPs. An investigator uses it to see whether an address has been reported as attacking.

Querying an IP needs no API key. The docs describe the API as not very well protected and recommend the DNS-based RBL for reliable lookups. Full lists are also published as plain text files at https://lists.blocklist.de/lists/ (see the export page).

## Lookups

### Attacks and reports recorded for an IP address.

`GET /api.php`

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

Without start, the last 24 hours are covered; start=1 asks for the full history, which can take a while the first time. The docs recommend caching results. The docs name the attacks and reports fields; other fields are not documented.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | query | string | yes | IP address to check Example: 203.0.113.7 |
| `start` | query | integer | no | Start as a Unix timestamp; 1 means full history Example: 1 |
| `end` | query | integer | no | End as a Unix timestamp Example: 1700000000 |
| `format` | query | string | no | Output format Example: json One of: text, php, xml, json |

Response fields:

- `attacks` (integer): Number of attacks recorded for the address
- `reports` (integer): Number of reports recorded for the address

```bash
curl 'https://api.blocklist.de/api.php?ip=203.0.113.7'
```

Example response (200):

```json
{
  "attacks": 12,
  "reports": 3
}
```

## Recent IPs

### IP addresses added to the blocklist recently.

`GET /getlast.php`

- Footprint: passive (the target is not contacted)

The time parameter accepts a Unix time, hh:ii or a difference in seconds. A service parameter filters by ssh, apache, imap, pop3, mail or all. The response is a plain text list of IPs.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `time` | query | string | yes | Unix time, hh:ii or seconds back Example: 3600 |
| `service` | query | string | no | Filter by service Example: ssh One of: ssh, apache, imap, pop3, mail, all |

```bash
curl 'https://api.blocklist.de/getlast.php?time=3600'
```

Example response (200):

```
203.0.113.7
198.51.100.23
```

---

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/
