---
title: "Get a virus genome data package"
method: POST
path: "/virus/genome/download"
tags: ["Virus"]
---

# Get a virus genome data package

`POST /virus/genome/download`

Download a virus genome data package including sequence, annotation, BioSample data and a detailed data report by nucleotide accession.

## Query parameters

- `filename` string

## Request body

- V2VirusDatasetRequest
  - `accessions` string[]
  - `taxon` string
  - `taxons` string[]
  - `refseq_only` boolean
  - `annotated_only` boolean
  - `released_since` string, date-time
  - `updated_since` string, date-time
  - `host` string
  - `pangolin_classification` string
  - `geo_location` string
  - `usa_state` string
  - `complete_only` boolean
  - `table_fields` V2VirusTableField[]
  - `include_sequence` V2ViralSequenceType[]
  - `aux_report` V2VirusDatasetReportType[]
  - `format` 'tsv' | 'csv' | 'jsonl'
  - `use_psg` boolean

## Response `200`

A successful response

## 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)
