ScanMalware Domain API
The domain API from ScanMalware — 4 operation(s) for domain.
The domain API from ScanMalware — 4 operation(s) for domain.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/scanmalware-com:scanmalware-com-domain-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ScanMalware Domain API
description: URL Security Scanner API
version: 1.0.0
tags:
- name: Domain
paths:
/api/v1/domain/stats/{domain}:
get:
tags:
- Domain
summary: Get Domain Scan Statistics
description: Get scan statistics for a specific domain
operationId: get_domain_scan_statistics_api_v1_domain_stats__domain__get
parameters:
- name: domain
in: path
required: true
schema:
type: string
description: Domain name (e.g. example.com), or an IP address.
title: Domain
description: Domain name (e.g. example.com), or an IP address.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/domain/history/{domain}:
get:
tags:
- Domain
summary: Get Domain Scan History
description: Get scan history for a specific domain with pagination
operationId: get_domain_scan_history_api_v1_domain_history__domain__get
parameters:
- name: domain
in: path
required: true
schema:
type: string
description: Domain name (e.g. example.com), or an IP address.
title: Domain
description: Domain name (e.g. example.com), or an IP address.
- name: page
in: query
required: false
schema:
type: integer
maximum: 10000
minimum: 1
description: Page number
default: 1
title: Page
description: Page number
- name: limit
in: query
required: false
schema:
type: integer
maximum: 50
minimum: 1
description: Items per page
default: 5
title: Limit
description: Items per page
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/domains/{domain}/scans:
get:
tags:
- Domain
summary: Get Domain Scans
description: 'Public scans of a domain and its subdomains, matched on the scanned HOST.
A scan matches when the domain is the entry host, the final host after redirects, or a
subdomain of either. `matched_on` says which of the two it was, so a caller can tell a scan
that STARTED here from one that merely REDIRECTED here — a distinction a flat list loses:
- `["url"]` the scan was submitted for this domain
- `["final_url"]` it landed here from somewhere else (`final_url` shows where it started)
- both entry and destination are both this domain
The domain must appear as a whole label. A host that merely CONTAINS the string does not
match, and neither does the domain appearing anywhere in a path or query string.'
operationId: get_domain_scans_api_v1_domains__domain__scans_get
parameters:
- name: domain
in: path
required: true
schema:
type: string
description: Domain name (e.g. example.com), or an IP address.
title: Domain
description: Domain name (e.g. example.com), or an IP address.
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Limit
- name: status
in: query
required: false
schema:
anyOf:
- type: string
pattern: ^(queued|processing|completed|failed)$
- type: 'null'
title: Status
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/hosts/{domain}:
get:
tags:
- Domain
summary: Get Domain Hosts
description: 'Every host seen for a domain, grouped by how we learned about it.
Sources, strongest evidence first:
- `observed` the browser resolved and requested it
- `scripts` a script the browser actually loaded
- `declared` named in the page''s Content-Security-Policy - intent, NOT contact
- `static` called from a URL sink in script source - roughly a third are corroborated
by runtime, the rest being conditional or dead code
- `referenced` appears only in a string literal or comment - a reference, not an endpoint
Defaults to `observed,scripts`, the hosts the browser really contacted.
Opt into the weaker sources explicitly; every host is always returned under its own key so
a caller cannot mistake intent for evidence of contact.
The `stream` source (hosts that other callers had asked this API about) was withdrawn on
2026-10-17: hostnames learned from API lookups are no longer published. A request that
still names it gets no hosts for it, and `withdrawn_sources` says why.
`subdomains_only=true` drops the domain itself and anything not strictly below it.'
operationId: get_domain_hosts_api_v1_hosts__domain__get
parameters:
- name: domain
in: path
required: true
schema:
type: string
description: Domain name (e.g. example.com), or an IP address.
title: Domain
description: Domain name (e.g. example.com), or an IP address.
- name: sources
in: query
required: false
schema:
type: string
description: 'Comma-separated: observed, scripts, declared, static, referenced. Defaults to observed,scripts, the hosts the browser really contacted.'
default: observed,scripts
title: Sources
description: 'Comma-separated: observed, scripts, declared, static, referenced. Defaults to observed,scripts, the hosts the browser really contacted.'
- name: subdomains_only
in: query
required: false
schema:
type: boolean
description: Return only hosts strictly below the domain
default: false
title: Subdomains Only
description: Return only hosts strictly below the domain
- name: max_scans
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
description: Newest scans of this domain to aggregate over
default: 200
title: Max Scans
description: Newest scans of this domain to aggregate over
- name: limit
in: query
required: false
schema:
type: integer
maximum: 10000
minimum: 1
description: Maximum hosts per source
default: 2000
title: Limit
description: Maximum hosts per source
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
OptionalHTTPBearer:
type: http
scheme: bearer
HTTPBearer:
type: http
scheme: bearer