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 Scripts API
description: URL Security Scanner API
version: 1.0.0
tags:
- name: Scripts
paths:
/api/v1/scans/{scan_id}/libraries:
get:
tags:
- Scripts
summary: Get Scan Libraries
description: 'JavaScript libraries and packages identified on the scanned page, with their versions and the scripts they were
found in.
`status` is `ready`, `pending` (identification runs within about an hour of the scan; check back later) or
`not_covered` (scans from before 2026-10-27). Each library carries `version_kind`:
- `read`: the version the code or page itself states;
- `release_set`: the package states none, but it is released in lockstep with `released_with`, whose version was
read on this page;
- `estimated`: the closest known release of the code. A guess, not to be used for vulnerability lookups;
- `null`: identified, version unknown.
Several versions mean several copies on the page; `copies` then says which scripts carry which version. `scripts`
lists external script URLs (at most 20) and `inline_scripts` counts inline scripts.
`vulnerabilities` (read and release-set versions only; null for an estimate, or when the advisory data is not
available): published advisories whose affected range holds the version, with `severity`, `ids` (CVE or advisory
ids), `summary` and `info` links. A library name is context about the page, not a sign that it is safe or unsafe.'
operationId: get_scan_libraries_api_v1_scans__scan_id__libraries_get
parameters:
- name: scan_id
in: path
required: true
schema:
type: string
title: Scan Id
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