Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: ScanMalware Dns API
description: URL Security Scanner API
version: 1.0.0
tags:
- name: DNS
paths:
/api/v1/dns/scan/{scan_id}:
get:
tags:
- DNS
summary: Dns For Scan
description: 'The DNS answers recorded for one scan, when it ran: the scanned hostnames (`page`), the registrable domain''s
mail servers, nameservers, TXT, SOA and CAA records with its `_dmarc` record and a wildcard probe (`domain`), the
reverse-DNS names of its addresses (`ptr`) and, on a sample of scans, the addresses of other hosts the page
contacted (`third_party`). `summary` reads the mail, SPF, DMARC and wildcard setup from them. `recorded` is false
for a scan with no DNS lookup (scans before 28 October 2026, or one whose lookup has not finished yet).'
operationId: dns_for_scan_api_v1_dns_scan__scan_id__get
parameters:
- name: scan_id
in: path
required: true
schema:
type: string
title: Scan Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Dns For Scan Api V1 Dns Scan Scan Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/dns/history/{name}:
get:
tags:
- DNS
summary: Dns History
description: 'Every DNS answer a name gave, newest first: when public pages using it were scanned, and the addresses it
resolved to when TLS certificates for it were published. For a domain this includes its `_dmarc` record and its
wildcard probe (`*.`); for an IP address, its reverse-DNS (PTR) names. `sources` says which parts
answered.'
operationId: dns_history_api_v1_dns_history__name__get
parameters:
- name: name
in: path
required: true
schema:
type: string
title: Name
- name: limit
in: query
required: false
schema:
type: integer
maximum: 500
minimum: 1
default: 100
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Dns History Api V1 Dns History Name Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/dns/reverse/ip/{address}:
get:
tags:
- DNS
summary: Dns Reverse Ip
description: 'Names that resolved to an address or into a network (A/AAAA) during public scans, and the reverse-DNS (PTR)
names of its addresses. Networks up to /16 (IPv4) or /32 (IPv6). Names seen in certificates for one address:
/api/v1/ct/ip/{ip}/domains.'
operationId: dns_reverse_ip_api_v1_dns_reverse_ip__address__get
parameters:
- name: address
in: path
required: true
schema:
type: string
title: Address
- name: limit
in: query
required: false
schema:
type: integer
maximum: 500
minimum: 1
default: 100
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Dns Reverse Ip Api V1 Dns Reverse Ip Address Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/dns/reverse/{kind}/{value}:
get:
tags:
- DNS
summary: Dns Reverse Value
description: 'Names whose DNS pointed at a host or carried a token during public scans: kind is mx, ns, cname, ptr,
spf_include, soa (primary nameserver or contact mailbox) or verification (key=token).'
operationId: dns_reverse_value_api_v1_dns_reverse__kind___value__get
parameters:
- name: kind
in: path
required: true
schema:
type: string
title: Kind
- name: value
in: path
required: true
schema:
type: string
title: Value
- name: limit
in: query
required: false
schema:
type: integer
maximum: 500
minimum: 1
default: 100
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Dns Reverse Value Api V1 Dns Reverse Kind Value Get
'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