# Osv

3 endpoints on Osv. Every one returns the same response shape and has a flat, published price in credits.

Category: [Developer platforms](https://onekey.dev/docs/categories/developer.md) · [Overview page](https://onekey.dev/platforms/osv)

## Endpoints

| Endpoint | What it does | Cost | Status |
| --- | --- | --- | --- |
| [`query`](https://onekey.dev/docs/api/osv/query.md) | All known vulnerabilities for a package (OSV.dev). | 5 credits | stable |
| [`query_version`](https://onekey.dev/docs/api/osv/query_version.md) | Vulnerabilities affecting one exact package version (OSV.dev). | 5 credits | stable |
| [`vulnerability`](https://onekey.dev/docs/api/osv/vulnerability.md) | One vulnerability record by id (OSV.dev). | 1 credit | stable |

Every endpoint page has a **Field mapping** section showing which source field becomes which [unified field](https://onekey.dev/docs/schema.md) (fixed schema) or platform-specific `ext.` field.
