Get a download summary of a virus genome data package by taxon
Changed onGet a download summary of a virus genome data package, including counts and file sizes, in JSON format.
Request
- Base URLhttps://api.ncbi.nlm.nih.gov/datasets/v2
- AuthAPI key in header api-key
Path parameters
NCBI Taxonomy ID or name (common or scientific) at any taxonomic rank
Query parameters
One or more nucleotide sequence accessions
If true, limit results to RefSeq genomes.
If true, limit results to annotated genomes.
Limit to genomes isolated from the specified host species (NCBI Taxonomy ID, common or scientific name).
Limit to SARS-CoV-2 genomes from the specified Pango lineage.
Limit to genomes collected from the specified geographic location.
Limit to genomes collected from the specified U.S. state (two-letter abbreviation).
Limit to genomes designated as complete, as defined by the submitter.
Specify which sequence files to include in the data package.
Specify which report files to include in the data package. The virus data report is always included, and its inclusion is not affected by this parameter.
Response
A successful response
Changes
- breaking
removed the enum value
BIOSAMPLEfrom the propertyitems/of thequeryrequest parameterinclude_sequence - info
added the optional property
//to the response with the status - info
added the optional property
///to the response with the status
- breaking
- info
the
response's property default valueUNKNOWN_ASSEMBLY_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_ASSEMBLY_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_GENE_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_GENE_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_GENE_WARNING_CODEwas added for the status - info
the
response's property default valueUNKNOWN_ORGANELLE_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_ORGANELLE_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_TAXONOMY_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_TAXONOMY_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_VIRUS_ERROR_CODEwas added for the status - info
the
response's property default valueUNKNOWN_VIRUS_ERROR_CODEwas added for the status
- info