資料即時下載API

表單: 台灣COVID-19 新增本土確診與陽性率表

欄位說明
{"id":"","a01":"通報日","a02":"(A) 今日法定傳染病通報","a03":"(B) 今日擴大監測送驗","a04":"(A+B) 今日合計送驗","a05":"(C) 合計送驗(七天移動平均)","a06":"今日新增確診","a07":"(D) 新增確診(七天移動平均)","a08":"(D\/C) 檢驗確診率"}

_NOTE_: &key=value是作為查詢API的參數,請依照自己想查的數值輸入在等於後方(value),非必要可以自行刪除,必要只有CK跟querydata

下載方法 [GET method for CSV download]
https://covid-19.nchc.org.tw/api/csv?CK=covid-19@nchc.org.tw&querydata=4048&chartset=[utf-8|big5]

下載方法 [GET method for JSON download]
https://covid-19.nchc.org.tw/api/covid19?CK=covid-19@nchc.org.tw&querydata=4048

下載方法 [POST method for JSON download]
curl -k -d '{"CK":"covid-19@nchc.org.tw", "querydata":"4048"}' -H "Content-Type: application/json" -X POST https://covid-19.nchc.org.tw/api/covid19

Terms of Use

This data sets are licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) by the Johns Hopkins University on behalf of its Center for Systems Science in Engineering and CDC Taiwan.

by-sa