Get virus genome metadata in a tabular format
Changed onGet virus genome metadata in tabular format for virus genomes by taxon.
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 fields to include in the tabular report
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.
Choose download format (tsv, csv or jsonl)
Output file name.
Response
A successful response
Changes
- info
added the new optional
queryrequest parameterfilename - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
removed the enum value
BIOSAMPLEfrom the propertyitems/of thequeryrequest parameterinclude_sequence - info
endpoint deprecated
- breaking