---
title: "OSV-compatible query by package"
method: POST
path: "/v1/query"
tags: ["vulnerabilities"]
---

# OSV-compatible query by package

`POST /v1/query`

## Request

- Base URL: `https://vdb.ai.kr` (the document declares no server; this is the origin it was published from)
- URL: `https://vdb.ai.kr/v1/query`
- Auth: none declared

OSV.dev `/v1/query` compatible. Requires `package.purl`, or `package.ecosystem` + `package.name`.

## Request body

- QueryRequest
  - `package` Package, required
    - `ecosystem` string, nullable
    - `name` string, nullable
    - `purl` string, nullable
  - `version` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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