Api Endpoint

Stormap

Use when an npm or PyPI package is about to be installed, especially a name an LLM suggested. Returns ok_to_install, caution, dont_install or does_not_exist with reasons: malicious-package reports, known vulnerabilities for the version with the fixed version, deprecated or yanked, age, install scripts, downloads and typosquat look-alikes. From OSV.dev, deps.dev, npm and PyPI. ecosystem=pypi for Python. Errors: 400 bad_input, 502 registry unreachable. Failed calls are not charged.

Open interactive test console

Offering

Provider
stormap.ai
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://stormap.ai/x402/v1/package_check
MIME type
application/json
First seen
2026-10-16T01:52:13.818Z
Last seen
Tags
Web, Security, AI-agents

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x1260d8d1fd47e22416156b72ee75e97986f8ba70"
  }
]

Observed health

Status
Healthy
Latest latency
52 ms
Average latency
234 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Package name, optionally with a version: \"lodash\", \"lodash@4.17.15\", \"@scope/pkg\", \"requests==2.31.0\"."
        },
        "ecosystem": {
          "type": "string",
          "description": "npm (default) or pypi.",
          "enum": [
            "npm",
            "pypi"
          ]
        },
        "version": {
          "type": "string",
          "description": "Optional version to check (default: latest)."
        }
      },
      "required": [
        "name"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "ecosystem": {
              "description": "npm (default) or pypi.",
              "enum": [
                "npm",
                "pypi"
              ],
              "type": "string"
            },
            "name": {
              "description": "Package name, optionally with a version: \"lodash\", \"lodash@4.17.15\", \"@scope/pkg\", \"requests==2.31.0\".",
              "type": "string"
            },
            "version": {
              "description": "Optional version to check (default: latest).",
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "ecosystem": {
              "type": "string"
            },
            "first_published": {
              "type": "string"
            },
            "install_scripts": {
              "type": "array"
            },
            "latest_version": {
              "type": "string"
            },
            "malicious_reports": {
              "type": "array"
            },
            "package": {
              "type": "string"
            },
            "reasons": {
              "type": "array"
            },
            "similar_to": {},
            "summary": {
              "type": "string"
            },
            "verdict": {
              "type": "string"
            },
            "version_checked": {
              "type": "string"
            },
            "vulnerabilities": {
              "type": "array"
            },
            "vulnerability_count": {
              "type": [
                "integer",
                "number"
              ]
            },
            "weekly_downloads": {
              "type": [
                "integer",
                "number"
              ]
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}