URLhaus
Bulk queries and Download Malware Samples
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Yes
- Category
- Anti-Malware
- Documentation / URL
- https://urlhaus-api.abuse.ch/
Overview
URLhaus (by abuse.ch) tracks malicious URLs — malware distribution and phishing — with a REST API for lookups and submissions.
⚠️ Breaking change (verified 2026-08): API requests now return HTTP 401 “Unauthorized” — the API requires an API key (the keyless query tier was removed). Register an account at urlhaus.abuse.ch and use the key from your profile.
Quick Start
Register at urlhaus.abuse.ch for a key, then (replace YOUR_KEY):
curl "https://urlhaus-api.abuse.ch/v1/url/" \
-H "Auth-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "http://example.com/malware.exe"}'
{
"query_status": "no_results",
"url": "http://example.com/malware.exe"
}
Host lookup:
curl "https://urlhaus-api.abuse.ch/v1/host/" \
-H "Auth-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"host": "example.com"}'
Authentication
- Register at urlhaus.abuse.ch → your API key is on your profile page.
- Send it as the
Auth-Keyheader (missing/invalid → 401, verified).
Rate Limits & Notes
- The API enforces per-user rate limits (see docs) — keys are free.
- Endpoints:
/v1/url/(URL lookup/submit),/v1/host/,/v1/payload/,/v1/recent/. query_statusin the response tells you the result (“no_results”, “ok”, “url_recently_online”, …).- The site’s web search remains free for manual lookups.
FAQ
Is URLhaus free? The API is free but now requires an API key (401 without, verified).
How do I get a key? Register at urlhaus.abuse.ch — the key is on your profile.
What can I query? URLs, hosts, payloads, and recent additions.
More in Anti-Malware
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| AbuseIPDB IP/domain/URL reputation | API Key | Yes | Unknown | ↗ |
| AlienVault Open Threat Exchange (OTX) IP/domain/URL reputation | API Key | Yes | Unknown | ↗ |
| CAPEsandbox Malware execution and analysis | API Key | Yes | Unknown | ↗ |
| Google Safe Browsing Google Link/Domain Flagging | API Key | Yes | Unknown | ↗ |
| IPWhois.net Blacklist Community IP blacklist to check and report abusive IP addresses | No auth | Yes | Unknown | ↗ |