disease.sh Influenza: CDC API

(Influenza data reported by the United States CDC, updated every 24 hours)

GitHub OpenAPI

Operations 3

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/influenza/cdc/ILINet Get ILI data for the 2019 and 2020 outbreaks · Get Influenza-like-illness data for the 2019 and 2020 outbreaks from the US… #
Ask an LLM
“What percent of doctor visits were for influenza-like illness in the 2019 and 2020 outbreaks?”
“Can I get ILI data for a specific week during those outbreaks?”
Tell an agent
Get ILI data for the 2019 and 2020 outbreaks.
Show the influenza-like illness percentage for the 2019 and 2020 outbreaks.
GET /v3/influenza/cdc/USCL Get USCL influenza report data for 2019 and 2020 · Get Influenza report data for the 2019 and 2020 outbreaks from the US Center… #
Ask an LLM
“What does the USCL influenza report say about the 2019 and 2020 outbreaks?”
“Can I get USCL data for a particular week of those outbreaks?”
Tell an agent
Get USCL influenza report data for the 2019 and 2020 outbreaks.
Show the USCL influenza report for the 2019 and 2020 outbreaks.
GET /v3/influenza/cdc/USPHL Get USPHL influenza report data for 2019 and 2020 · Get Influenza report data for the 2019 and 2020 outbreaks from the US Center… #
Ask an LLM
“What does the USPHL influenza report say about the 2019 and 2020 outbreaks?”
“Can I get USPHL data for a particular week of those outbreaks?”
Tell an agent
Get USPHL influenza report data for the 2019 and 2020 outbreaks.
Show the USPHL influenza report for the 2019 and 2020 outbreaks.

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-influenza-cdc-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-influenza-cdc-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: 'Influenza: CDC'
  description: (Influenza data reported by the United States CDC, updated every 24 hours)
paths:
  /v3/influenza/cdc/ILINet:
    get:
      tags:
      - 'Influenza: CDC'
      summary: Get Influenza-like-illness data for the 2019 and 2020 outbreaks from the US…
      responses:
        '200':
          description: Status Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/influenzaILINet'
      operationId: getV3InfluenzaCdcILINet
      x-operation-id-source: derived
  /v3/influenza/cdc/USCL:
    get:
      tags:
      - 'Influenza: CDC'
      summary: Get Influenza report data for the 2019 and 2020 outbreaks from the US Center…
      responses:
        '200':
          description: Status Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/influenzaUSCL'
      operationId: getV3InfluenzaCdcUSCL
      x-operation-id-source: derived
  /v3/influenza/cdc/USPHL:
    get:
      tags:
      - 'Influenza: CDC'
      summary: Get Influenza report data for the 2019 and 2020 outbreaks from the US Center…
      responses:
        '200':
          description: Status Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/influenzaUSPHL'
      operationId: getV3InfluenzaCdcUSPHL
      x-operation-id-source: derived
components:
  schemas:
    USPHL:
      properties:
        week:
          type: string
        A(H3N2v):
          type: number
        A(H1N1):
          type: number
        A(H3):
          type: number
        A(unable to sub-type)+:
          type: number
        A(Subtyping not performed):
          type: number
        B:
          type: number
        BVIC:
          type: number
        totalTests:
          type: number
    influenzaUSPHL:
      properties:
        updated:
          type: number
        source:
          type: string
        data:
          items:
            $ref: '#/components/schemas/USPHL'
    influenzaUSCL:
      properties:
        updated:
          type: number
        source:
          type: string
        data:
          items:
            $ref: '#/components/schemas/USCL'
    USCL:
      properties:
        week:
          type: string
        totalA:
          type: number
        totalB:
          type: number
        percentPositiveA:
          type: number
        percentPositiveB:
          type: number
        totalTests:
          type: number
        percentPositive:
          type: number
    influenzaILINet:
      properties:
        updated:
          type: number
        source:
          type: string
        data:
          items:
            $ref: '#/components/schemas/ILINet'
    ILINet:
      properties:
        week:
          type: string
        age 5-24:
          type: number
        age 25-49:
          type: number
        age 50-64:
          type: number
        age 64+:
          type: number
        totalILI:
          type: number
        totalPatients:
          type: number
        percentUnweightedILI:
          type: number
        percentWeightedILI:
          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)