# ScanMalware MCP API reference

> ScanMalware is a URL scanner with a REST API. A scan loads a URL in a browser and records the final URL, redirects, requests, certificates, technologies, IP and ASN data, security verdicts and screenshots. Public scans can be searched by URL, domain, title, technology or ASN, and a domain's…

Source: https://osinttools.io/apis/scanmalware-mcp/ (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/scanmalware-mcp/

- Base URL: https://scanmalware.com/api/v1
- Authentication: API key in the `X-API-Key` header. Get a key: https://scanmalware.com Optional for most endpoints; raises the rate limit.
- Rate limits: Anonymous: 12,000 requests/min to /api/; with an API key: 24,000/min. Anonymous scan submissions: about 1 per minute, burst of 3.
- Vendor docs: https://scanmalware.com/api-docs
- OpenAPI spec: https://scanmalware.com/openapi.json

## Overview

ScanMalware is a URL scanner with a REST API. A scan loads a URL in a browser and records the final URL, redirects, requests, certificates, technologies, IP and ASN data, security verdicts and screenshots. Public scans can be searched by URL, domain, title, technology or ASN, and a domain's earlier public scans can be listed.

Most endpoints need no key. An API key (starts with `sm_pat_`, sent in `X-API-Key`) raises the rate limit; submitting private scans needs the `scan:submit` scope and reading them the `scan:read` scope. Scan type is `public` (listed, searchable), `unlisted` (link-only) or `private` (owner only).

This reference covers seven endpoints. The docs also mention certificate-transparency, host, TLS and SMQL search endpoints and 213 SMQL filters; see the OpenAPI spec for those.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Bad request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not found, or a private scan that is not yours |
| 422 | Validation failed |
| 429 | Rate limit exceeded; see Retry-After |
| 503 | Service briefly busy; retry after Retry-After seconds |

## Scans

### Submit a URL to be scanned.

`POST /scan`

- Takes: URL
- Footprint: active (contacts the target)

Works anonymously for public and unlisted scans. Private scans need an API key or sign-in.

Response fields:

- `scan_id` (string): ID of the scan
- `status` (string): queued on submission
- `message` (string): Status message
- `scan_type` (string): Scan type
- `submitted_at` (string): Submission time

```bash
curl -X POST 'https://scanmalware.com/api/v1/scan' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://example.com","scan_type":"public"}'
```

Example response (200):

```json
{
  "scan_id": "00000000-0000-4000-8000-000000000000",
  "status": "queued",
  "message": "Scan queued",
  "scan_type": "public",
  "submitted_at": "2026-01-01T00:00:00Z"
}
```

### Full result of a scan; can be several MB unless compact is set.

`GET /result/{scan_id}`

- Footprint: passive (the target is not contacted)

Poll until verdicts_ready is true and set a timeout, since a failed capture may never produce verdicts. compact=true drops request logs and console output.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `scan_id` | path | string | yes | Scan ID Example: 00000000-0000-4000-8000-000000000000 |
| `compact` | query | boolean | no | Omit request logs and console output Example: true |

Response fields:

- `scan_id` (string): Scan ID
- `url` (string): Submitted URL
- `final_url` (string): URL after redirects
- `status` (string): completed when page capture finishes
- `verdicts_ready` (boolean): True when security verdicts are available
- `security_verdict.risk_level` (string): Risk level
- `technologies[]` (string): Detected technologies
- `domains[]` (string): Domains contacted
- `ip_addresses[]` (string): IP addresses contacted
- `primary_asn` (integer): ASN of the primary IP
- `primary_ip` (string): Primary IP address

```bash
curl 'https://scanmalware.com/api/v1/result/00000000-0000-4000-8000-000000000000' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "scan_id": "00000000-0000-4000-8000-000000000000",
  "url": "https://example.com",
  "final_url": "https://example.com/",
  "status": "completed",
  "verdicts_ready": true,
  "security_verdict": {
    "risk_level": "low"
  },
  "technologies": [
    "Example Server"
  ],
  "domains": [
    "example.com"
  ],
  "ip_addresses": [
    "203.0.113.7"
  ],
  "primary_asn": 64496,
  "primary_ip": "203.0.113.7"
}
```

### Short summary of a scan: verdict, counts and load time.

`GET /scan/{scan_id}/summary`

- Footprint: passive (the target is not contacted)

A smaller alternative to the full result.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `scan_id` | path | string | yes | Scan ID Example: 00000000-0000-4000-8000-000000000000 |

Response fields:

- `scan_id` (string): Scan ID
- `url` (string): Submitted URL
- `final_url` (string): URL after redirects
- `status` (string): Scan status
- `security_verdict.overall_score` (number): Overall score
- `security_verdict.risk_level` (string): Risk level
- `risk_score` (number): Risk score
- `technologies_count` (integer): Technologies detected
- `tracker_count` (integer): Trackers found
- `redirect_count` (integer): Redirects followed
- `certificate_valid` (boolean): Whether the certificate is valid
- `load_time` (number): Page load time

```bash
curl 'https://scanmalware.com/api/v1/scan/00000000-0000-4000-8000-000000000000/summary' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "scan_id": "00000000-0000-4000-8000-000000000000",
  "url": "https://example.com",
  "final_url": "https://example.com/",
  "status": "completed",
  "security_verdict": {
    "overall_score": 90,
    "risk_level": "low"
  },
  "risk_score": 10,
  "technologies_count": 2,
  "tracker_count": 0,
  "redirect_count": 1,
  "certificate_valid": true,
  "load_time": 1.2
}
```

## Search

### Public scans of a domain and its subdomains.

`GET /domains/{domain}/scans`

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

Matched on the entry host, final host, or subdomains of either. Only public scans are returned.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain, e.g. example.com Example: example.com |
| `status` | query | string | no | Filter by status Example: completed One of: queued, processing, completed, failed |
| `limit` | query | integer | no | 1-100 Example: 20 |

Response fields:

- `[].scan_id` (string): Scan ID
- `[].url` (string): Submitted URL
- `[].final_url` (string): URL after redirects
- `[].matched_on` (array): url and/or final_url
- `[].status` (string): Scan status
- `[].submitted_at` (string): Submission time
- `[].title` (string): Page title

```bash
curl 'https://scanmalware.com/api/v1/domains/example.com/scans' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
[
  {
    "scan_id": "00000000-0000-4000-8000-000000000000",
    "url": "https://example.com",
    "final_url": "https://example.com/",
    "matched_on": [
      "url"
    ],
    "status": "completed",
    "scan_type": "public",
    "submitted_at": "2026-01-01T00:00:00Z",
    "completed_at": "2026-01-01T00:00:30Z",
    "title": "Example Domain"
  }
]
```

### Search public scans by URL, domain, title or technology.

`GET /search`

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

q must be at least 3 characters. type defaults to all.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Search text, minimum 3 characters Example: example.com |
| `type` | query | string | no | What to search Example: domain One of: url, domain, title, technology, all |
| `page` | query | integer | no | Page number Example: 1 |
| `limit` | query | integer | no | Results per page, max 100 Example: 20 |

Response fields:

- `[].scan_id` (string): Scan ID
- `[].url` (string): Submitted URL
- `[].status` (string): Scan status
- `[].submitted_at` (string): Submission time
- `[].title` (string): Page title

```bash
curl 'https://scanmalware.com/api/v1/search?q=example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
[
  {
    "scan_id": "00000000-0000-4000-8000-000000000000",
    "url": "https://example.com",
    "status": "completed",
    "scan_type": "public",
    "submitted_at": "2026-01-01T00:00:00Z",
    "title": "Example Domain"
  }
]
```

### Public scans whose infrastructure sits in an ASN, with BGP data.

`GET /search/asn/{asn_number}`

- Footprint: passive (the target is not contacted)

Give the ASN number without the AS prefix.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `asn_number` | path | integer | yes | ASN without the AS prefix Example: 64496 |
| `page` | query | integer | no | Page number Example: 1 |
| `limit` | query | integer | no | Results per page, max 500 Example: 50 |

Response fields:

- `asn` (integer): ASN
- `organization` (string): Organization name
- `total_scans` (integer): Scans seen in this ASN
- `unique_urls` (integer): Unique URLs
- `first_seen` (string): First seen
- `last_seen` (string): Last seen
- `results[].scan_id` (string): Scan ID
- `results[].url` (string): Submitted URL
- `pagination.total_items` (integer): Total results

```bash
curl 'https://scanmalware.com/api/v1/search/asn/64496' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "asn": 64496,
  "organization": "Example Networks",
  "total_scans": 12,
  "unique_urls": 10,
  "first_seen": "2025-01-01T00:00:00Z",
  "last_seen": "2026-01-01T00:00:00Z",
  "results": [
    {
      "scan_id": "00000000-0000-4000-8000-000000000000",
      "url": "https://example.com",
      "primary_asn": 64496
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 50,
    "total_items": 12
  }
}
```

---

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/
