Warning! We are currently in recovery mode. The complete archive is not available.

API Documentation

The API is provided for the registered users to allow for accessing of files and data stored within out dataset.

Tools

Language Developer Link
Python @SilasCutler Github.com/MalShare/MalShare-Toolkit
.NET @AlexBK1996 Github.com/MalShare/MalShare.NET
Go @MonaxGT Github.com/MonaxGT/gomalshare

API Endpoints

Request Type URL Path Description Output Format
GET /api.php?api_key=[API_KEY]&action=getlist List hashes from the past 24 hours JSON
GET /api.php?api_key=[API_KEY]&action=getlistraw List hashes from the past 24 hours Raw Text List
GET /api.php?api_key=[API_KEY]&action=getsources List of sample sources from the past 24 hours JSON
GET /api.php?api_key=[API_KEY]&action=getsourcesraw List of sample sources from the past 24 hours Raw Text List
GET /api.php?api_key=[API_KEY]&action=getfile&hash=[HASH] Download File Raw data
GET /api.php?api_key=[API_KEY]&action=details&hash=[HASH] GET stored file details JSON
GET /api.php?api_key=[API_KEY]&action=type&type=[FILE TYPE] List MD5/SHA1/SHA256 hashes of a specific type from the past 24 hours JSON
GET /api.php?api_key=[API_KEY]&action=search&query=[SEARCH QUERY] Search sample hashes, sources and file names Raw data
GET /api.php?api_key=[API_KEY]&action=gettypes Get list of file types & count from the past 24 hours JSON
POST /api.php?api_key=[API_KEY]&action=upload Upload using FormData field "upload"
GET /api.php?api_key=[API_KEY]&action=getlimit GET allocated number of API key requests per day and remaining Raw data