🦠 Web API to get COVID-19(coronavirus) information of each prefecture in Japan
- 🔁 Update data every 2 hours
- 🚀 Provide REST API
- 🇯🇵 Get info of each prefecture in Japan
if your project is not listed here,let us know!
https://covid19-rader-for-japan.com
Endpont: https://covid19-rader-for-japan.appspot.com/api/v1/patients
$ curl https://covid19-rader-for-japan.appspot.com/api/v1/patients
Response:
[
{
"id":"ID01001",
"date":"2020/01/28",
"prefecture":"北海道",
"residence":"国外(武漢市)",
"age":"40代",
"sex":"女性",
"attribute":"来日観光客",
"prefecture_number":"北海道1",
"travel_or_contact":"渡航歴",
"detail":"**(武漢)",
"src":"https://www.mhlw.go.jp/stf/newpage_09158.html",
"onset":"2020/01/26",
"symptom":"1",
"death_or_discharge_date":"",
"comment1":"",
"comment2":"",
"outcome":"",
"outcome_src":""},{"id":"ID01002",
},
{
"date":"2020/02/14",
"prefecture":"北海道",
"residence":"札幌市",
"age":"50代",
"sex":"男性",
"attribute":"来日観光客",
"prefecture_number":"北海道2",
"travel_or_contact":"",
"detail":"",
"src":"http://www.pref.hokkaido.lg.jp/hf/kth/kak/hasseijoukyou.htm",
"onset":"2020/01/31",
"symptom":"1",
"death_or_discharge_date":"",
"comment1":"",
"comment2":"",
"outcome":"",
"outcome_src":""
},
...
Endpont: https://covid19-rader-for-japan.appspot.com/api/v1/prefectures
$ curl https://covid19-rader-for-japan.appspot.com/api/v1/prefectures
Response:
[
{
"id": 1,
"name_ja": "北海道",
"name_en": "Hokkaido",
"regions": "0",
"lat": "43.46722222",
"lng": "142.8277778",
},
{
"id": 2,
"name_ja": "青森",
"name_en": "Aomori",
"regions": "1",
"lat": "40.78027778",
"lng": "140.83194440000003",
},
...
]
Endpont: https://covid19-rader-for-japan.appspot.com/api/v1/stats
$ curl https://covid19-rader-for-japan.appspot.com/api/v1/stats
Response:
[
{
"date":"20200319",
"prefecture":"北海道",
"cases":0,
"total_cases":153,
"hospital":0,
"total_hospitals":77,
"discharge":0,
"total_discharges":69,
"deaths":0,
"total_deaths":7,
"sex_data":{
"female":0,
"male":0,
"unknown":0
},
"total_sex_data":{
"female":0,
"male":0,
"unknown":0
},
"age_data":{
"age_10":0,
"age_20":0,
"age_30":0,
"age_40":0,
"age_50":0,
"age_60":0,
"age_70":0,
"age_80":0,
"age_90":0,
"age_unknown":0
},
"total_age_data":{
"age_10":0,
"age_20":0,
"age_30":0,
"age_40":0,
"age_50":0,
"age_60":0,
"age_70":0,
"age_80":0,
"age_90":0,
"age_unknown":0
}
},
{
"date":"20200319",
"prefecture":"愛知県",
"cases":0,
"total_cases":123,
"hospital":0,
"total_hospitals":106,
"discharge":0,
"total_discharges":3,
"deaths":0,
"total_deaths":14,
"sex_data":{
"female":0,
"male":0,
"unknown":0
},
"total_sex_data":{
"female":0,
"male":0,
"unknown":0
},
"age_data":{
"age_10":0,
"age_20":0,
"age_30":0,
"age_40":0,
"age_50":0,
"age_60":0,
"age_70":0,
"age_80":0,
"age_90":0,
"age_unknown":0
},
"total_age_data":{
"age_10":0,
"age_20":0,
"age_30":0,
"age_40":0,
"age_50":0,
"age_60":0,
"age_70":0,
"age_80":0,
"age_90":0,
"age_unknown":0
}
}
...