disease.sh COVID-19: Worldometers API

(COVID-19 data sourced from Worldometers, updated every 10 minutes)

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v3/covid-19/all Get global COVID-19 totals · Get global COVID-19 totals for today, yesterday and two days ago #
Ask an LLM
“What are the world's total COVID-19 cases, deaths and recoveries today?”
“Can I get yesterday's global totals instead of today's?”
Tell an agent
Get global COVID-19 totals.
Show global totals as they were yesterday.
GET /v3/covid-19/states Get US state COVID-19 totals · Get COVID-19 totals for all US States #
Ask an LLM
“How many cases and deaths does each US state have?”
“Can I sort US states by today's cases?”
Tell an agent
Get COVID-19 totals for all US states.
List US states sorted by {sort}.
GET /v3/covid-19/states/{states} Get COVID-19 totals for US states · Get COVID-19 totals for specific US State(s) #
Ask an LLM
“What are the case totals for California and Texas?”
“Can I look up several US states at once?”
Tell an agent
Get COVID-19 totals for {states}.
Show {states} case totals as they were yesterday.
GET /v3/covid-19/continents Get continent COVID-19 totals · Get COVID-19 totals for all continents #
Ask an LLM
“How are the continents doing with COVID-19 cases and deaths?”
“Can I sort continents by today's cases?”
Tell an agent
Get COVID-19 totals for all continents.
List continents sorted by {sort}.
GET /v3/covid-19/continents/{continent} Get COVID-19 totals for one continent · Get COVID-19 totals for a specific continent #
Ask an LLM
“How are cases and deaths in Europe today compared with yesterday?”
“Can I get a single continent's numbers as reported two days ago?”
Tell an agent
Pull the latest COVID-19 numbers for the continent {continent}.
Fetch the figures for the continent {continent} as reported a day ago.
GET /v3/covid-19/countries Get country COVID-19 totals · Get COVID-19 totals for all countries #
Ask an LLM
“What are the world's country totals for cases and deaths?”
“Can I sort countries by today's cases?”
Tell an agent
Get COVID-19 totals for all countries.
List countries sorted by {sort}.
GET /v3/covid-19/countries/{country} Get COVID-19 totals for one country · Get COVID-19 totals for a specific country #
Ask an LLM
“What are the latest COVID-19 cases and deaths for France?”
“Can I query a single country by its ISO code instead of its name?”
Tell an agent
Pull the latest COVID-19 numbers for the country {country}.
Fetch the single-country figures for {country} as reported yesterday.
GET /v3/covid-19/countries/{countries} Compare COVID-19 totals for a list of countries · Get COVID-19 totals for a specific set of countries #
Ask an LLM
“How do I compare COVID-19 figures across a comma-separated list of countries in one call?”
“Can I pull yesterday's numbers for a handful of countries at once?”
Tell an agent
Compare COVID-19 figures for the countries {countries} in one request.
Fetch the multi-country figures for {countries} as they were two days ago.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/disease-sh:disease-sh-covid-19-worldometers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

disease-sh-covid-19-worldometers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 3.0.0
  title: disease.sh Docs - An open API for disease-related…
  description: Third Party API for reliable global disease information
  license:
    name: GNU V3
    url: https://github.com/disease-sh/API/blob/master/LICENSE
host: disease.sh
basePath: /
schemes:
- https
- http
consumes:
- application/json
produces:
- application/json
tags:
- name: 'COVID-19: Worldometers'
  description: (COVID-19 data sourced from Worldometers, updated every 10 minutes)
paths:
  /v3/covid-19/all:
    get:
      tags:
      - 'COVID-19: Worldometers'
      parameters:
      - name: yesterday
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported a day ago
        type: string
      - name: twoDaysAgo
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported two days ago
        type: string
      - name: allowNull
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: By default, if a value is missing, it is returned as 0. This allows nulls to be returned
        type: string
      summary: Get global COVID-19 totals for today, yesterday and two days ago
      responses:
        '200':
          description: Status OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/covidAll'
      operationId: getV3Covid19All
      x-operation-id-source: derived
  /v3/covid-19/states:
    get:
      tags:
      - 'COVID-19: Worldometers'
      parameters:
      - name: sort
        in: query
        enum:
        - cases
        - todayCases
        - deaths
        - todayDeaths
        - active
        description: Provided a key (e.g. cases, todayCases, deaths, active), result will be sorted from greatest to least
        type: string
      - name: yesterday
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported a day ago
        type: string
      - name: allowNull
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: By default, if a value is missing, it is returned as 0. This allows nulls to be returned
        type: string
      summary: Get COVID-19 totals for all US States
      responses:
        '200':
          description: Status OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/covidStates'
      operationId: getV3Covid19States
      x-operation-id-source: derived
  /v3/covid-19/states/{states}:
    get:
      tags:
      - 'COVID-19: Worldometers'
      parameters:
      - name: states
        in: path
        required: true
        description: State name or comma separated names spelled correctly
        type: string
      - name: yesterday
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported a day ago
        type: string
      - name: allowNull
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: By default, if a value is missing, it is returned as 0. This allows nulls to be returned
        type: string
      summary: Get COVID-19 totals for specific US State(s)
      responses:
        '200':
          description: Status OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/covidState'
      operationId: getV3Covid19StatesByStates
      x-operation-id-source: derived
  /v3/covid-19/continents:
    get:
      tags:
      - 'COVID-19: Worldometers'
      parameters:
      - name: yesterday
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported a day ago
        type: string
      - name: twoDaysAgo
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported two days ago
        type: string
      - name: sort
        in: query
        enum:
        - cases
        - todayCases
        - deaths
        - todayDeaths
        - recovered
        - active
        - critical
        - casesPerOneMillion
        - deathsPerOneMillion
        description: Provided a key (e.g. cases, todayCases, deaths, recovered, active), results will be sorted from greatest to least
        type: string
      - name: allowNull
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: By default, if a value is missing, it is returned as 0. This allows nulls to be returned
        type: string
      summary: Get COVID-19 totals for all continents
      responses:
        '200':
          description: Status OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/covidContinents'
      operationId: getV3Covid19Continents
      x-operation-id-source: derived
  /v3/covid-19/continents/{continent}:
    get:
      tags:
      - 'COVID-19: Worldometers'
      parameters:
      - name: continent
        in: path
        required: true
        description: Continent name
        type: string
      - name: yesterday
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported a day ago
        type: string
      - name: twoDaysAgo
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported two days ago
        type: string
      - name: strict
        in: query
        enum:
        - 'true'
        - 'false'
        default: 'true'
        description: Setting to false gives you the ability to fuzzy search continents (i.e. Oman vs. rOMANia)
        type: string
      - name: allowNull
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: By default, if a value is missing, it is returned as 0. This allows nulls to be returned
        type: string
      summary: Get COVID-19 totals for a specific continent
      responses:
        '200':
          description: Status OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/covidContinent'
      operationId: getV3Covid19ContinentsByContinent
      x-operation-id-source: derived
  /v3/covid-19/countries:
    get:
      tags:
      - 'COVID-19: Worldometers'
      parameters:
      - name: yesterday
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported a day ago
        type: string
      - name: twoDaysAgo
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported two days ago
        type: string
      - name: sort
        in: query
        enum:
        - cases
        - todayCases
        - deaths
        - todayDeaths
        - recovered
        - active
        - critical
        - casesPerOneMillion
        - deathsPerOneMillion
        description: Provided a key (e.g. cases, todayCases, deaths, recovered, active), the result will be sorted from greatest to least
        type: string
      - name: allowNull
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: By default, if a value is missing, it is returned as 0. This allows nulls to be returned
        type: string
      summary: Get COVID-19 totals for all countries
      responses:
        '200':
          description: Status OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/covidCountries'
      operationId: getV3Covid19Countries
      x-operation-id-source: derived
  /v3/covid-19/countries/{country}:
    get:
      tags:
      - 'COVID-19: Worldometers'
      parameters:
      - name: country
        in: path
        required: true
        description: A country name, iso2, iso3, or country ID code
        type: string
      - name: yesterday
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported a day ago
        type: string
      - name: twoDaysAgo
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported two days ago
        type: string
      - name: strict
        in: query
        enum:
        - 'true'
        - 'false'
        default: 'true'
        description: Setting to false gives you the ability to fuzzy search countries (i.e. Oman vs. rOMANia)
        type: string
      - name: allowNull
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: By default, if a value is missing, it is returned as 0. This allows nulls to be returned
        type: string
      summary: Get COVID-19 totals for a specific country
      responses:
        '200':
          description: Status OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/covidCountry'
      operationId: getV3Covid19CountriesByCountry
      x-operation-id-source: derived
  /v3/covid-19/countries/{countries}:
    get:
      tags:
      - 'COVID-19: Worldometers'
      parameters:
      - name: countries
        in: path
        required: true
        description: Multiple country names, iso2, iso3, or country IDs separated by commas
        type: string
      - name: yesterday
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported a day ago
        type: string
      - name: twoDaysAgo
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: Queries data reported two days ago
        type: string
      - name: allowNull
        in: query
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
        description: By default, if a value is missing, it is returned as 0. This allows nulls to be returned
        type: string
      summary: Get COVID-19 totals for a specific set of countries
      responses:
        '200':
          description: Status OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/covidCountries'
      operationId: getV3Covid19CountriesByCountries
      x-operation-id-source: derived
components:
  schemas:
    covidCountries:
      type: array
      items:
        $ref: '#/components/schemas/covidCountry'
    covidContinents:
      type: array
      items:
        $ref: '#/components/schemas/covidContinent'
    covidStates:
      type: array
      items:
        $ref: '#/components/schemas/covidState'
    covidState:
      properties:
        state:
          type: string
        updated:
          type: number
        cases:
          type: number
        todayCases:
          type: number
        deaths:
          type: number
        todayDeaths:
          type: number
        active:
          type: number
        casesPerOneMillion:
          type: number
        deathsPerOneMillion:
          type: number
        tests:
          type: number
        testsPerOneMillion:
          type: number
        population:
          type: number
    covidContinent:
      properties:
        updated:
          type: number
        cases:
          type: number
        todayCases:
          type: number
        deaths:
          type: number
        todayDeaths:
          type: number
        recovered:
          type: number
        todayRecovered:
          type: number
        active:
          type: number
        critical:
          type: number
        casesPerOneMillion:
          type: number
        deathsPerOneMillion:
          type: number
        tests:
          type: number
        testsPerOneMillion:
          type: number
        population:
          type: number
        continent:
          type: string
        activePerOneMillion:
          type: number
        recoveredPerOneMillion:
          type: number
        criticalPerOneMillion:
          type: number
        continentInfo:
          type: object
          properties:
            lat:
              type: number
            long:
              type: number
        countries:
          type: array
          items:
            type: string
    covidCountry:
      properties:
        updated:
          type: number
        country:
          type: string
        countryInfo:
          type: object
          properties:
            _id:
              type: number
              uniqueItems: true
            iso2:
              type: string
              uniqueItems: true
            iso3:
              type: string
              uniqueItems: true
            lat:
              type: number
            long:
              type: number
            flag:
              type: string
        cases:
          type: number
        todayCases:
          type: number
        deaths:
          type: number
        todayDeaths:
          type: number
        recovered:
          type: number
        todayRecovered:
          type: number
        active:
          type: number
        critical:
          type: number
        casesPerOneMillion:
          type: number
        deathsPerOneMillion:
          type: number
        tests:
          type: number
        testsPerOneMillion:
          type: number
        population:
          type: number
        continent:
          type: number
        oneCasePerPeople:
          type: number
        oneDeathPerPeople:
          type: number
        oneTestPerPeople:
          type: number
        activePerOneMillion:
          type: number
        recoveredPerOneMillion:
          type: number
        criticalPerOneMillion:
          type: number
    covidAll:
      properties:
        updated:
          type: number
        cases:
          type: number
        todayCases:
          type: number
        deaths:
          type: number
        recovered:
          type: number
        todayRecovered:
          type: number
        active:
          type: number
        critical:
          type: number
        casesPerOneMillion:
          type: number
        deathsPerOneMillion:
          type: number
        tests:
          type: number
        testsPerOneMillion:
          type: number
        population:
          type: number
        oneCasePerPeople:
          type: number
        oneDeathPerPeople:
          type: number
        oneTestPerPeople:
          type: number
        activePerOneMillion:
          type: number
        recoveredPerOneMillion:
          type: number
        criticalPerOneMillion:
          type: number
        affectedCountries:
          type: number
externalDocs:
  description: Find out more about this API
  url: https://github.com/disease-sh/API
x-provenance:
  method: harvested
  publisher: disease.sh
  source: https://raw.githubusercontent.com/disease-sh/API/master/public/apidocs/swagger_v3.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)