Use taxonomic identifiers to get taxonomic metadata
Changed onUsing NCBI Taxonomy IDs or names (common or scientific) at any rank, get metadata about a taxonomic node including taxonomic identifiers, lineage information, child nodes, and gene and genome counts in JSON format.
Request
- Base URLhttps://api.ncbi.nlm.nih.gov/datasets/v2
- AuthAPI key in header api-key
Path parameters
Query parameters
Return complete taxonomy reports, Taxonomy IDs only, or reports without assembly and gene counts (metadata).
The maximum number of taxons to return. Default is 20 and maximum is 1000. If the number of results exceeds the page size, page_token can be used to retrieve the remaining results.
Specify when to include the table header when requesting a tabular report.
A page token is returned when the results count exceeds page size. Use this token along with previous request parameters to retrieve the next page of results. When page_token is empty, all results have been retrieved.
Specify a predefined set of fields for the tabular report using built-in templates. Use of this parameter requires the HTTP header, accept: text/tab-separated-values.
If true, return results for child taxa.
Limit results to taxa of the specified ranks.
Response
A successful response
Changes
- info
endpoint deprecated
- info
added the optional property
///to the response with the status - info
added the optional property
////to the response with the status
- info
- breaking
for the
queryrequest parameterinclude_tabular_header, default valueINCLUDE_TABULAR_HEADER_FIRST_PAGE_ONLYwas added - breaking
for the
queryrequest parameterreturned_content, default valueCOMPLETEwas added - breaking
for the
queryrequest parametertable_format, default valueSUMMARYwas added - 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_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 valueNO_RANKwas 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 valueCOUNT_TYPE_UNSPECIFIEDwas 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
- breaking