Public APIs
MalShare favicon

MalShare

Anti-Malware

Malware Archive / file sourcing.

MalShare's website screenshot

About MalShare

MalShare is a repository of malware samples that provides an API for registered users to access files and metadata within its dataset. The API supports listing recently submitted hashes and sample sources, downloading files by hash, retrieving file details, searching by hash, source, or filename, and looking up file types, with output in JSON or raw text depending on the endpoint. It also supports uploading files and submitting URLs for the service to download and add to its sample collection, with status checks via a GUID for queued download tasks.

Community-maintained client libraries and tools exist for the API in Python, .NET, Go, and Java, developed by third-party contributors and hosted on GitHub. Access requires an API key, and the service exposes an endpoint for checking a key's daily request limit and remaining quota.

The service is aimed at malware researchers and developers building tools that need programmatic access to malware samples and related metadata.

Key features

  • Search and download malware samples by hash, source, or file name
  • Retrieve lists of sample hashes and sources from the past 24 hours
  • Look up multiple hashes in bulk via a POST hashlookup endpoint
  • Upload files or submit a URL for MalShare to download and analyze
  • Query file type breakdowns and per-key API request quotas
  • Official client libraries available in Python, .NET, Go, and Java

Frequently asked questions

What is MalShare for?

MalShare is a service for registered users to access and search a dataset of malware samples via upload, search, and download features.

How do I access the data programmatically?

MalShare provides a REST-style API using an API key, with GET and POST endpoints such as getlist, search, details, and hashlookup returning JSON or raw data.

What languages have client libraries?

Community-maintained toolkits exist for Python, .NET, Go, and Java, linked from the API documentation page.

Do I need to register to use the API?

Yes, the API is provided for registered users and requires an API key to make requests.

Can I upload my own samples or URLs?

Yes, the API supports uploading files via FormData and submitting a URL for MalShare to download and add to its sample collection.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product