{"api":{"id":"api_75af4df3ef478a52bf944093","slug":"spamhaus-drop-blocklist","name":"Spamhaus DROP Blocklist API","description":"Check IP addresses and AS numbers against Spamhaus DROP, the list of hijacked or criminal-run networks, or list every entry with its SBL case id, registry, network name and country.","kind":"ready_made","visibility":"public","domain":"www.spamhaus.org","source_url":"https://www.spamhaus.org/drop/","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:57:27.711Z","updated_at":"2026-12-06T03:57:27.711Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Unique id of the row: the list and range or ASN, or the checked address.","required":true,"coverage":1,"example":"check:1.10.16.5"},{"name":"list","type":"string","description":"The list the row comes from: drop_v4, drop_v6 or asndrop.","required":false,"coverage":1,"example":"drop_v4"},{"name":"query","type":"string","description":"The address or ASN you asked about; empty when listing all entries.","required":false,"coverage":1,"example":"1.10.16.5"},{"name":"cidr","type":"string","description":"The listed IP range, such as 1.10.16.0/20.","required":false,"coverage":0.33,"example":"1.10.16.0/20"},{"name":"sbl_id","type":"string","description":"Spamhaus Block List case id for the range, such as SBL256894.","required":false,"coverage":0.33,"example":"SBL256894"},{"name":"rir","type":"string","description":"Regional internet registry that holds the range or ASN, such as apnic.","required":false,"coverage":0.67,"example":"apnic"},{"name":"asn","type":"integer","description":"AS number, for ASN-DROP entries.","required":false,"coverage":0.33,"example":245},{"name":"as_name","type":"string","description":"Network name of the ASN.","required":false,"coverage":0.33,"example":"PRC-AS"},{"name":"as_domain","type":"string","description":"Domain of the organisation behind the ASN.","required":false,"coverage":0.33,"example":"planningresearchcorp.com"},{"name":"country","type":"string","description":"Two-letter country code of the ASN.","required":false,"coverage":0.33,"example":"US"},{"name":"is_listed","type":"boolean","description":"True when the entry is on the list; for a checked address or ASN, whether it matched.","required":false,"coverage":1,"example":true},{"name":"matched_entry","type":"string","description":"For a checked address or ASN that is listed: the range or ASN that matched.","required":false,"coverage":0.67,"example":"1.10.16.0/20"}],"inputs":[{"name":"ips","type":"array","description":"IPv4 or IPv6 addresses to check. Each gets one answer row: listed or not, with the matching range.","example":["1.10.16.5"]},{"name":"asns","type":"array","description":"AS numbers to check against ASN-DROP, such as AS245 or 245.","example":["AS245"]},{"name":"list","type":"string","description":"Which list: drop_v4, drop_v6, asndrop or all. With no ips or asns, every entry of the chosen list is returned.","default":"all","example":"all","enum":["drop_v4","drop_v6","asndrop","all"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"as_domain":{"description":"Domain of the organisation behind the ASN.","type":"string"},"as_name":{"description":"Network name of the ASN.","type":"string"},"asn":{"description":"AS number, for ASN-DROP entries.","type":"integer"},"cidr":{"description":"The listed IP range, such as 1.10.16.0/20.","type":"string"},"country":{"description":"Two-letter country code of the ASN.","type":"string"},"id":{"description":"Unique id of the row: the list and range or ASN, or the checked address.","type":"string"},"is_listed":{"description":"True when the entry is on the list; for a checked address or ASN, whether it matched.","type":"boolean"},"list":{"description":"The list the row comes from: drop_v4, drop_v6 or asndrop.","type":"string"},"matched_entry":{"description":"For a checked address or ASN that is listed: the range or ASN that matched.","type":"string"},"query":{"description":"The address or ASN you asked about; empty when listing all entries.","type":"string"},"rir":{"description":"Regional internet registry that holds the range or ASN, such as apnic.","type":"string"},"sbl_id":{"description":"Spamhaus Block List case id for the range, such as SBL256894.","type":"string"}},"required":["id"],"title":"Spamhaus DROP Blocklist API","type":"object"},"samples":[{"id":"check:1.10.16.5","list":"drop_v4","query":"1.10.16.5","cidr":"1.10.16.0/20","sbl_id":"SBL256894","rir":"apnic","asn":null,"as_name":null,"as_domain":null,"country":null,"is_listed":true,"matched_entry":"1.10.16.0/20"},{"id":"check:8.8.8.8","list":"drop_v4","query":"8.8.8.8","cidr":null,"sbl_id":null,"rir":null,"asn":null,"as_name":null,"as_domain":null,"country":null,"is_listed":false,"matched_entry":null},{"id":"check:AS245","list":"asndrop","query":"AS245","cidr":null,"sbl_id":null,"rir":"arin","asn":245,"as_name":"PRC-AS","as_domain":"planningresearchcorp.com","country":"US","is_listed":true,"matched_entry":"AS245"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"as_domain":0.33,"as_name":0.33,"asn":0.33,"cidr":0.33,"country":0.33,"id":1,"is_listed":1,"list":1,"matched_entry":0.67,"query":1,"rir":0.67,"sbl_id":0.33},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_75af4df3ef478a52bf944093/run","openapi":"https://pullrow.dev/v1/apis/api_75af4df3ef478a52bf944093/openapi.json","contract":"https://pullrow.dev/v1/apis/api_75af4df3ef478a52bf944093/contract.json","page":"https://pullrow.dev/catalog/spamhaus-drop-blocklist"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Reads Spamhaus's free DROP (IPv4), DROP (IPv6) and ASN-DROP files, which Spamhaus updates a few times a day; answers are as current as the last file read.","Spamhaus asks that the files be fetched at most about once an hour; each run reads them fresh, so avoid very frequent runs.","DROP is a short list of the worst networks (about 1,800 IPv4 ranges, a few IPv6 ranges and about 480 ASNs). Not being listed does not mean an address is clean.","SBL case id, registry and ranges are filled only for IP ranges; AS name, domain and country only for ASNs.","Spamhaus data is free to use without a key under its published terms (https://www.spamhaus.org/drop/terms/); check them before using it commercially at scale."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Unique id of the row: the list and range or ASN, or the checked address.","group":"Technical","shown":false,"written":false},{"name":"list","label":"List","description":"The list the row comes from: drop_v4, drop_v6 or asndrop.","group":"Basics","shown":true,"written":false},{"name":"query","label":"Search words","description":"The address or ASN you asked about; empty when listing all entries.","group":"Basics","shown":true,"written":false},{"name":"cidr","label":"Cidr","description":"The listed IP range, such as 1.10.16.0/20.","group":"Basics","shown":true,"written":false},{"name":"sbl_id","label":"Sbl ID","description":"Spamhaus Block List case id for the range, such as SBL256894.","group":"Technical","shown":false,"written":false},{"name":"rir","label":"Rir","description":"Regional internet registry that holds the range or ASN, such as apnic.","group":"Basics","shown":true,"written":false},{"name":"asn","label":"Asn","description":"AS number, for ASN-DROP entries.","group":"Basics","shown":true,"written":false},{"name":"as_name","label":"As name","description":"Network name of the ASN.","group":"Basics","shown":true,"written":false},{"name":"as_domain","label":"As domain","description":"Domain of the organisation behind the ASN.","group":"Basics","shown":true,"written":false},{"name":"country","label":"Country","description":"Two-letter country code of the ASN.","group":"Location","shown":true,"written":false},{"name":"is_listed","label":"Listed","description":"Yes when the entry is on the list; for a checked address or ASN, whether it matched.","group":"Basics","shown":true,"written":false},{"name":"matched_entry","label":"Matched entry","description":"For a checked address or ASN that is listed: the range or ASN that matched.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"ips","label":"Ips","help":"IPv4 or IPv6 addresses to check. Each gets one answer row: listed or not, with the matching range.","example":"1.10.16.5","written":false},{"name":"asns","label":"Asns","help":"AS numbers to check against ASN-DROP, such as AS245 or 245.","example":"AS245","written":false},{"name":"list","label":"List","help":"Which list: drop_v4, drop_v6, asndrop or all. With no ips or asns, every entry of the chosen list is returned.","example":"all","written":false}]}},"incidents":[]}