Editor's Note: Please check back as this article will continue to be updated as new APIs related to COVID-19 are made available.
Last December, in Wuhan, a city in China's Hubei Province, a new coronavirus disease, COVID-19, was first identified. Since that time, the World Health Organization reports that the virus has spread rapidly, infecting more than 200,000 people across more than 170 countries.
APIs can't help cure the disease but they can be used by developers to collect data about the outbreak, track its spread, and even produce data visualizations. In this article, we highlight a few APIs that let developers leverage the available data about the virus. We also included a couple of tools that use various APIs to track the outbreak.
COVID Tracking Project APITrack this API - The COVID Tracking Project is a volunteer effort, maintained through a partnership of The Atlantic and the founder of Related Sciences, that aims to be the most reliable source of state-level testing data through time. A RESTful API is available that tracks data on a state level as well as for the entire US. Additionally, a GraphQL version of the API is also available.
Coronavirus Tracker APITrack this API - The Coronavirus Tracker is a simple API for tracking the COVID-19 outbreak that comes from Norwegian developer ExpDev. Users can query the RESTful API to get data about confirmed cases, deaths and the number of recovered patients. Data sources include the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE), and the Conference of State Bank Supervisors. Community SDKs are also available in eight languages.
Covidapi.info APITrack this API - The covidapi.info API builds upon the COVID-19 dataset of John Hopkins University. The data, originally in CSV format has been standardized and converted into queryable REST API endpoints. The endpoints are heavily cached and updated three times a day with a response time of sub 100 milliseconds. This API was built by developer Saiprasad Balasubramanian and contributors.
Health Promotion Bureau COVID-19 APITrack this API - The Health Promotion Bureau (HPB) is a government agency in Sri Lanka charged with promoting health education and publicizing health information. The HPB has released an API that aims to make accurate information about COVID-19 patients, updated in real-time, available to the media. It is a RESTful API with responses formatted in JSON
Springer Open Access API - The Springer Open Access API provides metadata and full-text content for more than 649,000 online documents from Springer Nature open access, including BioMed Central and SpringerOpen journals. The API offers access to the latest available research, evidence, and data. Any COVID related content is currently free.
Coronavirus APITrack this API - The CoronaVirus REST API returns the current cases and more information about COVID-19 or the Novel Coronavirus Strain. This API is free to use and requires no authentication. The API returns JSON formatted responses. The API supports country-specific responses. Additionally, a Node.js SDKTrack this Framework/Library is available to developers.
Nubentos COVID-19 Tracking APITrack this API - This API is from the self-proclaimed API marketplace for health, and it aims to provide valuable resources for tracking the novel coronavirus. It provides developers access to data collected from global health organizations and local administrations including the World Health Organization (WHO), US Centers for Disease Control and Prevention (CDC), the Chinese Centre for Disease Control and Prevention (ECDC), China’s National Health Commission, and the Chinese Website DXY. You can read here for our coverage of the API.
Health Gorilla Diagnostic Network APITrack this API - Health Gorilla, a provider of clinical data interoperability, recently released this API to allow providers to submit orders for laboratory or radiology tests and receive the results electronically from vendors such as Labcorp, Quest Diagnostics, and Bioreference. The API can now be used to place COVID-19 test orders.
New South Wales Covid 19 Cases APITrack this API - This API, from developer Adam Lusted, provides the latest data about the coronavirus outbreak in New South Wales, Australia. Developers can use GET calls to query the number of confirmed cases, cases under investigation, cases acquired overseas, cases under investigation, and their respective reference sources.
Smartable AI COVID-19 Stats and News APITrack this API - Smartable AI is a company that uses AI to fight misinformation, curate content and put information in order. It’s free COVID-19 Stats and News API offers recent and historic COVID-19 stats and news information per country or state. This is done in close to real-time by using AI to gather information from a number of data sources. Check out ProgrammableWeb's full coverage of the API.
COVID-19 GraphQL APITrack this API - The first GraphQL API focused on the coronavirus comes from Ryan Lindskog. It enables mutable queries about COVID-19 and supports time-series data associated with deaths and cases by country. Additionally, the API returns the most recent confirmed cases per country. Data comes from the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE).
Health APITrack this API - This is a RESTful API that also leverages JHU CSSE as its data source. It returns aggregated statistics (with total confirmed cases, deaths, and recovered), and country statistics.
TheVirusTracker Coronavirus Data APITrack this API - TheVirusTracker is a real-time service that tracks the coronavirus and provides updated news and data from outlets worldwide. The API is a free to use service that offers four data options related to COVID-19: global stats, country stats, full timeline, and country timeline.
OctoparseTrack this API - Octoparse is a web scraping tool that includes an API for retrieving extracted data and using it in an application. Octoparse recently created a "recipe" that lets users extract live data from China Healthcare Department's database.
GHO OData APITrack this API - With the GHO portal, users can query the World Health Organization's data and statistics content. Data available includes various health indicators and the data associated with them, and dimensions such as education level and the data associated with them. The API uses the Open Data Protocol (OData) and supports both JSON and ATOM data formats.
ReliefWeb APITrack this API - ReliefWeb is a humanitarian information service provided by the United Nations Office for the Coordination of Humanitarian Affairs (OCHA). Content on this site including the latest reports, maps, and infographics from trusted sources, is delivered through the API. The API was used to create a daily map that tracks the outbreak among citizens of the EU.
The ReliefWeb API is used to create a daily map tracking the coronavirus outbreak. Image: OCHA
Aylien News APITrack this API - This API isn't specifically aimed at tracking the coronavirus, but it is used to monitor worldwide news outlets in real-time to provide users with a news data feed. The Aylien team created a visualization that follows the spread of news coverage since the start of the year. The team used the News API to "map and analyze media reaction to the outbreak, plotting where and when the major events and announcements occurred." The API itself returns parsed and analyzed news articles as JSON objects.
The Aylien News API was used to create a visualization showing the spread of news coverage of the virus outbreak. Source: Aylien blog
OpenCage Geocoder APITrack this API - This is another API that isn't directly related to tracking data about the Coronavirus. Instead OpenCage Geocoder provides forward and reverse geocoding services via a RESTful API. The Coronavirus Global Outbreak Monitor is a dashboard that pulls data from several sources to visualize and track the most recent reported cases on a daily basis. This dashboard uses the OpenCage Geocoder API to call the coordinates of new cases of the disease. Interested developers can learn about how the dashboard was built.
This is a sampling of the APIs being used to track various aspects of the coronavirus outbreak. Check out the ProgrammableWeb directory for other APIs in the Coronavirus, Health, Emergency, Government, Science, Mapping, and News Services categories.