Skip to content
OSINTtools.io

blocklist.de API

Volunteer service that collects fail2ban attack reports and publishes searchable, downloadable lists of attacking IP addresses.

Base URL
https://api.blocklist.de
Sign-in
No key
Format
REST
Endpoints
2

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

Introduction

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

Quick start

  1. No key needed

    The blocklist.de API answers without an account or key.

  2. Make your first request

    Attacks and reports recorded for an IP address.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.blocklist.de/api.php?ip=203.0.113.7'
  3. Read the response

    A 200 response looks like this.

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

Authentication

No key or account: every endpoint answers without one.

IP queries need no key; server and user queries need apikey

Rate limits and pricing

Not stated in the docs

Lookups

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.

Query parameters

ipstringrequiredtakes your ip address

IP address to check

Example: 203.0.113.7
startinteger

Start as a Unix timestamp; 1 means full history

Example: 1
endinteger

End as a Unix timestamp

Example: 1700000000
formatstring

Output format

Example: jsonDefault: textOne of: text, php, xml, json
Response fields · 2Show

attacksinteger

Number of attacks recorded for the address

reportsinteger

Number of reports recorded for the address

curl 'https://api.blocklist.de/api.php?ip=203.0.113.7'
No key needed
Response
{
  "attacks": 12,
  "reports": 3
}

Recent IPs

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

Query parameters

timestringrequired

Unix time, hh:ii or seconds back

Example: 3600
servicestring

Filter by service

Example: sshOne of: ssh, apache, imap, pop3, mail, all
curl 'https://api.blocklist.de/getlast.php?time=3600'
No key needed
Response
203.0.113.7
198.51.100.23