Skip to content
OSINTtools.io

MetaDefender Cloud API

OPSWAT service that scans files with 20+ anti-malware engines and checks hashes, IPs, domains and URLs.

Base URL
https://api.metadefender.com/v4
Sign-in
API key
Format
REST, Bulk files
Endpoints
5

Compiled by OSINTtools.io editors from opswat.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

MetaDefender Cloud (OPSWAT) offers multi-engine malware scanning, file hash lookups and IP, domain and URL reputation. An investigator uses the lookup endpoints to check a hash, address, domain or URL against stored scan results and threat-intelligence sources without uploading anything.

The v4 API is served from https://api.metadefender.com/v4; the key goes in an apikey header. Daily limits per API group (Prevention, Reputation, Threat Intel Search, Sandbox, Feed) come from your key and are returned by /apikey/. Response headers carry X-RateLimit values.

The reference also covers file upload and analysis, sandbox, CDR, feeds and bulk lookups; those are not documented here, and file upload cannot be described in this format. The docs page is rendered by JavaScript and was read in a browser on 2026-11-29. Its lookup response bodies are shown only in part, so nested hash-report fields are listed at the top level.

Quick start

  1. Get a key

    Create an account with MetaDefender Cloud and copy your api key. Where to get it

  2. Make your first request

    Scan report for a file hash (MD5, SHA1 or SHA256).. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.metadefender.com/v4/hash/d41d8cd98f00b204e9800998ecf8427e' \
      -H 'apikey: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "scan_result_history_length": 1,
      "file_id": "EXAMPLEFILEID",
      "data_id": "EXAMPLEDATAID",
      "votes": {
        "up": 0,
        "down": 0
      }
    }

Authentication

Send your API key in the apikey header of every request.

Get a key from MetaDefender Cloud

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated on the reference page; limits are set per API key and per API group (see /apikey/), and responses include X-RateLimit headers.

Hash lookups

Returns the stored multi-engine scan report for a hash, with community votes.

Path parameters

hashstringrequiredtakes your file

The MD5, SHA1 or SHA256 hash to look up

Example: d41d8cd98f00b204e9800998ecf8427e

Headers

apikeystring

The apikey identifies and authenticates the user

Example: YOUR_API_KEY
Response fields · 9Show

scan_result_history_lengthinteger

Number of historical scan results for the file

file_idstring

File id for the submitted file

data_idstring

The dataId assigned to the file

sandbox_idstring

Sandbox id for the dataId

scan_resultsobject

The results of the scan

file_infoobject

Information about the file

share_fileinteger

Whether the file can be shared

upinteger

Positive community feedback

downinteger

Negative community feedback

curl 'https://api.metadefender.com/v4/hash/d41d8cd98f00b204e9800998ecf8427e' \
  -H 'apikey: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "scan_result_history_length": 1,
  "file_id": "EXAMPLEFILEID",
  "data_id": "EXAMPLEDATAID",
  "votes": {
    "up": 0,
    "down": 0
  }
}

Reputation

Looks the address up in the service's reputation (CIF) data and adds geolocation.

Path parameters

observable_ipstringrequiredtakes your ip address

IP address to look up

Example: 203.0.113.7

Headers

apikeystring

The apikey identifies and authenticates the user

Example: YOUR_API_KEY
Response fields · 8Show

addressstring

The IP being assessed

start_timestring

When the lookup started

detected_byinteger

Number of sources that flag it

providerstring

Reputation source

assessmentstring

The source's assessment, empty if none

detect_timestring

When the source detected it

update_timestring

When the source was last checked

statusinteger

Status code for the source

curl 'https://api.metadefender.com/v4/ip/203.0.113.7' \
  -H 'apikey: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "address": "203.0.113.7",
  "lookup_results": {
    "start_time": "2026-01-01T12:00:00.000Z",
    "detected_by": 1,
    "sources": [
      {
        "provider": "feed.example.org",
        "assessment": "botnet",
        "detect_time": "2026-01-01T10:00:00.000Z",
        "update_time": "2026-01-01T12:00:00.000Z",
        "status": 3
      }
    ]
  }
}

Reputation of a fully qualified domain name.

GET/domain/{observable_domain}

Returns the sources that list the domain, their assessments and detection times.

Path parameters

observable_domainstringrequiredtakes your domain

The fully qualified domain name to look up

Example: example.com

Headers

apikeystring

The apikey identifies and authenticates the user

Example: YOUR_API_KEY
Response fields · 8Show

addressstring

The domain being assessed

start_timestring

When the lookup started

detected_byinteger

Number of sources that flag it

providerstring

Reputation source

assessmentstring

The source's assessment, empty if none

detect_timestring

When the source detected it

update_timestring

When the source was last checked

statusinteger

Status code for the source

curl 'https://api.metadefender.com/v4/domain/example.com' \
  -H 'apikey: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "address": "example.com",
  "lookup_results": {
    "start_time": "2026-01-01T12:00:00.000Z",
    "detected_by": 1,
    "sources": [
      {
        "provider": "feed.example.org",
        "assessment": "botnet",
        "detect_time": "2026-01-01T10:00:00.000Z",
        "update_time": "2026-01-01T12:00:00.000Z",
        "status": 3
      }
    ]
  }
}

Reputation of a URL.

GET/url/{observable_url}

The URL goes in the path, URL-encoded.

Path parameters

observable_urlstringrequiredtakes your url

The URL to look up, URL-encoded

Example: http%3A%2F%2Fexample.com%2Fpath

Headers

apikeystring

The apikey identifies and authenticates the user

Example: YOUR_API_KEY
Response fields · 8Show

addressstring

The URL being assessed

start_timestring

When the lookup started

detected_byinteger

Number of sources that flag it

providerstring

Reputation source

assessmentstring

The source's assessment, empty if none

detect_timestring

When the source detected it

update_timestring

When the source was last checked

statusinteger

Status code for the source

curl 'https://api.metadefender.com/v4/url/http%253A%252F%252Fexample.com%252Fpath' \
  -H 'apikey: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "address": "http://example.com/path",
  "lookup_results": {
    "start_time": "2026-01-01T12:00:00.000Z",
    "detected_by": 1,
    "sources": [
      {
        "provider": "feed.example.org",
        "assessment": "botnet",
        "detect_time": "2026-01-01T10:00:00.000Z",
        "update_time": "2026-01-01T12:00:00.000Z",
        "status": 3
      }
    ]
  }
}

Account

  • Passive: the target is not contacted

Max file size, daily limits per API group, license type, expiry and nickname.

Headers

apikeystring

The apikey identifies and authenticates the user

Example: YOUR_API_KEY
Response fields · 9Show

max_upload_file_sizeinteger

Maximum upload size for files, in MB

limit_preventioninteger

Daily limit of Prevention API calls

limit_reputationinteger

Daily limit of Reputation API calls

limit_sandboxinteger

Daily limit of Sandbox API calls

limit_feedinteger

Daily limit of Feed API calls

mdc_license_typestring

The key's license type

time_intervalstring

monthly or daily

expiration_datestring

Expiry of the key

nicknamestring

Nickname for the account

curl 'https://api.metadefender.com/v4/apikey/' \
  -H 'apikey: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "max_upload_file_size": 140,
  "limit_reputation": 4000,
  "limit_sandbox": 10,
  "time_interval": "daily",
  "nickname": "example-user"
}