ScanMalware Webassembly API

The webassembly API from ScanMalware — 5 operation(s) for webassembly.

GitHub OpenAPI

Operations 5

GET /api/v1/scans/{scan_id}/wasm Get Scan Wasm #
GET /api/v1/wasm/{sha256} Get Wasm Module #
GET /api/v1/wasm/{sha256}/download Download Wasm Module #
GET /api/v1/wasm/{sha256}/code Get Wasm Code #
GET /api/v1/wasm/{sha256}/code/{i} Get Wasm Code Unit #

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-webassembly-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-webassembly-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScanMalware Webassembly API
  description: URL Security Scanner API
  version: 1.0.0
tags:
- name: webassembly
paths:
  /api/v1/scans/{scan_id}/wasm:
    get:
      tags:
      - webassembly
      summary: Get Scan Wasm
      description: 'WebAssembly modules the scanned page used: carried in its scripts, downloaded, or built at run time.


        Each module has its size, how it reached the page (`how`), the hosts of the files and scripts

        involved, plain-language `labels` (leads, never verdicts), known library or service `names`,

        toolchain and counts, how many other public scans used it, and what it did at run time.

        `recorded: false` means modules were not recorded for this scan (scans from before

        October 2026), so an empty list is unknown rather than "none". Search any module with

        `wasm_sha256:`. At most 100 modules are listed (`shown`), every other module before the .NET

        assemblies of a Blazor app (`dotnet_assemblies` counts those); `total` counts all of them.'
      operationId: get_scan_wasm_api_v1_scans__scan_id__wasm_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'
  /api/v1/wasm/{sha256}:
    get:
      tags:
      - webassembly
      summary: Get Wasm Module
      description: 'One WebAssembly module: its structure (sections, imports, exports, data segments and their

        entropy), what the analysis found (`labels`, `names`, hosts it names, threat-feed matches, messaging-bot

        channels (bot tokens, chat ids, webhooks), `passed_text`: fixed text it hands to the page''s JavaScript through its

        imports, addresses as hosts; `loaded_by`: scripts on public scans that carry or load it, with their host and

        obfuscation level; `name_hints`: the names it came with, hints its builder chose: its own name, an npm package or

        a vendor in the path of its file or loading script, the site it came from (its file was served from it, or that site''s

        frame or worker built it) and its file name, each with the number of sites), what it is made of (`identity`, `components`: crates, build tools and versions, a .NET

        assembly and its references; hints its builder can change), the hashing and cipher algorithms it carries and the

        functions that implement them (`crypto`, named from the algorithms'' published constants, tables and rotation

        amounts), the checks the analysis ran (`checks`), other

        builds of the same thing (`related_modules`: same exports, .NET assembly, Rust crate or code), other modules it

        shares distinctive functions with (`shares_code_with`), what it did at run time (`sandbox`: hosts it

        decoded, `strings` it produced, addresses as hosts, and the data segments it rewrote in place,

        `rewritten_segments`, each `decrypted` or `wiped`), the binary''s own header and layout (`binary`: format version,

        every section with its offset and size, memory and table limits, start function, custom sections and their sizes,

        target features, a source map or build id), its decompiled code in brief

        (`decompiled`: how much of it was decompiled, hosts named in the code with threat-feed matches, and for a .NET

        assembly its references and JavaScript and native interop; the code itself is at `decompiled.code`), and the public

        scans it appeared on (newest first, paged). `data_segments` holds the first 64 segments plus every dense one, and `data_summary`

        the totals over all of them, with `dense_indexes` (the shown segments counted as encrypted or compressed) and

        `table_indexes` (shown segments as dense as that but filled by standard lookup tables, so not counted). Modules seen

        only on private scans are not shown.

        Download the module with `/api/v1/wasm/{sha256}/download`.'
      operationId: get_wasm_module_api_v1_wasm__sha256__get
      parameters:
      - name: sha256
        in: path
        required: true
        schema:
          type: string
          description: SHA-256 of the module (64 hex characters)
          title: Sha256
        description: SHA-256 of the module (64 hex characters)
      - name: page
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 1
          title: Page
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 25
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/wasm/{sha256}/download:
    get:
      tags:
      - webassembly
      summary: Download Wasm Module
      description: 'The module''s bytes, as the page had them (`application/octet-stream`, saved as `.wasm`).

        WebAssembly does nothing on its own: it runs only when a script instantiates it. Modules seen only

        on private scans are not available.'
      operationId: download_wasm_module_api_v1_wasm__sha256__download_get
      parameters:
      - name: sha256
        in: path
        required: true
        schema:
          type: string
          description: SHA-256 of the module (64 hex characters)
          title: Sha256
        description: SHA-256 of the module (64 hex characters)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/wasm/{sha256}/code:
    get:
      tags:
      - webassembly
      summary: Get Wasm Code
      description: 'The module''s decompiled code, one entry per function (C-like pseudocode) or, for a .NET assembly, per type (C#):

        name, size, control-flow blocks and complexity or method count, instruction groups beyond WebAssembly 1.0, .NET

        interop count, whether it was decompiled (with a note when not), and whether its code may be wrong. Functions the

        module imports from the page are not listed. Read one entry''s code with `/api/v1/wasm/{sha256}/code/{i}`.

        Modules seen only on private scans are not shown.'
      operationId: get_wasm_code_api_v1_wasm__sha256__code_get
      parameters:
      - name: sha256
        in: path
        required: true
        schema:
          type: string
          description: SHA-256 of the module (64 hex characters)
          title: Sha256
        description: SHA-256 of the module (64 hex characters)
      - name: page
        in: query
        required: false
        schema:
          type: integer
          maximum: 10000
          minimum: 1
          default: 1
          title: Page
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: sort
        in: query
        required: false
        schema:
          type: string
          description: size (largest first), name, order (as in the module) or complexity
          default: size
          title: Sort
        description: size (largest first), name, order (as in the module) or complexity
      - name: q
        in: query
        required: false
        schema:
          type: string
          maxLength: 100
          description: Part of a function or type name
          default: ''
          title: Q
        description: Part of a function or type name
      - name: only
        in: query
        required: false
        schema:
          type: string
          description: code (decompiled), not-decompiled, unreliable (may be wrong), features (instructions beyond WebAssembly 1.0) or interop (.NET)
          default: ''
          title: Only
        description: code (decompiled), not-decompiled, unreliable (may be wrong), features (instructions beyond WebAssembly 1.0) or interop (.NET)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/wasm/{sha256}/code/{i}:
    get:
      tags:
      - webassembly
      summary: Get Wasm Code Unit
      description: 'One function''s or type''s decompiled code, with its facts (as in the code list), its control-flow graph size, and

        for a .NET type the JavaScript and native functions it calls or exposes. In URLs written in the code every query

        value is shown as …; the module''s own bytes are unchanged

        (`/api/v1/wasm/{sha256}/download`). Decompiled code is a reconstruction: names and types are often guesses.'
      operationId: get_wasm_code_unit_api_v1_wasm__sha256__code__i__get
      parameters:
      - name: sha256
        in: path
        required: true
        schema:
          type: string
          description: SHA-256 of the module (64 hex characters)
          title: Sha256
        description: SHA-256 of the module (64 hex characters)
      - name: i
        in: path
        required: true
        schema:
          type: integer
          maximum: 10000000
          minimum: 0
          description: The entry's `i` from the code list
          title: I
        description: The entry's `i` from the code list
      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