---
title: "Check the validity of a virus genome nucleotide accession"
method: POST
path: "/virus/check"
tags: ["Virus"]
---

# Check the validity of a virus genome nucleotide accession

`POST /virus/check`

Check the validity of a virus genome nucleotide accession. Output in JSON format.

## Request body

- V2VirusAvailabilityRequest
  - `accessions` string[]

## Response `200`

A successful response

- V2VirusAvailability
  - `valid_accessions` string[]
  - `invalid_accessions` string[]
  - `message` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/ncats/apis/ncbi-datasets-api.md) · [All operations](https://skmtc.net/ncats/apis/ncbi-datasets-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ncats/ncbi-datasets-api/revisions/e5d4400c8e5d/schema)
