URLhaus API
Overview
URLhaus by abuse.ch is a free, no-auth API for querying a database of URLs that are actively distributing malware. You can look up individual URLs, domains, or file hashes to see if they are associated with malware campaigns. Because it requires no authentication, it is one of the easiest security APIs to start experimenting with.
Beginner Tip
No API key needed — just POST to https://urlhaus-api.abuse.ch/v1/url/ with a JSON body containing the url field. You can test it immediately from the terminal without any signup.
Available Data
Example Response
{
"url": "https://example.com",
"safe": true,
"threat_level": "none",
"categories": [
"clean"
],
"scan_date": "2025-01-15T10:00:00Z"
} Field Reference
query_status Result of the lookup: is_online, is_offline, unknown, or no_results url The URL that was queried url_status Whether the malicious URL is currently online or offline threat Type of threat, such as malware_download or botnet_cc tags Researcher-applied tags describing the malware family or campaign date_added Timestamp when the URL was first reported to URLhaus Implementation Example
const url = "https://urlhaus-api.abuse.ch/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →AbuseIPDB
AbuseIPDB lets you check whether an IP address has been reported for malicious activity like spam, hacking, or DDoS attacks.
AlienVault Open Threat Exchange (OTX)
AlienVault Open Threat Exchange (OTX) provides programmatic access to ip/domain/url reputation via REST API.
CAPEsandbox
CAPEsandbox is an open-source malware analysis platform that executes suspicious files in an isolated environment and reports on their behavior.
Google Safe Browsing
Google Safe Browsing lets you check any URL against Google's constantly updated lists of phishing sites, malware distributors, and unwanted software.
MalDatabase
MalDatabase provides programmatic access to provide malware datasets and threat intelligence feeds via REST API.