資料即時下載API

表單: 台灣COVID-19 縣市鄉鎮疫情表單

欄位說明
{"id":"","a01":"個案研判日","a02":"個案公佈日","a03":"縣市","a04":"鄉鎮","a05":"性別","a06":"是否為境外移入","a07":"年齡層"}

_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=5001&limited=嘉義市&chartset=[utf-8|big5]

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

下載方法 [POST method for JSON download]
curl -k -d '{"CK":"covid-19@nchc.org.tw", "querydata":"5001", "limited":"嘉義市"}' -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