OpenAny
Get API keyAPI Key
APIDeveloper

osv logo
OSV Vulnerability Details API

Retrieve OSV vulnerability details by exact ID via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Osv, configure supported query parameters and filters, and retrieve structured data including indexed vulnerability identifier, short advisory summary, detailed advisory text, affected package name, and events for advisory detail panels, and patch review.

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 Vulnerability Details 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 Vulnerability Details API

OSV Vulnerability Details API

Pass an exact, case-sensitive indexed vulnerability ID in the URL path. The returned record describes the advisory and affected package ranges, with publication and modification times; optional severity or alias information varies between records.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs path: id
Selected implementation osv · OSV Vulnerability Details API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Advisory detail panels: Show matched package ranges and reference links beside an advisory ID.
  • Patch review: Inspect the reported boundary events when evaluating affected releases.

Documented Response Fields

Field Meaning
id Indexed vulnerability identifier
summary Short advisory summary
details Detailed advisory text
affected[].package.name Affected package name
affected[].ranges[].events[] Introduced and fixed boundary events when supplied
references[].url Advisory or report reference URL
modified Record modification timestamp

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 GET --get \
  https://api.openany.si/v1/agent-apis/osv/v1/vulns/OSV-2020-111 \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H 'Content-Type: application/json'

Request and Response Examples

The saved references include earlier OSV captures and historical documentation responses. A record can change as its advisory is updated; read the returned modified timestamp and affected ranges.

Published OSV Vulnerability Details 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
Exact case-sensitive identifier of an indexed vulnerability record, e.g. OSV-2020-111. An alias does not guarantee a standalone record.

Sample response

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

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
osvCurrent
OSV Vulnerability Details API · GET · View API reference
$0.005 / call2
100.00%successP50303ms
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
GET
Endpoint
https://api.openany.si/v1/agent-apis/osv/v1/vulns/{id}
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
idURL path parameterspathstringYes

Exact case-sensitive identifier of an indexed vulnerability record, e.g. OSV-2020-111. An alias does not guarantee a standalone record.

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

Response structure

Inferred from examples
  • affectedobject[]
    • database_specificobject
      • sourcestring
    • ecosystem_specificobject
      • severitystring
    • packageobject
      • ecosystemstring
      • namestring
      • purlstring
    • rangesobject[]
      • eventsobject[]
        • introducedstring
        • fixedstring
      • repostring
      • typestring
    • versionsstring[]
  • detailsstring
  • idstring
  • modifiedstring
  • publishedstring
  • referencesobject[]
    • typestring
    • urlstring
  • schema_versionstring
  • summarystring
  • aliasesstring[]
  • database_specificobject
    • cwe_idsstring[]
    • github_reviewedboolean
    • github_reviewed_atstring
    • nvd_published_atstring
    • severitystring
  • severityobject[]
    • scorestring
    • typestring

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.

    id
    Exact case-sensitive identifier of an indexed vulnerability record, e.g. OSV-2020-111. An alias does not guarantee a standalone record.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/osv/v1/vulns/OSV-2020-111' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "affected": [
        {
          "database_specific": {
            "source": "https://github.com/google/oss-fuzz-vulns/blob/main/vulns/poppler/OSV-2020-111.yaml"
          },
          "ecosystem_specific": {
            "severity": "HIGH"
          },
          "package": {
            "ecosystem": "OSS-Fuzz",
            "name": "poppler",
            "purl": "pkg:generic/poppler"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "e4badf4d745b8e8f9a0a25b6c3cc97fbadbbb499"
                },
                {
                  "fixed": "155f73bdd261622323491df4aebb840cde8bfee1"
                }
              ],
              "repo": "https://anongit.freedesktop.org/git/poppler/poppler.git",
              "type": "GIT"
            }
          ]
        }
      ],
      "details": "OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21604\n\n```\nCrash type: Heap-use-after-free WRITE 4\nCrash state:\nint std::__1::__cxx_atomic_fetch_sub<int>\nstd::__1::__atomic_base<int, true>::operator--\nObject::free\n```\n",
      "id": "OSV-2020-111",
      "modified": "2022-04-13T03:04:37.331327Z",
      "published": "2020-06-24T01:51:14.570467Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21604"
        }
      ],
      "schema_version": "1.7.3",
      "summary": "Heap-use-after-free in int std::__1::__cxx_atomic_fetch_sub<int>"
    }

Common questions

Can I use any CVE or GHSA alias as the ID?

An alias does not guarantee a standalone indexed record. Use an exact ID returned by an OSV query, including its original case.

Are introduced and fixed values always version numbers?

No. Interpret events with their range type; GIT ranges can contain commit hashes rather than release versions.

Does every record include the same severity fields?

No. Preserve optional or absent severity information and inspect the affected package and ecosystem-specific data returned for the record.

What does modified mean?

It is the database record’s modification timestamp. It is separate from published and does not by itself state when a package became vulnerable.

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 Vulnerability Details API with your agent

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