---
title: "CVE Lookup (x402)"
method: GET
path: "/x402/v2/cve-lookup"
tags: ["x402"]
---

# CVE Lookup (x402)

`GET /x402/v2/cve-lookup`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/cve-lookup`
- Auth: none required

Look up known vulnerabilities for a package+version via OSV API. Supports npm, PyPI, Maven, Go, Cargo, NuGet. Returns CVEs with severity and fix versions.

## Query parameters

- `version` string, required
- `ecosystem` string: npm/pypi/maven/go/cargo/nuget
- `package_name` string, required

## Response `200`

Success

- object
  - `recommendation` string
  - `vulnerabilities` unknown[]
    - unknown
  - `highest_severity` string
  - `total_vulnerabilities` integer

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
