Security & delivery
GET
/api/v1/dns-blacklist-checkerDNS Blacklist Checker
Check whether a host or IP is listed on major spam blocklists.
| Parameter | Type | Required | Description |
|---|---|---|---|
host | string | Yes | IPv4 address or domain (resolved to its first IPv4 address). |
Example request
curl "https://netsh.io/api/v1/dns-blacklist-checker?host=1.1.1.1&api_key=YOUR_API_KEY"
Example response
{ "ok": true, "data": { "host": "1.1.1.1", "ip": "1.1.1.1", "resolvedFrom": null, "results": [ { "zone": "zen.spamhaus.org", "name": "Spamhaus ZEN", "status": "clean" }, { "zone": "bl.spamcop.net", "name": "SpamCop", "status": "clean" }, { "zone": "b.barracudacentral.org", "name": "Barracuda Reputation", "status": "clean" } // ... 3 more zones ], "listedCount": 0, "ipv6Only": false }, "meta": { "tool": "dns-blacklist-checker", "version": "v1" } }