Gene

Get a gene data package

Changed on

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

post/gene/download

Request

  • Base URL
    https://api.ncbi.nlm.nih.gov/datasets/v2
  • Auth
    API key in header api-key

Query parameters

filenamestring

Output file name.

Request body

gene_idsinteger[]
include_annotation_typeV2Fasta[]
returned_content'COMPLETE' | 'IDS_ONLY'
fasta_filterstring[]
accession_filterstring[]
aux_reportV2GeneDatasetRequestGeneDatasetReportType[]
tabular_reportsV2GeneDatasetRequestGeneDatasetReportType[]
table_fieldsstring[]
table_report_type'DATASET_REPORT' | 'PRODUCT_REPORT'

Response

A successful response

Changes

    • info

      the request property default value DATASET_REPORT was added

    • info

      the request property default value DATASET_REPORT was added

    • info

      the request property default value FASTA_UNSPECIFIED was added

    • info

      the request property default value COMPLETE was added

    • info

      the request property default value DATASET_REPORT was added

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the request property default value DATASET_REPORT was removed

    • info

      the request property default value FASTA_UNSPECIFIED was removed

    • info

      the request property default value COMPLETE was removed

    • info

      the request property default value DATASET_REPORT was removed