{"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},"version":"1.0","contract_hash":"c27839e3635653b914d45faf62246ad7468503e83b01813a4013ba4f8596d4cb","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.711Z","activated_at":"2026-12-06T03:57:27.711Z","active":true,"contract_hash":"c27839e3635653b914d45faf62246ad7468503e83b01813a4013ba4f8596d4cb","fields_count":12}]}