How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

National Center for Biotechnology Information (NCBI) Virus API

#### Options to download virus genome data, including the associated sequence and metadata.These virus services allow you to get virus genome metadata as a data report or download genome and protein sequence, and metadata, as a virus data package, for virus GenBank genomes.

National Center for Biotechnology Information (NCBI) Virus API is one of 14 APIs that National Center for Biotechnology Information (NCBI) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Virus. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and rate-limit docs.

This API exposes 19 operations across 19 paths, and defines 51 schemas. It is described by OpenAPI 3.2.0, at version v2.

Requests are made against a single base URL, https://api.ncbi.nlm.nih.gov/datasets/v2.

19 operations 19 paths 51 schemas 12 GET7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v2
Base URL
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

National Center for Biotechnology Information (NCBI) Virus API declares 2 security schemes for authenticating requests. An API key is passed in the query as api_key (ApiKeyAuth). An API key is passed in the header as api-key (ApiKeyAuthHeader). By default, every request must be authenticated.

Paths & Operations 19

Across 19 paths, the API surfaces 19 operations — 12 GET, 7 POST. Each is listed below with its method, path, parameters, and response codes.

Virus 19

Options to download virus genome data, including the associated sequence and metadata. These virus services allow you to get virus genome metadata as a data report or download gen…

GET
/virus/taxon/{taxon}/genome
Get a download summary of a virus genome data package by taxon
virus_genome_summary 13 params → default200
POST
/virus/genome
Get a download summary of a virus genome data package
virus_genome_summary_by_post body → default200
GET
/virus/taxon/sars2/protein/{proteins}
Get a download summary of a SARS-CoV-2 protein data package by protein name
sars2_protein_summary 12 params → default200
POST
/virus/taxon/sars2/protein
Get a download summary of a SARS-CoV-2 protein data package by protein name
sars2_protein_summary_by_post body → default200
GET
/virus/taxon/{taxon}/genome/tabledeprecated
Get virus genome metadata in a tabular format
virus_genome_table 15 params → default200
GET
/virus/taxon/sars2/protein/{proteins}/table
Get SARS-CoV-2 protein metadata in a tabular format by protein name
sars2_protein_table 12 params → default200
GET
/virus/taxon/{taxon}/dataset_report
Get a virus data report by taxon
virus_reports_by_taxon 14 params → default200
GET
/virus/accession/{accessions}/dataset_report
Get a virus data report by nucleotide accession
virus_reports_by_acessions 14 params → default200
POST
/virus
Get a virus data report
virus_reports_by_post body → default200
GET
/virus/taxon/{taxon}/annotation_report
Get a virus annotation report by taxon
virus_annotation_reports_by_taxon 13 params → default200
GET
/virus/accession/{accessions}/annotation_report
Get a virus annotation report by nucleotide accession
virus_annotation_reports_by_acessions 13 params → default200
POST
/virus/annotation_report
Get a virus annotation report
virus_annotation_reports_by_post body → default200
GET
/virus/accession/{accessions}/check
Check the validity of a virus genome nucleotide accession
virus_accession_availability 1 param → default200
POST
/virus/check
Check the validity of a virus genome nucleotide accession
virus_accession_availability_post body → default200
GET
/virus/taxon/{taxon}/genome/download
Get a virus genome data package by taxon
virus_genome_download 14 params → default200
GET
/virus/accession/{accessions}/genome/download
Get a virus genome data package by nucleotide accession
virus_genome_download_accession 15 params → default200
POST
/virus/genome/download
Get a virus genome data package
virus_genome_download_post 1 param body → default200
GET
/virus/taxon/sars2/protein/{proteins}/download
Get a SARS-CoV-2 protein data package by protein name
sars2_protein_download 13 params → default200
POST
/virus/taxon/sars2/protein/download
Get a SARS-CoV-2 protein data package
sars2_protein_download_post 1 param body → default200

Schemas 51

The contract defines 51 schemas that model the data the API accepts and returns. The most detailed are v2reportsVirusAssembly (27 properties), v2VirusDatasetRequest (17 properties), v2Sars2ProteinDatasetRequest (14 properties), v2VirusDatasetFilter (12 properties). Each schema is shown below with its type and property counts.

v2DownloadSummaryFileSummary
object
2 properties
v2reportsMessage
object
2 properties
v2VirusDatasetReportType
string
v2DownloadSummaryHydrated
object
3 properties
v2TableFormat
string
v2reportsVirusAnnotationReport
object
3 properties
v2reportsErrorGeneErrorCode
string
v2reportsWarningGeneWarningCode
string
v2reportsVirusPeptideUniProtId
object
2 properties
v2TabularOutput
object
1 property
v2reportsVirusPeptide
object
10 properties
v2reportsVirusPeptideViralPeptideCompleteness
string
v2VirusDatasetFilter
object
12 properties
v2reportsVirusAssemblySubmitterInfo
object
3 properties
v2VirusAvailability
object
3 properties
v2reportsErrorVirusErrorCode
string
v2reportsVirusAssemblyCollectionLocation
object
3 properties
v2VirusDataReportRequestContentType
string
v2VirusAnnotationFilter
object
12 properties
v2reportsVirusAnnotationReportPage
object
3 properties
v2reportsError
object
8 properties
v2reportsInfraspecificNames
object
6 properties
v2VirusDataReportRequest
object
6 properties
v2reportsVirusAssembly
object
27 properties
v2DownloadSummary
object
8 properties
v2reportsVirusGene
object
4 properties
v2reportsSeqRangeSetFasta
object
5 properties
v2reportsLineageOrganism
object
2 properties
v2reportsVirusAssemblyCompleteness
string
protobufAny
object
2 properties
v2reportsErrorOrganelleErrorCode
string
v2VirusAnnotationReportRequest
object
5 properties
v2reportsOrientation
string
rpcStatus
object
3 properties
v2VirusAvailabilityRequest
object
1 property
v2VirusDatasetRequest
object
17 properties
v2ViralSequenceType
string
v2reportsVirusDataReportPage
object
3 properties
v2reportsPurposeOfSampling
string
v2VirusTableField
string
v2reportsErrorTaxonomyErrorCode
string
v2DownloadSummaryAvailableFiles
object
9 properties
v2reportsWarningReplacedId
object
2 properties
v2reportsOrganism
object
8 properties
v2reportsRange
object
5 properties
v2reportsIsolate
object
3 properties
v2reportsWarning
object
5 properties
v2DownloadSummaryDehydrated
object
4 properties
v2Sars2ProteinDatasetRequest
object
14 properties
v2reportsConservedDomain
object
3 properties
v2reportsErrorAssemblyErrorCode
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ncbi-virus-api-openapi.yml Raw ↑

Other APIs National Center for Biotechnology Information (NCBI) publishes across the network.

NCBI Entrez E-utilities API
NCBI BLAST URL API
PubChem PUG REST API
PMC Open Access API (OA Service)
PMC ID Converter API
PMC OAI-PMH Service
National Center for Biotechnology Information (NCBI) BioSample API
National Center for Biotechnology Information (NCBI) Gene API
National Center for Biotechnology Information (NCBI) Genome API
National Center for Biotechnology Information (NCBI) Organelle API
National Center for Biotechnology Information (NCBI) Prokaryote API
National Center for Biotechnology Information (NCBI) Taxonomy API
Where this information came from

This is an independent, third-party profile of National Center for Biotechnology Information (NCBI) Virus API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.