COVID Tracking Project API
Covid-19 data for the US
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Covid-19 data for the US
Endpoints 11
US Current and Historical Data
- GETHistoric US values
/v1/us/daily.:formatAll COVID data for the US. - GETCurrent US values
/v1/us/current.:formatThe most recent COVID data for the US. The most recent data may not be from today. - GETUS historic values for a date
/v1/us/:date.:formatAll COVID data for the US on a specific date.
States Current and Historical Data
- GETState metadata
/v1/states/info.:formatBasic information about states, including notes about our methodology and the websites we use to check for data. - GETMetadata about a specific state
/v1/states/:state/info.:formatMetadata about a specific state - GETHistoric values for all states
/v1/states/daily.:formatLists all COVID data available for every state since tracking started. - GETCurrent values for all states
/v1/states/current.:formatThe most recent COVID data for every state. The current value may be different than today. - GETCurrent values for a single state
/v1/states/:state/current.:formatThe most recent COVID data for a single state. The current value may be different than today. Use lower-case state codes in the URL. - GETHistoric values for a single state
/v1/states/:state/daily.:formatAll COVID data for a single state. Use lower-case state codes in the URL. - GETValues for a single state on a specific date
/v1/states/:state/:date.:formatAll COVID values for a single state on a specific date. Use lower-case state codes in the URL.
Status
- GETAPI status
/v1/status.:format
API details
- Base URL
https://api.covidtracking.com- Authentication
- None declared in the description
- Operations
- 11 operations on 11 pathsGET 11
- Main resources
- States Current and Historical Data 7US Current and Historical Data 3Status 1
- Response formats
application/jsontext/csv- Description format
- OpenAPI 3.0.0, API version
1.0 - Links
- OpenAPI document
How to test the COVID Tracking Project API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the COVID Tracking Project API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Historic US values” (GET /v1/us/daily.:format), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the COVID Tracking Project API?
Covid-19 data for the US It is listed under Data & analytics and has 11 endpoints.
Who publishes the COVID Tracking Project API?
It is listed from Covidtracking's public API description (an OpenAPI document), not published by Covidtracking on Swastik Codes. Anyone who controls covidtracking.com can claim the profile by adding a DNS TXT record.
What is the base URL of the COVID Tracking Project API?
Requests go to https://api.covidtracking.com. Endpoint paths are added to this base URL.
How do I authenticate with the COVID Tracking Project API?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the COVID Tracking Project API have?
11 operations on 11 paths (11 GET). The largest groups are States Current and Historical Data, US Current and Historical Data, Status.
Is forking the COVID Tracking Project API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.