Overview
MalShare is a free community-driven repository of malware samples that security researchers upload and share for analysis. You can search for samples by hash, download files, and retrieve daily feed lists of new malware. It is useful for threat intelligence workflows where you need to verify if a file hash is known malware.
Beginner Tip
Register for a free API key at malshare.com. Most operations use GET requests with ?api_key= and &action= parameters — the action parameter controls what the endpoint returns.
Available Data
Example Response
{
"url": "https://example.com",
"safe": true,
"threat_level": "none",
"categories": [
"clean"
],
"scan_date": "2025-01-15T10:00:00Z"
} Field Reference
MD5 MD5 hash of the malware sample SHA1 SHA1 hash of the malware sample SHA256 SHA256 hash of the malware sample, the most reliable identifier SSDEEP Fuzzy hash used to find similar samples even when files differ slightly F_TYPE Detected file type, e.g. PE32 for Windows executables SOURCES List of URLs where this sample was originally found or downloaded from Implementation Example
const url = "https://malshare.com/";
// 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.