ScanMalware Jsfingerprint Search API

The jsfingerprint-search API from ScanMalware — 14 operation(s) for jsfingerprint-search.

GitHub OpenAPI

Operations 14

GET /api/v1/jsfingerprint/hash/sha256/{hash} Search By Sha256 #
GET /api/v1/jsfingerprint/hash/md5/{hash} Search By Md5 #
GET /api/v1/jsfingerprint/hash/sha1/{hash} Search By Sha1 #
GET /api/v1/jsfingerprint/hash/normalized/{hash} Search By Normalized Hash #
GET /api/v1/jsfingerprint/hash/fuzzy/{fuzzy_hash} Search By Fuzzy Hash #
GET /api/v1/jsfingerprint/library/{library_name} Search By Library #
GET /api/v1/jsfingerprint/library/{library}/version/{version} Search By Library Version #
GET /api/v1/jsfingerprint/library-inventory Get Library Inventory #
GET /api/v1/jsfingerprint/cdn/{cdn_type} Search By Cdn #
GET /api/v1/jsfingerprint/server/{server_type} Search By Server #
GET /api/v1/jsfingerprint/obfuscated Search Obfuscated #
GET /api/v1/jsfingerprint/patterns Search By Patterns #
GET /api/v1/jsfingerprint/bundler/{bundler_type} Search By Bundler #
POST /api/v1/jsfingerprint/similar-by-hash Find Similar By Hash #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scanmalware-com:scanmalware-com-jsfingerprint-search-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scanmalware-com-jsfingerprint-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScanMalware Jsfingerprint Search API
  description: URL Security Scanner API
  version: 1.0.0
tags:
- name: jsfingerprint-search
paths:
  /api/v1/jsfingerprint/hash/sha256/{hash}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Sha256
      description: 'Find exact JavaScript content matches by SHA-256 hash.


        Use Case: Malware detection, code reuse tracking, supply chain security

        Performance: < 100ms (indexed lookup)'
      operationId: search_by_sha256_api_v1_jsfingerprint_hash_sha256__hash__get
      parameters:
      - name: hash
        in: path
        required: true
        schema:
          type: string
          minLength: 64
          maxLength: 64
          description: SHA-256 hash (64 hex characters)
          title: Hash
        description: SHA-256 hash (64 hex characters)
      - name: include_scans
        in: query
        required: false
        schema:
          type: boolean
          description: Include scan references
          default: true
          title: Include Scans
        description: Include scan references
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          description: Max results
          default: 100
          title: Limit
        description: Max results
      - name: from_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Start date (ISO 8601)
          title: From Date
        description: Start date (ISO 8601)
      - name: to_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: End date (ISO 8601)
          title: To Date
        description: End date (ISO 8601)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/hash/md5/{hash}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Md5
      description: 'Find exact JavaScript content matches by MD5 hash.


        Use Case: Legacy hash lookups, malware detection, code reuse tracking

        Performance: < 100ms (indexed lookup)'
      operationId: search_by_md5_api_v1_jsfingerprint_hash_md5__hash__get
      parameters:
      - name: hash
        in: path
        required: true
        schema:
          type: string
          minLength: 32
          maxLength: 32
          description: MD5 hash (32 hex characters)
          title: Hash
        description: MD5 hash (32 hex characters)
      - name: include_scans
        in: query
        required: false
        schema:
          type: boolean
          description: Include scan references
          default: true
          title: Include Scans
        description: Include scan references
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          description: Max results
          default: 100
          title: Limit
        description: Max results
      - name: from_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Start date (ISO 8601)
          title: From Date
        description: Start date (ISO 8601)
      - name: to_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: End date (ISO 8601)
          title: To Date
        description: End date (ISO 8601)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/hash/sha1/{hash}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Sha1
      description: 'Find exact JavaScript content matches by SHA-1 hash.


        Use Case: Legacy hash lookups, malware detection, code reuse tracking

        Performance: < 100ms (indexed lookup)'
      operationId: search_by_sha1_api_v1_jsfingerprint_hash_sha1__hash__get
      parameters:
      - name: hash
        in: path
        required: true
        schema:
          type: string
          minLength: 40
          maxLength: 40
          description: SHA-1 hash (40 hex characters)
          title: Hash
        description: SHA-1 hash (40 hex characters)
      - name: include_scans
        in: query
        required: false
        schema:
          type: boolean
          description: Include scan references
          default: true
          title: Include Scans
        description: Include scan references
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          description: Max results
          default: 100
          title: Limit
        description: Max results
      - name: from_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Start date (ISO 8601)
          title: From Date
        description: Start date (ISO 8601)
      - name: to_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: End date (ISO 8601)
          title: To Date
        description: End date (ISO 8601)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/hash/normalized/{hash}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Normalized Hash
      description: 'Find whitespace-independent code matches by normalized hash.


        Use Case: Detect minified/formatted variants of same code

        Performance: < 100ms (indexed lookup)'
      operationId: search_by_normalized_hash_api_v1_jsfingerprint_hash_normalized__hash__get
      parameters:
      - name: hash
        in: path
        required: true
        schema:
          type: string
          minLength: 64
          maxLength: 64
          description: Normalized hash (64 hex characters)
          title: Hash
        description: Normalized hash (64 hex characters)
      - name: include_scans
        in: query
        required: false
        schema:
          type: boolean
          description: Include scan references
          default: true
          title: Include Scans
        description: Include scan references
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          description: Max results
          default: 100
          title: Limit
        description: Max results
      - name: from_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Start date (ISO 8601)
          title: From Date
        description: Start date (ISO 8601)
      - name: to_date
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: End date (ISO 8601)
          title: To Date
        description: End date (ISO 8601)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/hash/fuzzy/{fuzzy_hash}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Fuzzy Hash
      description: 'Find similar code using SSDEEP fuzzy hashing.


        Use Case: Detect obfuscated/modified variants of malware

        Performance: 500ms-2s (requires fuzzy comparison)


        Note: Full SSDEEP comparison requires external library - this endpoint does exact fuzzy_hash matches.

        For true fuzzy matching, SSDEEP library integration is required.'
      operationId: search_by_fuzzy_hash_api_v1_jsfingerprint_hash_fuzzy__fuzzy_hash__get
      parameters:
      - name: fuzzy_hash
        in: path
        required: true
        schema:
          type: string
          description: SSDEEP fuzzy hash
          title: Fuzzy Hash
        description: SSDEEP fuzzy hash
      - name: min_similarity
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 0
          description: Minimum similarity percentage
          default: 50
          title: Min Similarity
        description: Minimum similarity percentage
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          description: Max results
          default: 50
          title: Limit
        description: Max results
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/library/{library_name}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Library
      description: 'Find all scripts using a specific JavaScript library.


        Use Case: Vulnerable library tracking, supply chain security

        Performance: 500ms-1s'
      operationId: search_by_library_api_v1_jsfingerprint_library__library_name__get
      parameters:
      - name: library_name
        in: path
        required: true
        schema:
          type: string
          description: Library name (e.g., 'react', 'vue', 'jquery')
          title: Library Name
        description: Library name (e.g., 'react', 'vue', 'jquery')
      - name: version
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Specific version (e.g., '16.13.1')
          title: Version
        description: Specific version (e.g., '16.13.1')
      - name: version_pattern
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Version wildcard (e.g., '16.*')
          title: Version Pattern
        description: Version wildcard (e.g., '16.*')
      - name: min_confidence
        in: query
        required: false
        schema:
          type: number
          maximum: 1.0
          minimum: 0.0
          description: Minimum detection confidence
          default: 0.5
          title: Min Confidence
        description: Minimum detection confidence
      - name: include_cdn_only
        in: query
        required: false
        schema:
          type: boolean
          description: Filter to CDN-hosted only
          default: false
          title: Include Cdn Only
        description: Filter to CDN-hosted only
      - name: page
        in: query
        required: false
        schema:
          type: integer
          maximum: 10000
          minimum: 1
          description: Page number
          default: 1
          title: Page
        description: Page number
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Results per page
          default: 50
          title: Per Page
        description: Results 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/jsfingerprint/library/{library}/version/{version}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Library Version
      description: 'Find exact library+version combinations.


        Use Case: CVE tracking - find all scans using vulnerable version

        Performance: < 500ms'
      operationId: search_by_library_version_api_v1_jsfingerprint_library__library__version__version__get
      parameters:
      - name: library
        in: path
        required: true
        schema:
          type: string
          description: Library name
          title: Library
        description: Library name
      - name: version
        in: path
        required: true
        schema:
          type: string
          description: Library version
          title: Version
        description: Library version
      - name: include_deprecated
        in: query
        required: false
        schema:
          type: boolean
          description: Include old scans
          default: true
          title: Include Deprecated
        description: Include old scans
      - name: group_by_url
        in: query
        required: false
        schema:
          type: boolean
          description: Group by unique URL
          default: false
          title: Group By Url
        description: Group by unique URL
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          description: Max results
          default: 100
          title: Limit
        description: Max results
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/library-inventory:
    get:
      tags:
      - jsfingerprint-search
      summary: Get Library Inventory
      description: 'Get library version inventory aggregated across all scans.


        Returns a catalog of detected JavaScript libraries and their versions, showing usage

        statistics and prevalence. Useful for understanding your web application dependencies.


        Use Case: Library inventory, dependency tracking, version auditing

        Performance: 1-2s (aggregation query)


        Note: This endpoint returns version data only. For vulnerability detection, integrate

        with external CVE databases (NVD, Snyk, etc.).'
      operationId: get_library_inventory_api_v1_jsfingerprint_library_inventory_get
      parameters:
      - name: library
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter to specific library
          title: Library
        description: Filter to specific library
      - name: min_count
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          description: Minimum fingerprint count to include
          default: 10
          title: Min Count
        description: Minimum fingerprint count to include
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/cdn/{cdn_type}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Cdn
      description: 'Find all scripts hosted on specific CDN.


        Use Case: Infrastructure analysis, CDN compromise detection

        Performance: < 1s'
      operationId: search_by_cdn_api_v1_jsfingerprint_cdn__cdn_type__get
      parameters:
      - name: cdn_type
        in: path
        required: true
        schema:
          type: string
          description: CDN provider (e.g., 'cloudflare', 'fastly', 'akamai')
          title: Cdn Type
        description: CDN provider (e.g., 'cloudflare', 'fastly', 'akamai')
      - name: cdn_cache_status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Cache status (HIT, MISS, STALE)
          title: Cdn Cache Status
        description: Cache status (HIT, MISS, STALE)
      - name: unpinned_only
        in: query
        required: false
        schema:
          type: boolean
          description: Only URLs without version pinning
          default: false
          title: Unpinned Only
        description: Only URLs without version pinning
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          description: Max results
          default: 100
          title: Limit
        description: Max results
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/server/{server_type}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Server
      description: 'Find scripts by HTTP server type.


        Use Case: Infrastructure fingerprinting, attack surface analysis

        `total_scripts` is capped at 1,000; `total_is_lower_bound` is true when more exist.'
      operationId: search_by_server_api_v1_jsfingerprint_server__server_type__get
      parameters:
      - name: server_type
        in: path
        required: true
        schema:
          type: string
          description: Server type (e.g., 'nginx', 'apache', 'cloudflare')
          title: Server Type
        description: Server type (e.g., 'nginx', 'apache', 'cloudflare')
      - name: include_headers
        in: query
        required: false
        schema:
          type: boolean
          description: Include full HTTP headers
          default: true
          title: Include Headers
        description: Include full HTTP headers
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          description: Max results
          default: 50
          title: Limit
        description: Max results
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/obfuscated:
    get:
      tags:
      - jsfingerprint-search
      summary: Search Obfuscated
      description: 'Find obfuscated JavaScript, as rated by the deobfuscator (the level shown on a script''s Deobfuscation tab).


        Use Case: Malware hunting, suspicious code detection'
      operationId: search_obfuscated_api_v1_jsfingerprint_obfuscated_get
      parameters:
      - name: level
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'Minimum deobfuscator level: light, moderate, heavy or maximum (default heavy)'
          title: Level
        description: 'Minimum deobfuscator level: light, moderate, heavy or maximum (default heavy)'
      - name: min_score
        in: query
        required: false
        schema:
          type: number
          maximum: 1.0
          minimum: 0.0
          description: 'Deprecated: used only without `level` (>= 0.7 heavy, >= 0.5 moderate, else light)'
          default: 0.7
          title: Min Score
        description: 'Deprecated: used only without `level` (>= 0.7 heavy, >= 0.5 moderate, else light)'
      - name: max_score
        in: query
        required: false
        schema:
          type: number
          maximum: 1.0
          minimum: 0.0
          description: Deprecated and ignored
          default: 1.0
          title: Max Score
        description: Deprecated and ignored
      - name: classification
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Exactly this deobfuscator level (light, moderate, heavy, maximum); the older level names are still accepted
          title: Classification
        description: Exactly this deobfuscator level (light, moderate, heavy, maximum); the older level names are still accepted
      - name: exclude_libraries
        in: query
        required: false
        schema:
          type: boolean
          description: Exclude known libraries
          default: false
          title: Exclude Libraries
        description: Exclude known libraries
      - name: min_code_length
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Minimum code size
          title: Min Code Length
        description: Minimum code size
      - name: page
        in: query
        required: false
        schema:
          type: integer
          maximum: 10000
          minimum: 1
          description: Page number
          default: 1
          title: Page
        description: Page number
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Results per page
          default: 50
          title: Per Page
        description: Results 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/jsfingerprint/patterns:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Patterns
      description: 'Advanced pattern-based malware hunting.


        Use Case: Threat intelligence, malware research

        Performance: 2-5s (complex JSONB queries)


        Note: Pattern detection depends on AST and feature extraction during fingerprinting.'
      operationId: search_by_patterns_api_v1_jsfingerprint_patterns_get
      parameters:
      - name: has_eval
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Contains eval() calls
          title: Has Eval
        description: Contains eval() calls
      - name: has_crypto
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Contains crypto operations
          title: Has Crypto
        description: Contains crypto operations
      - name: has_websocket
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Contains WebSocket usage
          title: Has Websocket
        description: Contains WebSocket usage
      - name: high_entropy
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: 'Obfuscated: the deobfuscator rates the script moderately obfuscated or more (name kept for old callers)'
          title: High Entropy
        description: 'Obfuscated: the deobfuscator rates the script moderately obfuscated or more (name kept for old callers)'
      - name: no_library
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: No library detected
          title: No Library
        description: No library detected
      - name: cdn_mismatch
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: CDN URL but no library detected
          title: Cdn Mismatch
        description: CDN URL but no library detected
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          description: Max results
          default: 50
          title: Limit
        description: Max results
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/jsfingerprint/bundler/{bundler_type}:
    get:
      tags:
      - jsfingerprint-search
      summary: Search By Bundler
      description: 'Find scripts by bundler type.


        Use Case: Build tool analysis, supply chain security

        Performance: < 1s'
      operationId: search_by_bundler_api_v1_jsfingerprint_bundler__bundler_type__get
      parameters:
      - name: bundler_type
        in: path
        required: true
        schema:
          type: string
          description: Bundler type (webpack, rollup, vite, parcel, esbuild)
          title: Bundler Type
        description: Bundler type (webpack, rollup, vite, parcel, esbuild)
      - name: bundle_format
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bundle format (esm, cjs, umd, iife, amd)
          title: Bundle Format
        description: Bundle format (esm, cjs, umd, iife, amd)
      - name: min_confidence
        in: query
        required: false
        schema:
          type: number
          maximum: 1.0
          minimum: 0.0
          description: Minimum bundler detection confidence
          default: 0.5
          title: Min Confidence
        description: Minimum bundler detection confidence
      - name: include_libraries
        in: query
        required: false
        schema:
          type: boolean
          description: Include detected libraries
          default: true
          title: Include Libraries
        description: Include detected libraries
      - name: page
        in: query
        required: false
        schema:
          type: integer
          maximum: 10000
          minimum: 1
          description: Page number
          default: 1
          title: Page
        description: Page number
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Results per page
          default: 50
          title: Per Page
        description: Results 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/jsfingerprint/similar-by-hash:
    post:
      tags:
      - jsfingerprint-search
      summary: Find Similar By Hash
      description: 'Find similar scripts by providing content hash (not fingerprint ID).


        Use Case: Public malware detection without requiring existing fingerprint

        Performance: 100-500ms (indexed vector search)


        ML Model: 192-dimensional composite vector (post-strip-ML cut-over)

        - AST Features (128 dims, weight 5.0x) - Abstract syntax tree analysis

        - Hand-crafted Features (64 dims, weight 3.0x) - Code complexity metrics'
      operationId: find_similar_by_hash_api_v1_jsfingerprint_similar_by_hash_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SimilarByHashRequest'
        required: true
      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
    SimilarByHashRequest:
      properties:
        content_sha256:
          type: string
          title: Content Sha256
          description: SHA-256 hash of JavaScript content
        threshold:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Threshold
          description: Minimum similarity score
          default: 0.7
        limit:
          type: integer
          maximum: 100.0
          minimum: 1.0
          title: Limit
          description: Maximum results
          default: 10
        exclude_exact_matches:
          type: boolean
          title: Exclude Exact Matches
          description: Exclude exact hash matches
          default: false
        distinct:
          type: boolean
          title: Distinct
          description: One result per distinct script (content SHA-256), the nearest copy, with `copies` = how many of the nearest candidates were that script; false returns every copy, as before 2026-11-07
          default: true
      type: object
      required:
      - content_sha256
      title: SimilarByHashRequest
      description: Request model for similarity search by hash
  securitySchemes:
    OptionalHTTPBearer:
      type: http
      scheme: bearer
    HTTPBearer:
      type: http
      scheme: bearer