GET /virus/accession/{accessions}/annotation_report
Operation ID: virus_annotation_reports_by_acessions
Auth: unknown
Description
Get a virus annotation report by nucleotide accesion. By default, in paged JSON format, but also available in tabular (accept: text/tab-separated-values) or JSON Lines (accept: application/x-ndjson) formats.
Parameters (13)
(array, path, required)
One or more nucleotide sequence accessions
(boolean, query, optional, default: False)
If true, limit to annotated genomes.
(boolean, query, optional, default: False)
Limit to genomes designated as complete, as defined by the submitter.
(string, query, optional)
Limit to genomes collected from the specififed geographic location.
(string, query, optional)
Limit to genomes isolated from the specified host species (NCBI Taxonomy ID, common or scientific name).
(string, query, optional)
Limit to SARS-CoV-2 genomes from the specified Pango lineage.
(boolean, query, optional, default: False)
If true, limit to RefSeq genomes.
(string, query, optional)
(string, query, optional)
(string, query, optional)
Limit to genomes collected from the specified U.S. state (two-letter abbreviation).
(integer, query, optional, default: 20)
The maximum number of virus data reports 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.
(string, query, optional)
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.
(array, query, optional)
Specify which fields to include in the tabular report. Additional fields are described here: [virus annotation report fields](https://www.ncbi.nlm.nih.gov/datasets/docs/v2/command-line-tools/using-dataformat/virus-data-reports/#virus-annotation-report-fields). Use of this parameter requires the HTTP header, `accept: text/tab-separated-values`.
Examples (1)
| Title | Type | URL | Action |
|---|---|---|---|
| Get a virus annotation report by nucleotide accession | openapi-spec |
https://api.ncbi.nlm.nih.gov/datasets/v2/virus/accession/NC_038294.1/annotation_report?filter.refseq_only=True&filter.annotated_only=True&filter.released_since=2025-01-15&filter.updated_since=2025-01-15&filter.host=9606&filter.pangolin_classification=LP.8.1&filter.geo_location=USA&filter.usa_state=CA&filter.complete_only=True&table_fields=['accession', 'gene-cds-name', 'gene-cds-nuc-fasta-range-start', 'gene-cds-nuc-fasta-range-stop'] |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 09:09:18.576700 | 500 | 15471ms |