OpenAny
Get API keyAPI Key
APIDeveloper

osv logo
OSV Batch Vulnerability Query API

Query OSV vulnerabilities in batches via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Osv, pass parameters such as queries, and retrieve structured data including id and modified for dependency inventory, and targeted triage, ready for production pipelines and AI agent automation using a single OpenAny API key.

Selected price
$0.005 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
2Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

OSV Batch Vulnerability Query API

Prepare your request, then continue with your agent.

Selected price

$0.005 / call

Provider
Pricing
Connect your agent
On this page

Overview

Overview
OSV Batch Vulnerability Query API

OSV Batch Vulnerability Query API

POST a JSON object containing queries to check up to 1,000 package versions or commits within the platform request-size limit. Each result corresponds to the same input position and contains compact vulnerability identifiers and modification timestamps; use the details endpoint for full advisory records.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs JSON body: queries array, at most 1,000 items; each item identifies a package/version or commit.
Selected implementation osv · OSV Batch Vulnerability Query API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Dependency inventory: Match a prepared list of package versions to compact advisory identifiers.
  • Targeted triage: Fetch detailed records only for identifiers needed by your review workflow.

Documented Response Fields

Field Meaning
results[].vulns[].id Vulnerability identifier for this query item
results[].vulns[].modified Last modification time of the matched record

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request POST \
  https://api.openany.si/v1/agent-apis/osv/v1/querybatch \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '{"queries":[{"package":{"purl":"pkg:pypi/mlflow@0.4.0"}},{"commit":"6879efc2c1596d11a6a6ad296f80063b558d5e0f"},{"package":{"ecosystem":"PyPI","name":"jinja2"},"version":"2.4.1"}]}'

Request and Response Examples

The saved examples include earlier captured responses and historical documentation references. They illustrate ordering and compact match fields; match results depend on the submitted packages and the database state.

Published OSV Batch Vulnerability Query API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body* object
queries array
queries[0]* object
The commit hash to query for. If specified, `version` should not be set.
package object
Required. The ecosystem for this package. For the complete list of valid ecosystem names, see <https://ossf.github.io/osv-schema/#affectedpackage-field>.
Required. Name of the package. Should match the name used in the package ecosystem (e.g. the npm package name). For C/C++ projects integrated in OSS-Fuzz, this is the name used for the integration.
Optional. The package URL for this package.
The package to query against. When a `commit` hash is given, this is optional. Use name AND ecosystem OR purl. Do not combine purl with name or ecosystem. OSV validates these semantic combinations.
Continuation token from the prior result. In a batch, use the token belonging to the same query item.
The version string to query for. A fuzzy match is done against upstream versions. If specified, `commit` should not be set. Do not combine top-level version with a version embedded in package.purl; OSV returns 400 for that combination.
Query format.
queries[1]* object
The commit hash to query for. If specified, `version` should not be set.
package object
The package to query against. When a `commit` hash is given, this is optional. Use name AND ecosystem OR purl. Do not combine purl with name or ecosystem. OSV validates these semantic combinations.
Continuation token from the prior result. In a batch, use the token belonging to the same query item.
The version string to query for. A fuzzy match is done against upstream versions. If specified, `commit` should not be set. Do not combine top-level version with a version embedded in package.purl; OSV returns 400 for that combination.
Query format.
queries[2]* object
The commit hash to query for. If specified, `version` should not be set.
package object
Required. The ecosystem for this package. For the complete list of valid ecosystem names, see <https://ossf.github.io/osv-schema/#affectedpackage-field>.
Required. Name of the package. Should match the name used in the package ecosystem (e.g. the npm package name). For C/C++ projects integrated in OSS-Fuzz, this is the name used for the integration.
Optional. The package URL for this package.
The package to query against. When a `commit` hash is given, this is optional. Use name AND ecosystem OR purl. Do not combine purl with name or ecosystem. OSV validates these semantic combinations.
Continuation token from the prior result. In a batch, use the token belonging to the same query item.
The version string to query for. A fuzzy match is done against upstream versions. If specified, `commit` should not be set. Do not combine top-level version with a version embedded in package.purl; OSV returns 400 for that combination.
Query format.
The queries that form this batch query. Maximum 1000 queries per the official operation summary; additionally subject to the 1 MiB platform request limit.
Batch query format.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
osvCurrent
OSV Batch Vulnerability Query API · POST · View API reference
$0.005 / call2
100.00%successP50699.5ms
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · osvUSD / call
Unit price
$0.005

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.

calls

Total $0.5

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/osv/v1/querybatch
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
queriesJSON request bodybodyarrayNo

The queries that form this batch query. Maximum 1000 queries per the official operation summary; additionally subject to the 1 MiB platform request limit.

maxItems: 1000

Nested fields and variants

body.queries[] · Array item · object

Nested fields and variants
body.queries[].commit string · Optional

Parent object: body.queries[]

The commit hash to query for. If specified, `version` should not be set.
body.queries[].package object · Optional

Parent object: body.queries[]

The package to query against. When a `commit` hash is given, this is optional. Use name AND ecosystem OR purl. Do not combine purl with name or ecosystem. OSV validates these semantic combinations.
Nested fields and variants
body.queries[].package.ecosystem string · Optional

Parent object: body.queries[].package

Required. The ecosystem for this package. For the complete list of valid ecosystem names, see https://ossf.github.io/osv-schema/#affectedpackage-field.
body.queries[].package.name string · Optional

Parent object: body.queries[].package

Required. Name of the package. Should match the name used in the package ecosystem (e.g. the npm package name). For C/C++ projects integrated in OSS-Fuzz, this is the name used for the integration.
body.queries[].package.purl string · Optional

Parent object: body.queries[].package

Optional. The package URL for this package.
body.queries[].page_token string · Optional

Parent object: body.queries[]

Continuation token from the prior result. In a batch, use the token belonging to the same query item.
body.queries[].version string · Optional

Parent object: body.queries[]

The version string to query for. A fuzzy match is done against upstream versions. If specified, `commit` should not be set. Do not combine top-level version with a version embedded in package.purl; OSV returns 400 for that combination.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • resultsobject[]
    • vulnsobject[]
      • idstring
      • modifiedstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Live OSV paired capture - 2026-11-19

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    body
    Batch query format.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/osv/v1/querybatch' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "queries": [
        {
          "package": {
            "purl": "pkg:pypi/mlflow@0.4.0"
          }
        },
        {
          "commit": "6879efc2c1596d11a6a6ad296f80063b558d5e0f"
        },
        {
          "package": {
            "ecosystem": "PyPI",
            "name": "jinja2"
          },
          "version": "2.4.1"
        }
      ]
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "results": [
        {
          "vulns": [
            {
              "id": "GHSA-3v79-q7ph-j75h",
              "modified": "2025-04-08T22:30:59.347458Z"
            },
            {
              "id": "GHSA-42h5-h8qh-vv9v",
              "modified": "2026-07-13T16:42:45.636199Z"
            },
            {
              "id": "GHSA-46r5-x6jq-v8g6",
              "modified": "2026-09-10T03:50:42.818312Z"
            },
            {
              "id": "GHSA-49m6-vrr9-2cqm",
              "modified": "2026-07-07T17:56:37.046447Z"
            },
            {
              "id": "GHSA-4qq5-mxxx-m6gg",
              "modified": "2026-11-16T15:45:09.942130Z"
            },
            {
              "id": "GHSA-4rj2-9gcx-5qhx",
              "modified": "2025-04-09T20:36:23.179705Z"
            },
            {
              "id": "GHSA-4rqf-8pfm-p36r",
              "modified": "2026-07-07T17:56:58.367078Z"
            },
            {
              "id": "GHSA-4x5p-f36r-mxxr",
              "modified": "2026-09-10T03:50:34.192729Z"
            },
            {
              "id": "GHSA-554w-xh4j-8w64",
              "modified": "2024-02-16T08:16:33.638397Z"
            },
            {
              "id": "GHSA-59v3-898r-qwhj",
              "modified": "2026-11-16T15:30:03.449377Z"
            },
            {
              "id": "GHSA-5cvj-7rg6-jggj",
              "modified": "2026-07-07T17:57:14.740631Z"
            },
            {
              "id": "GHSA-5mvj-wmgj-7q8c",
              "modified": "2026-07-07T17:57:24.849466Z"
            },
            {
              "id": "GHSA-5p3h-7fwh-92rc",
              "modified": "2026-06-29T12:26:10.661493Z"
            },
            {
              "id": "GHSA-5q6c-ffvg-xcm9",
              "modified": "2025-04-08T22:30:40.119861Z"
            },
            {
              "id": "GHSA-5qmp-p3c4-72qj",
              "modified": "2026-07-15T18:11:16.191752Z"
            },
            {
              "id": "GHSA-5r3q-93q3-f978",
              "modified": "2025-02-15T05:29:43.832780Z"
            },
            {
              "id": "GHSA-65h7-c7c4-mghx",
              "modified": "2026-07-13T07:26:23.062638Z"
            },
            {
              "id": "GHSA-6749-m5cp-6cg7",
              "modified": "2025-04-08T18:08:28.475585Z"
            },
            {
              "id": "GHSA-6xj8-rrqx-r4cv",
              "modified": "2026-07-07T17:57:16.024038Z"
            },
            {
              "id": "GHSA-75cm-x2w3-8mgf",
              "modified": "2026-07-13T07:26:15.599841Z"
            },
            {
              "id": "GHSA-7qhf-v65m-g5f3",
              "modified": "2026-11-16T15:45:09.323976Z"
            },
            {
              "id": "GHSA-83fm-w79m-64r5",
              "modified": "2024-11-28T05:40:42.701104Z"
            },
            {
              "id": "GHSA-8c7q-86fq-vvmh",
              "modified": "2026-10-06T19:00:43.189915Z"
            },
            {
              "id": "GHSA-8f8q-q2j7-7j2m",
              "modified": "2026-07-07T17:56:27.089622Z"
            },
            {
              "id": "GHSA-cxfr-5q3r-2rc2",
              "modified": "2024-11-22T18:39:52.949022Z"
            },
            {
              "id": "GHSA-f42m-mvfv-cgw5",
              "modified": "2026-07-07T17:56:52.494274Z"
            },
            {
              "id": "GHSA-f798-qm4r-23r5",
              "modified": "2026-11-16T15:45:09.332883Z"
            },
            {
              "id": "GHSA-f82r-jj5r-6g97",
              "modified": "2026-07-07T17:56:48.084074Z"
            },
            {
              "id": "GHSA-ffw3-6378-cqgp",
              "modified": "2024-11-22T18:41:19.664804Z"
            },
            {
              "id": "GHSA-fh64-r2vc-xvhr",
              "modified": "2026-09-10T03:50:44.231753Z"
            },
            {
              "id": "GHSA-fhff-qmm8-h2fp",
              "modified": "2026-09-10T03:51:00.308511Z"
            },
            {
              "id": "GHSA-fmxj-6h9g-6vw3",
              "modified": "2025-04-10T02:22:00.005648Z"
            },
            {
              "id": "GHSA-g35p-px32-whv6",
              "modified": "2026-07-13T07:26:21.561108Z"
            },
            {
              "id": "GHSA-g6pg-52vf-843h",
              "modified": "2026-09-10T03:50:39.211467Z"
            },
            {
              "id": "GHSA-gq3w-7jj3-x7gr",
              "modified": "2026-09-10T03:50:35.176412Z"
            },
            {
              "id": "GHSA-hh8p-p8mp-gqhm",
              "modified": "2026-11-16T15:45:09.319045Z"
            },
            {
              "id": "GHSA-hq88-wg7q-gp4g",
              "modified": "2025-04-08T22:31:13.263185Z"
            },
            {
              "id": "GHSA-hvc6-42vf-jhf8",
              "modified": "2026-07-07T17:57:30.009751Z"
            },
            {
              "id": "GHSA-j46q-5pxx-8vmw",
              "modified": "2025-04-08T22:41:08.208625Z"
            },
            {
              "id": "GHSA-j62r-wxqq-f3gf",
              "modified": "2026-07-07T17:56:41.515603Z"
            },
            {
              "id": "GHSA-m49c-5c52-6696",
              "modified": "2026-07-07T17:56:59.583439Z"
            },
            {
              "id": "GHSA-p4jx-q62p-x5jr",
              "modified": "2026-02-22T22:56:17.177745Z"
            },
            {
              "id": "GHSA-pgqp-8h46-6x4j",
              "modified": "2026-09-10T03:50:33.637284Z"
            },
            {
              "id": "GHSA-q2r8-vmq7-fpx2",
              "modified": "2026-09-10T03:50:59.539072Z"
            },
            {
              "id": "GHSA-q3gw-8236-5jw4",
              "modified": "2026-07-07T17:57:13.920343Z"
            },
            {
              "id": "GHSA-qg8p-32gr-gh6x",
              "modified": "2026-07-07T17:56:51.120771Z"
            },
            {
              "id": "GHSA-qpgc-w4mg-6v92",
              "modified": "2025-02-03T16:57:04.978745Z"
            },
            {
              "id": "GHSA-r23q-823p-vmf7",
              "modified": "2026-11-16T15:45:09.906654Z"
            },
            {
              "id": "GHSA-r5m9-wm49-959f",
              "modified": "2026-07-13T16:42:37.733340Z"
            },
            {
              "id": "GHSA-rvhj-8chj-8v3c",
              "modified": "2026-11-16T15:45:09.934707Z"
            },
            {
              "id": "GHSA-v945-r3rc-6fjm",
              "modified": "2025-04-09T20:35:18.560133Z"
            },
            {
              "id": "GHSA-vhcx-3pq2-4fvc",
              "modified": "2026-11-16T15:45:10.350790Z"
            },
            {
              "id": "GHSA-vqj2-4v8m-8vrq",
              "modified": "2025-02-21T05:42:14.252193Z"
            },
            {
              "id": "GHSA-vwhf-3v6x-wff8",
              "modified": "2024-04-16T19:01:12.743559Z"
            },
            {
              "id": "GHSA-w5xq-c4pf-ghq7",
              "modified": "2026-07-13T16:43:34.965176Z"
            },
            {
              "id": "GHSA-wc6j-5g83-xfm6",
              "modified": "2024-02-16T08:22:12.371365Z"
            },
            {
              "id": "GHSA-wjq3-7jxx-whj9",
              "modified": "2024-09-24T21:24:14.626565Z"
            },
            {
              "id": "GHSA-wp72-7hj9-5265",
              "modified": "2024-09-25T18:02:23.373121Z"
            },
            {
              "id": "GHSA-wqmh-qccw-pqwf",
              "modified": "2026-10-26T08:55:45.131986Z"
            },
            {
              "id": "GHSA-wqxf-447m-6f5f",
              "modified": "2026-07-07T17:56:44.314962Z"
            },
            {
              "id": "GHSA-wv8q-4f85-2p8p",
              "modified": "2026-07-07T17:57:27.441049Z"
            },
            {
              "id": "GHSA-wxj7-3fx5-pp9m",
              "modified": "2025-09-25T09:27:11.132516Z"
            },
            {
              "id": "GHSA-x422-6qhv-p29g",
              "modified": "2025-02-16T05:29:05.740881Z"
            },
            {
              "id": "GHSA-xch3-2f9x-wh9f",
              "modified": "2026-09-10T03:51:00.797853Z"
            },
            {
              "id": "GHSA-xg73-94fp-g449",
              "modified": "2026-02-22T22:56:04.142153Z"
            },
            {
              "id": "PYSEC-2022-28",
              "modified": "2023-12-06T01:01:48.937061Z"
            },
            {
              "id": "PYSEC-2023-252",
              "modified": "2026-06-10T17:02:17.222030Z"
            },
            {
              "id": "PYSEC-2023-253",
              "modified": "2026-06-10T17:02:17.286767Z"
            },
            {
              "id": "PYSEC-2023-260",
              "modified": "2026-06-10T17:02:17.395201Z"
            },
            {
              "id": "PYSEC-2023-28",
              "modified": "2026-06-10T17:02:17.449843Z"
            },
            {
              "id": "PYSEC-2023-280",
              "modified": "2026-06-10T17:02:19.924728Z"
            },
            {
              "id": "PYSEC-2023-281",
              "modified": "2026-06-10T17:02:07.582747Z"
            },
            {
              "id": "PYSEC-2023-29",
              "modified": "2026-06-10T17:02:07.547735Z"
            },
            {
              "id": "PYSEC-2023-308",
              "modified": "2026-06-10T17:02:13.807725Z"
            },
            {
              "id": "PYSEC-2023-309",
              "modified": "2026-06-10T17:02:13.883111Z"
            },
            {
              "id": "PYSEC-2023-68",
              "modified": "2026-06-10T17:02:18.760275Z"
            },
            {
              "id": "PYSEC-2023-69",
              "modified": "2026-06-10T17:02:18.734880Z"
            },
            {
              "id": "PYSEC-2023-70",
              "modified": "2026-06-10T17:02:18.747982Z"
            },
            {
              "id": "PYSEC-2024-224",
              "modified": "2026-06-10T17:02:19.287503Z"
            },
            {
              "id": "PYSEC-2024-239",
              "modified": "2026-06-10T17:01:26.015570Z"
            },
            {
              "id": "PYSEC-2024-240",
              "modified": "2026-06-10T17:01:26.418238Z"
            },
            {
              "id": "PYSEC-2024-241",
              "modified": "2026-06-10T17:01:26.483700Z"
            },
            {
              "id": "PYSEC-2024-242",
              "modified": "2026-06-10T17:01:26.516732Z"
            },
            {
              "id": "PYSEC-2024-243",
              "modified": "2026-06-10T17:01:26.574516Z"
            },
            {
              "id": "PYSEC-2024-244",
              "modified": "2026-06-10T17:02:13.819604Z"
            },
            {
              "id": "PYSEC-2024-51",
              "modified": "2026-06-10T17:01:27.427421Z"
            },
            {
              "id": "PYSEC-2025-17",
              "modified": "2026-06-10T17:00:19.264618Z"
            },
            {
              "id": "PYSEC-2025-52",
              "modified": "2026-06-10T17:02:20.265680Z"
            },
            {
              "id": "PYSEC-2026-1637",
              "modified": "2026-07-07T17:56:37.046447Z"
            },
            {
              "id": "PYSEC-2026-1638",
              "modified": "2026-07-07T17:56:58.367078Z"
            },
            {
              "id": "PYSEC-2026-1639",
              "modified": "2026-07-07T17:56:10.135090Z"
            },
            {
              "id": "PYSEC-2026-1640",
              "modified": "2026-07-07T17:57:14.740631Z"
            },
            {
              "id": "PYSEC-2026-1641",
              "modified": "2026-07-07T17:57:24.849466Z"
            },
            {
              "id": "PYSEC-2026-1642",
              "modified": "2026-07-07T17:57:16.024038Z"
            },
            {
              "id": "PYSEC-2026-1645",
              "modified": "2026-07-07T17:56:27.089622Z"
            },
            {
              "id": "PYSEC-2026-1649",
              "modified": "2026-07-07T17:56:52.494274Z"
            },
            {
              "id": "PYSEC-2026-1650",
              "modified": "2026-07-07T17:56:48.084074Z"
            },
            {
              "id": "PYSEC-2026-1652",
              "modified": "2026-07-07T17:57:30.009751Z"
            },
            {
              "id": "PYSEC-2026-1653",
              "modified": "2026-07-07T17:56:41.515603Z"
            },
            {
              "id": "PYSEC-2026-1655",
              "modified": "2026-07-07T17:56:59.583439Z"
            },
            {
              "id": "PYSEC-2026-1656",
              "modified": "2026-07-07T17:56:18.060826Z"
            },
            {
              "id": "PYSEC-2026-1658",
              "modified": "2026-07-07T17:57:13.920343Z"
            },
            {
              "id": "PYSEC-2026-1659",
              "modified": "2026-07-07T17:56:51.120771Z"
            },
            {
              "id": "PYSEC-2026-1661",
              "modified": "2026-07-07T17:56:44.314962Z"
            },
            {
              "id": "PYSEC-2026-1662",
              "modified": "2026-07-07T17:57:27.441049Z"
            },
            {
              "id": "PYSEC-2026-195",
              "modified": "2026-07-23T15:00:15.414047Z"
            },
            {
              "id": "PYSEC-2026-2219",
              "modified": "2026-07-13T16:45:08.114491Z"
            },
            {
              "id": "PYSEC-2026-2220",
              "modified": "2026-07-13T16:45:09.276740Z"
            },
            {
              "id": "PYSEC-2026-2221",
              "modified": "2026-07-13T16:45:09.381556Z"
            },
            {
              "id": "PYSEC-2026-2222",
              "modified": "2026-07-13T16:45:04.877817Z"
            },
            {
              "id": "PYSEC-2026-2654",
              "modified": "2026-07-13T16:42:45.636199Z"
            },
            {
              "id": "PYSEC-2026-2655",
              "modified": "2026-07-13T16:43:33.416174Z"
            },
            {
              "id": "PYSEC-2026-2656",
              "modified": "2026-07-13T16:43:21.433539Z"
            },
            {
              "id": "PYSEC-2026-2657",
              "modified": "2026-07-13T16:32:38.663003Z"
            },
            {
              "id": "PYSEC-2026-2658",
              "modified": "2026-07-13T16:32:38.869804Z"
            },
            {
              "id": "PYSEC-2026-2659",
              "modified": "2026-07-13T16:42:37.733340Z"
            },
            {
              "id": "PYSEC-2026-2660",
              "modified": "2026-07-13T16:43:34.965176Z"
            },
            {
              "id": "PYSEC-2026-2661",
              "modified": "2026-07-13T16:42:49.591762Z"
            },
            {
              "id": "PYSEC-2026-3687",
              "modified": "2026-08-21T08:40:32.349552Z"
            },
            {
              "id": "PYSEC-2026-415",
              "modified": "2026-07-01T20:22:58.262031Z"
            },
            {
              "id": "PYSEC-2026-416",
              "modified": "2026-07-01T20:22:58.272197Z"
            },
            {
              "id": "PYSEC-2026-417",
              "modified": "2026-07-13T16:15:28.292283Z"
            },
            {
              "id": "PYSEC-2026-419",
              "modified": "2026-07-01T20:22:58.301401Z"
            },
            {
              "id": "PYSEC-2026-420",
              "modified": "2026-07-01T20:22:58.313071Z"
            },
            {
              "id": "PYSEC-2026-421",
              "modified": "2026-07-01T20:22:58.325967Z"
            },
            {
              "id": "PYSEC-2026-422",
              "modified": "2026-07-01T20:22:58.337501Z"
            },
            {
              "id": "PYSEC-2026-423",
              "modified": "2026-07-01T20:22:58.350388Z"
            },
            {
              "id": "PYSEC-2026-424",
              "modified": "2026-07-01T20:22:58.365246Z"
            },
            {
              "id": "PYSEC-2026-425",
              "modified": "2026-07-01T20:22:58.380148Z"
            },
            {
              "id": "PYSEC-2026-93",
              "modified": "2026-06-10T17:02:20.155874Z"
            },
            {
              "id": "PYSEC-2026-94",
              "modified": "2026-06-10T17:02:20.749690Z"
            }
          ]
        },
        {
          "vulns": [
            {
              "id": "CVE-2023-25193",
              "modified": "2026-10-28T10:36:19.846827Z"
            },
            {
              "id": "CVE-2026-22693",
              "modified": "2026-10-28T10:50:39.491760Z"
            },
            {
              "id": "OSV-2020-484",
              "modified": "2022-04-13T03:04:32.842142Z"
            }
          ]
        },
        {
          "vulns": [
            {
              "id": "GHSA-462w-v97r-4m45",
              "modified": "2024-09-24T21:03:59.802687Z"
            },
            {
              "id": "GHSA-8r7q-cvjq-x353",
              "modified": "2024-09-24T18:48:44.375484Z"
            },
            {
              "id": "GHSA-cpwx-vrp4-4pq7",
              "modified": "2026-11-18T00:45:13.756181Z"
            },
            {
              "id": "GHSA-fqh9-2qgg-h84h",
              "modified": "2024-09-23T20:03:14.751414Z"
            },
            {
              "id": "GHSA-g3rq-g295-4j3m",
              "modified": "2025-02-14T05:26:14.565160Z"
            },
            {
              "id": "GHSA-h5c8-rqwp-cp95",
              "modified": "2026-09-10T03:50:00.236017Z"
            },
            {
              "id": "GHSA-h75v-3vvj-5mfj",
              "modified": "2026-09-10T03:50:13.786450Z"
            },
            {
              "id": "GHSA-hj2j-77xm-mc5v",
              "modified": "2024-09-24T21:04:16.963502Z"
            },
            {
              "id": "GHSA-q2x7-8rv6-6q7h",
              "modified": "2026-09-10T03:50:21.662855Z"
            },
            {
              "id": "PYSEC-2014-8",
              "modified": "2023-11-08T03:57:34.512953Z"
            },
            {
              "id": "PYSEC-2014-82",
              "modified": "2026-06-10T17:01:55.953302Z"
            },
            {
              "id": "PYSEC-2019-217",
              "modified": "2023-11-08T04:00:58.644982Z"
            },
            {
              "id": "PYSEC-2019-220",
              "modified": "2023-11-08T03:58:21.453618Z"
            },
            {
              "id": "PYSEC-2021-66",
              "modified": "2023-11-08T04:03:28.543308Z"
            },
            {
              "id": "PYSEC-2026-1471",
              "modified": "2026-07-07T17:46:43.358335Z"
            },
            {
              "id": "PYSEC-2026-1473",
              "modified": "2026-07-07T17:46:13.853151Z"
            },
            {
              "id": "PYSEC-2026-1474",
              "modified": "2026-07-07T17:46:13.832160Z"
            },
            {
              "id": "PYSEC-2026-1475",
              "modified": "2026-07-07T17:46:13.842466Z"
            }
          ]
        }
      ]
    }

Common questions

Does the batch return full vulnerability descriptions?

No. Batch matches contain id and modified. Retrieve each required record with the OSV Vulnerability Details API.

How many queries can I send?

The queries array accepts at most 1,000 entries and remains subject to the platform 1 MiB request limit; keep the serialized payload within both limits.

Can I combine a versioned PURL and version?

No. Use a versioned package.purl on its own, or an unversioned PURL with a top-level version. Do not combine purl with package name or ecosystem, or commit with version.

How do I continue a paginated batch item?

Use that result item’s next_page_token as page_token in the same query item. Continue only the items with more results, retaining their original package or commit identities.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

Use OSV Batch Vulnerability Query API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.