GET /gene/id/{gene_ids}/download

nih.gov:ncbi-datasets-api

Summary: Get a gene data package by GeneID
Operation ID: download_gene_package
Auth: unknown
Description

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

Parameters (6)

accession_filter (array, query, optional)

Limit the contents of the sequence files and tabular product report to the specified RNA and protein accessions

aux_report (array, query, optional)

Specify additional report files to include in the data package. The gene data report is always included, and its inclusion is not affected by this parameter.

filename (string, query, optional, default: ncbi_dataset.zip)

Output file name.

gene_ids (array, path, required)

One or more NCBI GeneIDs

include_annotation_type (array, query, optional)

Specify which sequence files to include in the data package.

tabular_reports (array, query, optional)

Specify which tabular report files to include in the data package.

Examples (1)

TitleTypeURLAction
Get a gene data package by GeneID openapi-spec https://api.ncbi.nlm.nih.gov/datasets/v2/gene/id/59067/download?include_annotation_type=['FASTA_RNA', 'FASTA_PROTEIN']&accession_filter=NM_021803.4&aux_report=PRODUCT_REPORT&tabular_reports=['DATASET_REPORT', 'PRODUCT_REPORT']

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:40:21.862233 400 339ms