Coronavirus
最新 Covid-19 数据的 HTTP API
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 健康
简介
disease.sh(Disease.sh API)提供全球和各国的 COVID-19 统计——病例、死亡、康复和历史数据——免密钥且免费(实测可用)。它还覆盖其他疾病数据。
快速开始
全球统计(实测可用):
curl "https://disease.sh/v3/covid-19/all"
{
"updated": 1787448092369,
"cases": 704753890,
"todayCases": 0,
"deaths": 7010681,
"recovered": 675619811,
"active": 22123398,
"critical": 34794,
"casesPerOneMillion": 90413,
"deathsPerOneMillion": 899.6
}
按国家:
curl "https://disease.sh/v3/covid-19/countries/USA"
历史数据:
curl "https://disease.sh/v3/covid-19/historical/all?lastdays=30"
认证方式
无需认证——免密钥。
速率限制与注意事项
- 免费;请礼貌使用——没有公开的硬性限制。
- 端点:
/v3/covid-19/all、/v3/covid-19/countries/{国家}、/v3/covid-19/historical、/v3/covid-19/vaccine。 - 数据来源:WHO、Worldometers 和各国卫生机构(聚合)。
/v3/下还有非 COVID 疾病数据。
常见问题
disease.sh 免费吗? 是的——免费且免密钥(实测)。
有什么数据? 病例、死亡、康复、疫苗统计和历史数据。
数据还在更新吗?
API 聚合官方来源——请看响应里的 updated 时间戳。
健康 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Clinical Trials Directory Every clinical trial registered with ClinicalTrials.gov, indexed by condition and sponsor | No auth | Yes | Yes | ↗ |
| CMS.gov Access to the data from the CMS - medicare.gov | API Key | Yes | Unknown | ↗ |
| Coronavirus in the UK UK Government coronavirus data, including deaths and cases by region | No auth | Yes | Unknown | ↗ |
| Covid Tracking Project Covid-19 data for the US | No auth | Yes | No | ↗ |
| Covid-19 Covid 19 cases, deaths and recovery per country | No auth | Yes | Yes | ↗ |