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
OSV Vulnerability Details API
Prepare your request, then continue with your agent.
Selected price
$0.005 / call
- Provider
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
osvCurrent OSV Vulnerability Details API · GET · View API reference | $0.005 / call | 2 | 100.00%successP50303ms |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
id | URL path parameterspath | string | Yes | 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
affectedobject[]database_specificobjectsourcestring
ecosystem_specificobjectseveritystring
packageobjectecosystemstringnamestringpurlstring
rangesobject[]eventsobject[]introducedstringfixedstring
repostringtypestring
versionsstring[]
detailsstringidstringmodifiedstringpublishedstringreferencesobject[]typestringurlstring
schema_versionstringsummarystringaliasesstring[]database_specificobjectcwe_idsstring[]github_reviewedbooleangithub_reviewed_atstringnvd_published_atstringseveritystring
severityobject[]scorestringtypestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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'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>" }