Overview
MalwareBazaar is a free platform by abuse.ch where security researchers share malware samples along with metadata like file hashes, tags, and threat actor attribution. You can query samples by hash, download files, and search by malware family or tag. It is a go-to resource for threat intelligence and incident response workflows.
Beginner Tip
The API uses POST requests with a JSON body containing a query field — read the docs at bazaar.abuse.ch/api carefully because the request format differs from typical REST APIs.
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 query: ok, no_results, or an error string data[].sha256_hash SHA256 hash of the malware sample, used as the primary identifier data[].file_name Original filename of the malware sample as submitted data[].file_type Detected file type such as exe, dll, or docm data[].tags Researcher-applied tags identifying malware family or behavior, e.g. ransomware, emotet data[].first_seen ISO 8601 timestamp when the sample was first submitted to MalwareBazaar Implementation Example
// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://bazaar.abuse.ch/api/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
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
Partially 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.