AFHSB
This is the API documentation for accessing the AFHSB (afhsb) endpoint of
Delphi’s epidemiological data.
General topics not specific to any particular endpoint are discussed in the API overview. Such topics include: contributing, citing, and data licensing.
AFHSB Data
…
The API
The base URL is: https://delphi.cmu.edu/epidata/afhsb/
See this documentation for details on specifying epiweeks, dates, and lists.
Parameters
Required
| Parameter | Description | Type |
|---|---|---|
auth |
password | string |
epiweeks |
epiweeks | list of epiweeks |
locations |
locations | list of region, state, or 3-letter country code labels |
flu_types |
flu types | list of disjoint (flu1, flu2-flu1, flu3-flu2, ili-flu3) or subset (flu2, flu3, ili) flu type labels |
Response
| Field | Description | Type | |
|---|---|---|---|
result |
result code: 1 = success, 2 = too many results, -2 = no results | integer | |
epidata |
list of results | array of objects | |
| … | … | … | |
message |
success or error message |
string |