ScanMalware Js Fingerprinter2 Search API
The js-fingerprinter2-search API from ScanMalware — 9 operation(s) for js-fingerprinter2-search.
The js-fingerprinter2-search API from ScanMalware — 9 operation(s) for js-fingerprinter2-search.
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-js-fingerprinter2-search-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 Js Fingerprinter2 Search API
description: URL Security Scanner API
version: 1.0.0
tags:
- name: js-fingerprinter2-search
paths:
/api/v1/js-fingerprinter2/search/similar/{scan_id}:
get:
tags:
- js-fingerprinter2-search
summary: Search Similar Fingerprints
description: 'Find scans with similar behavioral fingerprints.
Uses weighted component comparison:
- Call Pattern (35%): Execution behavior vector
- Characteristics (25%): Eval calls, function counts, DOM manipulation
- Signature (15%): Human-readable behavior signature
- API Sequence (15%): API call sequence hash
- Timing (5%): Timing pattern hash
- Sequence Graph (5%): Execution sequence hash
**Use Cases:**
- Find malware variants/families
- Detect code reuse across different domains
- Identify obfuscated versions of same code'
operationId: search_similar_fingerprints_api_v1_js_fingerprinter2_search_similar__scan_id__get
parameters:
- name: scan_id
in: path
required: true
schema:
type: string
title: Scan Id
- name: min_similarity
in: query
required: false
schema:
type: number
maximum: 1.0
minimum: 0.0
description: Minimum similarity threshold (0-1)
default: 0.9
title: Min Similarity
description: Minimum similarity threshold (0-1)
- name: limit
in: query
required: false
schema:
type: integer
maximum: 500
minimum: 1
description: Maximum number of results
default: 50
title: Limit
description: Maximum number of results
- name: include_self
in: query
required: false
schema:
type: boolean
description: Include the query scan in results
default: false
title: Include Self
description: Include the query scan in results
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/js-fingerprinter2/search/composite-hash/{composite_hash}:
get:
tags:
- js-fingerprinter2-search
summary: Search By Composite Hash
description: 'Find all scans with an exact composite-hash match.
The composite hash is a SHA-256 digest of all behavioral data (call patterns, API
usage, execution characteristics, timing, sequence graphs).
NOTE: the composite hash incorporates exact, run-to-run-variable execution counts, so
it is effectively unique per scan — it does NOT reliably match the same script across
scans or sites, and this lookup typically returns only the originating scan. For
behavioral grouping use GET /search/stable-signature/{hash}.'
operationId: search_by_composite_hash_api_v1_js_fingerprinter2_search_composite_hash__composite_hash__get
parameters:
- name: composite_hash
in: path
required: true
schema:
type: string
description: SHA-256 composite hash from behavioral fingerprint
title: Composite Hash
description: SHA-256 composite hash from behavioral fingerprint
- name: limit
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
description: Maximum number of results
default: 100
title: Limit
description: Maximum number of results
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/js-fingerprinter2/search/stable-signature/{signature_hash}:
get:
tags:
- js-fingerprinter2-search
summary: Search By Stable Signature
description: 'Find all scans with matching stable behavioral signature.
The stable signature buckets API usage into categories (none/low/medium/high/very_high)
and complexity into tiers, producing deterministic signatures that cluster similar behavior.
Unlike compositeHash (exact SHA-256), this groups scans with similar behavioral patterns.
**Use Case:** Find behaviorally similar scripts across different sites'
operationId: search_by_stable_signature_api_v1_js_fingerprinter2_search_stable_signature__signature_hash__get
parameters:
- name: signature_hash
in: path
required: true
schema:
type: string
description: SHA-256 hash of stable behavioral signature
title: Signature Hash
description: SHA-256 hash of stable behavioral signature
- name: limit
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
description: Maximum number of results
default: 100
title: Limit
description: Maximum number of results
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/js-fingerprinter2/search/behavior-vector/similar/{scan_id}:
get:
tags:
- js-fingerprinter2-search
summary: Search By Behavior Vector
description: 'Find scans with similar behavior vectors using L1 (Manhattan) distance.
The behavior vector is a 32-byte feature vector encoding API usage intensity,
code complexity, risk flags, call patterns, timing, and sequence topology.
L1 distance between vectors gives a continuous similarity score (0-1).
**Use Case:** Find the most behaviorally similar scans to a given scan,
even when they don''t share the exact same stable signature.'
operationId: search_by_behavior_vector_api_v1_js_fingerprinter2_search_behavior_vector_similar__scan_id__get
parameters:
- name: scan_id
in: path
required: true
schema:
type: string
title: Scan Id
- name: min_similarity
in: query
required: false
schema:
type: number
maximum: 1.0
minimum: 0.0
description: Minimum similarity threshold (0-1)
default: 0.7
title: Min Similarity
description: Minimum similarity threshold (0-1)
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
description: Maximum number of results
default: 50
title: Limit
description: Maximum number of results
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/js-fingerprinter2/search/code-hash/{code_hash}:
get:
tags:
- js-fingerprinter2-search
summary: Search By Code Hash
description: 'Find all scans containing scripts with exact code hash match.
The code hash is a SHA-256 hash of the script''s source code.
This allows finding identical scripts across different scans, even if:
- Served from different URLs
- Embedded inline vs external
- Part of different pages
**Use Case:** Track script prevalence, identify reused malicious code'
operationId: search_by_code_hash_api_v1_js_fingerprinter2_search_code_hash__code_hash__get
parameters:
- name: code_hash
in: path
required: true
schema:
type: string
description: SHA-256 hash of individual script code
title: Code Hash
description: SHA-256 hash of individual script code
- name: limit
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
description: Maximum number of results
default: 100
title: Limit
description: Maximum number of results
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/js-fingerprinter2/search/signature/{signature}:
get:
tags:
- js-fingerprinter2-search
summary: Search By Signature
description: 'Find scans with matching behavior signature.
Signature format: `eval:X|Function:Y|api:count|complexity`
Example: `eval:15|Function:3|setTimeout:45|medium`
**Use Case:** Quick search for scans with similar API usage patterns'
operationId: search_by_signature_api_v1_js_fingerprinter2_search_signature__signature__get
parameters:
- name: signature
in: path
required: true
schema:
type: string
description: Human-readable behavior signature
title: Signature
description: Human-readable behavior signature
- name: limit
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
description: Maximum number of results
default: 100
title: Limit
description: Maximum number of results
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/js-fingerprinter2/search/malware-families:
get:
tags:
- js-fingerprinter2-search
summary: Detect Malware Families
description: 'DISABLED (2026-05-19) — behavioral malware-family clustering.
This endpoint grouped scans by the behavioral `compositeHash`. An evaluation found
that hash to be a per-scan nonce — 0% stable across rescans of the same URL, 0%
shared across scans of the same known malware family — so the "families" it returned
were clusters of degenerate near-empty traces, not malware families. It is disabled
pending the behavioral-fingerprint rework.
For behavioral grouping use GET /search/stable-signature/{hash}.'
operationId: detect_malware_families_api_v1_js_fingerprinter2_search_malware_families_get
parameters:
- name: min_cluster_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 2
description: Minimum scans per family
default: 2
title: Min Cluster Size
description: Minimum scans per family
- name: similarity_threshold
in: query
required: false
schema:
type: number
maximum: 1.0
minimum: 0.0
description: Similarity threshold for clustering
default: 0.95
title: Similarity Threshold
description: Similarity threshold for clustering
- name: limit
in: query
required: false
schema:
type: integer
maximum: 500
minimum: 1
description: Maximum number of families to return
default: 50
title: Limit
description: Maximum number of families to return
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/js-fingerprinter2/search/fingerprint-coverage:
get:
tags:
- js-fingerprinter2-search
summary: Get Fingerprint Coverage
description: 'Get statistics on behavioral fingerprint coverage.
Shows how many scans have fingerprints enabled vs disabled. Recomputed at most hourly;
`computed_at` says when.'
operationId: get_fingerprint_coverage_api_v1_js_fingerprinter2_search_fingerprint_coverage_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/js-fingerprinter2/search/health:
get:
tags:
- js-fingerprinter2-search
summary: Health Check
description: Health check for JS-Fingerprinter2 search API
operationId: health_check_api_v1_js_fingerprinter2_search_health_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
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