---
title: "Get a gene data package"
method: POST
path: "/gene/download"
tags: ["Gene"]
---

# Get a gene data package

`POST /gene/download`

Download a gene data package including sequence, annotation and data reports, as a compressed zip archive.

## Query parameters

- `filename` string

## Request body

- V2GeneDatasetRequest
  - `gene_ids` integer[]
  - `include_annotation_type` V2Fasta[]
  - `returned_content` 'COMPLETE' | 'IDS_ONLY'
  - `fasta_filter` string[]
  - `accession_filter` string[]
  - `aux_report` V2GeneDatasetRequestGeneDatasetReportType[]
  - `tabular_reports` V2GeneDatasetRequestGeneDatasetReportType[]
  - `table_fields` string[]
  - `table_report_type` 'DATASET_REPORT' | 'PRODUCT_REPORT'

## 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/c6fcf8559d4a/schema)
