資料即時下載API

表單: 台灣疫情報表

欄位說明
{"id":"ID","a01":"iso_code","a02":"洲名","a03":"國家","a04":"日期","a05":"總確診數","a06":"新增確診數","a07":"七天移動平均新增確診數","a08":"總確診數\/每百萬人","a09":"新增確診數\/每百萬人","a10":"七天移動平均新增確診數\/每百萬人","a11":"總人口數","a12":"新聞稿發佈新增確診數"}

_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=4051&limited=TWN&chartset=[utf-8|big5]

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

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