Covid19 Api

COVID-19 data API

COVID-19 data API endpoints from Covid19 Api

Data & analytics#openapi#open-data

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 API endpoints from Covid19 Api

Endpoints 9

Country

  • GETgetLatestCountryDataByName/country?name=string&format=jsonGet latest data for specific country. Country name and format are in parametars.
  • GETgetLatestAllCountries/country/all?format=jsonGet latest data from all countries.
  • GETgetLatestCountryDataByCode/country/code?code=string&format=jsonGet latest data for specific country. Country code and format are in parametars. Country code is in ISO 3166-1 standard. It can be 2 chars (Alpha-2) or 3…
  • GETgetDailyReportAllCountries/report/country/all?date=string&date-format=YYYY-MM-DD&format=jsonGet daily report for all countries. Date is mandatory parametar. Date format is by ISO 8601 standard, but you can provide different format with date-format…
  • GETgetDailyReportByCountryCode/report/country/code?code=string&date=string&date-format=YYYY-MM-DD&format=jsonGet daily report for specific country. Country code and date are mandatory in parametars. Country code is in ISO 3166-1 standard. It can be 2 chars (Alpha-2)…
  • GETgetDailyReportByCountryName/report/country/name?name=string&date=string&date-format=YYYY-MM-DD&format=jsonGet daily report for specific country. Country name and date are mandatory in parametars. Date format is by ISO 8601 standard, but you can provide different…

Help

  • GETgetListOfCountries/help/countries?format=jsonGet name name, alpha-2, alpha-3 code, latitude and longitude for every country.

Totals

  • GETgetDailyReportTotals/report/totals?date=string&date-format=YYYY-MM-DD&format=jsonGet daily report data for whole world.
  • GETgetLatestTotals/totals?format=jsonGet latest data for whole world.

API details

Authentication
None declared in the description
Operations
9 operations on 9 pathsGET 9
Main resources
Country 6Totals 2Help 1
Response formats
application/json application/xml
Description format
OpenAPI 3.0.2, API version 1.2.6
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the COVID-19 data API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the COVID-19 data API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “getLatestCountryDataByName” (GET /country?name=string&format=json), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the COVID-19 data API?

COVID-19 data API endpoints from Covid19 Api It is listed under Data & analytics and has 9 endpoints.

Who publishes the COVID-19 data API?

It is listed from Covid19 Api's public API description (an OpenAPI document), not published by Covid19 Api on Swastik Codes. Anyone who controls covid19-api.com can claim the profile by adding a DNS TXT record.

How do I authenticate with the COVID-19 data 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-19 data API have?

9 operations on 9 paths (9 GET). The largest groups are Country, Totals, Help.

Is forking the COVID-19 data API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.