MetaDefender API

Advanced Threat Prevention Development Platform

MetaDefender API allows you to integrate advanced malware protection and detection into your IT solutions and applications, for instance to secure web portals from file upload attacks, enhance cyber security products, and develop malware analysis systems.

Using our REST API, you can easily leverage MetaDefender’s high-speed multi-scanning, data sanitization, and vulnerability assessment technologies, preventing zero-day attacks and unknown threats as well as providing close to 100% known threat detection, without affecting performance. MetaDefender API also includes data loss prevention (DLP) capabilities to detect and block sensitive content in files.

Use Cases

Protect Web Portals from Malicious File Uploads

MetaDefender prevents malicious file uploads on web applications that are bypassing sandboxes and other advanced threat solutions and helps prevent data leakage with DLP.

Enhanced Threat Prevention for Security Products

Enhance your security solution using advanced threat prevention technology to stop both known and unknown threats.

Enhanced Anti-Malware Analysis Solutions

Enhance your security solution using advanced threat prevention technology to stop both known and unknown threats and to detect and block sensitive content in files.


  • Prevent File-borne Threats

    Use MetaDefender API to enhance the security of your application or solution by leveraging MetaDefender’s advanced threat detection and prevention. MetaDefender’s Data Sanitization (CDR) technology prevents unknown file-borne threats by sanitizing and reconstructing files ensuring that any possible embedded threats are neutralized while maintaining full usability with safe content.

  • Maximize Threat Detection

    MetaDefender’s multi-scanning technology leverages 30+ anti-malware engines and significantly improves detection of known and unknown threats and provides the earliest protection against malware outbreaks. In addition, MetaDefender’s vulnerability assessment technology can detect vulnerabilities in installers, binary files and Internet of Things (IoT) firmware before they are executed on endpoints.

  • Protect Sensitive Information

    MetaDefender data loss prevention (DLP) can help companies prevent sensitive information from leaving or entering the company’s systems by content-checking files before they are transferred. MetaDefender can search over 30 file types for sensitive content, including Microsoft Office, PDF, CSV, HTML and image files.

  • High Performance

    MetaDefender API offers fast scanning without affecting performance and is scalable to any volume with MetaDefender’s built-in high-performance architecture and load balancing feature.

  • Easy Deployment via REST API

    Embed MetaDefender REST API calls directly into your application. The MetaDefender REST API interface is language-agnostic and accessible from virtually all web languages and websites. We provide sample code and detailed API documentation to help you bootstrap your integration. Use the MetaDefender API in your own environment or use the MetaDefender Cloud API to harness OPSWAT’s fast cloud services.

Teza Mukkavilli

Head of Security, Upwork
Explains how Upwork prevented 100% of zero-day file attacks with MetaDefender, compared to only 70% blocked by standard AV.

"We evaluated sandboxes, AV vendors and cloud multi-scanning vendors for our zero-day malware file upload challenge and chose Data Sanitization from OPSWAT."
Teza Mukkavilli
Head of Security, Upwork


Data Sanitization (CDR)

Sanitize and reconstruct over 30 common file types, ensuring maximum usability with safe content. Over 100 file reconstruction options are available. For example, to allow you to flatten files to less complex formats.


Choose from over 30 leading anti-malware engines in flexible package options. Third party anti-malware licenses are included.

Vulnerability Assessment

Scan binaries and installers to detect known application vulnerabilities before they are executed on endpoint devices, including IoT devices.

Data Loss Prevention (DLP)

Content-check 30+ common file types for sensitive information before they are transferred.


Use almost any programming language to leverage MetaDefender technology

File Type Verification

Verify over 4500 File types to combat spoofed file attacks

Workflow Engine

Create your own workflow for multi-scanning and data sanitization (CDR) and customize the order and process in which files are handled, based on user, file source, and file type.

Deployment Platforms

Deploy on Windows or Linux servers in your environment, even if it is air-gapped, or in our cloud using

Archive Extraction

Multi-scanning and data sanitization (CDR) for more than 30 types of compressed files. Archive handling options are configurable, and encrypted archives are supported.

MetaDefender Cloud

API calls for provide access to threat intelligence feeds and broader threat prevention data sources.