abuse.ch
ThreatFox, URLhaus, MalwareBazaar: IOCs, malicious URLs, samples
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Auth-KeySecretRequired
Where to find them
- A single key works for ThreatFox, URLhaus and MalwareBazaar.
- Sign in to auth.abuse.ch with your account (GitHub, Google, LinkedIn or X).
- In your profile generate an “Auth-Key” (“Generate Key”) and copy it. The platforms are free for fair use (query quotas); commercial use may require a paid subscription managed by Spamhaus (abuse.ch/terms-of-use).
Tools (2)
abuse.ch API request
ABUSECH_SEND_REQUESTAuthenticated call to the abuse.ch API (https://threatfox-api.abuse.ch/api/v1). Any endpoint of the API is allowed. ThreatFox (JSON to the base URL): POST / {"query": "search_ioc", "search_term": "1.2.3.4"}, POST / {"query": "search_hash", "hash": "…"}, POST / {"query": "get_iocs", "days": 1}, POST / {"query": "taginfo", "tag": "Emotet", "limit": 50}, POST / {"query": "malwareinfo", "malware": "win.cobalt_strike", "limit": 50}. URLhaus (form): POST https://urlhaus-api.abuse.ch/v1/url/ {"url": …}, …/v1/host/ {"host": …}, …/v1/payload/ {"sha256_hash": …}, …/v1/tag/ {"tag": …}, GET https://urlhaus-api.abuse.ch/v1/urls/recent/limit/50/. MalwareBazaar (form): POST https://mb-api.abuse.ch/api/v1/ {"query": "get_info", "hash": …}, {"query": "get_taginfo", "tag": …, "limit": 50}, {"query": "get_siginfo", "signature": …}, {"query": "get_recent", "selector": "time"}.
Required scopes
No scopes required
Input
abuse.ch API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Search for an indicator
ABUSECH_SEARCH_INDICATORSearches for an IP, domain, URL or hash in ThreatFox (malware and botnet IOCs: family, threat type, confidence, dates, tags and reference) and URLhaus (malware distribution URLs and their samples); hashes are also looked up in MalwareBazaar (name, type, family, YARA rules and verdicts from other engines). The type is inferred from the value; with SHA-1 only MalwareBazaar is queried.
Required scopes
No scopes required
Input
Search for an indicator input Name Type Description valuerequiredstringIP, domain, URL or hash (MD5, SHA-1 or SHA-256)

