# MetaDefender Cloud API reference

> 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…

Source: https://osinttools.io/apis/metadefender-cloud/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/metadefender-cloud/

- Base URL: https://api.metadefender.com/v4
- Authentication: API key in the `apikey` header. Get a key: https://metadefender.opswat.com/
- Rate limits: Not stated on the reference page; limits are set per API key and per API group (see /apikey/), and responses include X-RateLimit headers.
- Vendor docs: https://www.opswat.com/docs/mdcloud/metadefender-cloud-api-v4

## Overview

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.

## Hash lookups

### Scan report for a file hash (MD5, SHA1 or SHA256).

`GET /hash/{hash}`

- Takes: File
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `hash` | path | string | yes | The MD5, SHA1 or SHA256 hash to look up Example: d41d8cd98f00b204e9800998ecf8427e |
| `apikey` | header | string | no | The apikey identifies and authenticates the user Example: YOUR_API_KEY |

Response fields:

- `scan_result_history_length` (integer): Number of historical scan results for the file
- `file_id` (string): File id for the submitted file
- `data_id` (string): The dataId assigned to the file
- `sandbox_id` (string): Sandbox id for the dataId
- `scan_results` (object): The results of the scan
- `file_info` (object): Information about the file
- `share_file` (integer): Whether the file can be shared
- `votes.up` (integer): Positive community feedback
- `votes.down` (integer): Negative community feedback

```bash
curl 'https://api.metadefender.com/v4/hash/d41d8cd98f00b204e9800998ecf8427e' \
  -H 'apikey: YOUR_API_KEY'
```

Example response (200):

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

## Reputation

### Reputation of an IPv4 or IPv6 address.

`GET /ip/{observable_ip}`

- Takes: IP address
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `observable_ip` | path | string | yes | IP address to look up Example: 203.0.113.7 |
| `apikey` | header | string | no | The apikey identifies and authenticates the user Example: YOUR_API_KEY |

Response fields:

- `address` (string): The IP being assessed
- `lookup_results.start_time` (string): When the lookup started
- `lookup_results.detected_by` (integer): Number of sources that flag it
- `lookup_results.sources[].provider` (string): Reputation source
- `lookup_results.sources[].assessment` (string): The source's assessment, empty if none
- `lookup_results.sources[].detect_time` (string): When the source detected it
- `lookup_results.sources[].update_time` (string): When the source was last checked
- `lookup_results.sources[].status` (integer): Status code for the source

```bash
curl 'https://api.metadefender.com/v4/ip/203.0.113.7' \
  -H 'apikey: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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}`

- Takes: Domain
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `observable_domain` | path | string | yes | The fully qualified domain name to look up Example: example.com |
| `apikey` | header | string | no | The apikey identifies and authenticates the user Example: YOUR_API_KEY |

Response fields:

- `address` (string): The domain being assessed
- `lookup_results.start_time` (string): When the lookup started
- `lookup_results.detected_by` (integer): Number of sources that flag it
- `lookup_results.sources[].provider` (string): Reputation source
- `lookup_results.sources[].assessment` (string): The source's assessment, empty if none
- `lookup_results.sources[].detect_time` (string): When the source detected it
- `lookup_results.sources[].update_time` (string): When the source was last checked
- `lookup_results.sources[].status` (integer): Status code for the source

```bash
curl 'https://api.metadefender.com/v4/domain/example.com' \
  -H 'apikey: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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}`

- Takes: URL
- Footprint: passive (the target is not contacted)

The URL goes in the path, URL-encoded.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `observable_url` | path | string | yes | The URL to look up, URL-encoded Example: http%3A%2F%2Fexample.com%2Fpath |
| `apikey` | header | string | no | The apikey identifies and authenticates the user Example: YOUR_API_KEY |

Response fields:

- `address` (string): The URL being assessed
- `lookup_results.start_time` (string): When the lookup started
- `lookup_results.detected_by` (integer): Number of sources that flag it
- `lookup_results.sources[].provider` (string): Reputation source
- `lookup_results.sources[].assessment` (string): The source's assessment, empty if none
- `lookup_results.sources[].detect_time` (string): When the source detected it
- `lookup_results.sources[].update_time` (string): When the source was last checked
- `lookup_results.sources[].status` (integer): Status code for the source

```bash
curl 'https://api.metadefender.com/v4/url/http%253A%252F%252Fexample.com%252Fpath' \
  -H 'apikey: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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

### Limits and details of your API key.

`GET /apikey/`

- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `apikey` | header | string | no | The apikey identifies and authenticates the user Example: YOUR_API_KEY |

Response fields:

- `max_upload_file_size` (integer): Maximum upload size for files, in MB
- `limit_prevention` (integer): Daily limit of Prevention API calls
- `limit_reputation` (integer): Daily limit of Reputation API calls
- `limit_sandbox` (integer): Daily limit of Sandbox API calls
- `limit_feed` (integer): Daily limit of Feed API calls
- `mdc_license_type` (string): The key's license type
- `time_interval` (string): monthly or daily
- `expiration_date` (string): Expiry of the key
- `nickname` (string): Nickname for the account

```bash
curl 'https://api.metadefender.com/v4/apikey/' \
  -H 'apikey: YOUR_API_KEY'
```

Example response (200):

```json
{
  "max_upload_file_size": 140,
  "limit_reputation": 4000,
  "limit_sandbox": 10,
  "time_interval": "daily",
  "nickname": "example-user"
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
