Skip to content
OSINTtools.io

ScanMalware MCP API

MCP server for ScanMalware.com, a free URL scanner, with tools to submit scans and search past results by domain, IP, hash or script.

Base URL
https://scanmalware.com/api/v1
Sign-in
API key
Format
REST
Endpoints
6

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

Introduction

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.

Quick start

  1. Get a key

    Create an account with ScanMalware MCP and copy your api key. Where to get it

  2. Make your first request

    Full result of a scan; can be several MB unless compact is set.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://scanmalware.com/api/v1/result/00000000-0000-4000-8000-000000000000' \
      -H 'X-API-Key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

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

Authentication

Send your API key in the X-API-Key header of every request.

Optional for most endpoints; raises the rate limit.

Get a key from ScanMalware MCP

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

Rate limits and pricing

Anonymous: 12,000 requests/min to /api/; with an API key: 24,000/min. Anonymous scan submissions: about 1 per minute, burst of 3.

Errors

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

Scans

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

Request body (JSON) · 3Show

urlstringalways present

URL to scan

scan_typestring

public (default), unlisted or private

optionsstring

Scan options

Response fields · 5Show

scan_idstring

ID of the scan

statusstring

queued on submission

messagestring

Status message

scan_typestring

Scan type

submitted_atstring

Submission time

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"}'
Replace YOUR_API_KEY with your key
Response
{
  "scan_id": "00000000-0000-4000-8000-000000000000",
  "status": "queued",
  "message": "Scan queued",
  "scan_type": "public",
  "submitted_at": "2026-01-01T00:00:00Z"
}
  • 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.

Path parameters

scan_idstringrequired

Scan ID

Example: 00000000-0000-4000-8000-000000000000

Query parameters

compactboolean

Omit request logs and console output

Example: trueDefault: false
Response fields · 11Show

scan_idstring

Scan ID

urlstring

Submitted URL

final_urlstring

URL after redirects

statusstring

completed when page capture finishes

verdicts_readyboolean

True when security verdicts are available

risk_levelstring

Risk level

technologies[]string

Detected technologies

domains[]string

Domains contacted

ip_addresses[]string

IP addresses contacted

primary_asninteger

ASN of the primary IP

primary_ipstring

Primary IP address

curl 'https://scanmalware.com/api/v1/result/00000000-0000-4000-8000-000000000000' \
  -H 'X-API-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
}
  • Passive: the target is not contacted

A smaller alternative to the full result.

Path parameters

scan_idstringrequired

Scan ID

Example: 00000000-0000-4000-8000-000000000000
Response fields · 12Show

scan_idstring

Scan ID

urlstring

Submitted URL

final_urlstring

URL after redirects

statusstring

Scan status

overall_scorenumber

Overall score

risk_levelstring

Risk level

risk_scorenumber

Risk score

technologies_countinteger

Technologies detected

tracker_countinteger

Trackers found

redirect_countinteger

Redirects followed

certificate_validboolean

Whether the certificate is valid

load_timenumber

Page load time

curl 'https://scanmalware.com/api/v1/scan/00000000-0000-4000-8000-000000000000/summary' \
  -H 'X-API-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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
}

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

Path parameters

domainstringrequiredtakes your domain

Domain, e.g. example.com

Example: example.com

Query parameters

statusstring

Filter by status

Example: completedOne of: queued, processing, completed, failed
limitinteger

1-100

Example: 20Default: 20
Response fields · 7Show

scan_idstring

Scan ID

urlstring

Submitted URL

final_urlstring

URL after redirects

matched_onarray

url and/or final_url

statusstring

Scan status

submitted_atstring

Submission time

titlestring

Page title

curl 'https://scanmalware.com/api/v1/domains/example.com/scans' \
  -H 'X-API-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  {
    "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"
  }
]
  • Passive: the target is not contacted

Give the ASN number without the AS prefix.

Path parameters

asn_numberintegerrequired

ASN without the AS prefix

Example: 64496

Query parameters

pageinteger

Page number

Example: 1Default: 1
limitinteger

Results per page, max 500

Example: 50Default: 50
Response fields · 9Show

asninteger

ASN

organizationstring

Organization name

total_scansinteger

Scans seen in this ASN

unique_urlsinteger

Unique URLs

first_seenstring

First seen

last_seenstring

Last seen

scan_idstring

Scan ID

urlstring

Submitted URL

total_itemsinteger

Total results

curl 'https://scanmalware.com/api/v1/search/asn/64496' \
  -H 'X-API-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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
  }
}