Covid-19 USA Data by ZT

免费增值
通过 ZermeloTechnologies | 已更新 לפני חודש | Health and Fitness
人气

0.3 / 10

延迟

29ms

服务等级

0%

Health Check

N/A

README

GetUSTotalCounts
This end point provides total count of confirmed, tested, deaths, active, recovered, newdeaths, newconfirmed cases for covid-19 data for USA. No additional parameters are required in the input. In case the response is successful statusMsg will be “OK” . Below is the response structure.
{
    “statusMsg”: “OK”,
    “data”: [
    {
        “active”: “”,
        “deaths”: “”,
        “tested”: “”,
        “confirmed”: “”,
        “newdeaths”: “”,
        “recovered”: “”,
        “newconfirmed”: “”
    }
  ]
}
GetUSStateCodesAndNames
This endpoint provides US State Codes and corresponding names. No additional parameters are required in the input. In case the response is successful statusMsg will be “OK” . Below is the response structure.
{
    “statusMsg”: “OK”,
    “data”: [
        {
            “code”: “AK”,
            “name”: “Alaska”
        },
        {
            “code”: “AL”,
            “name”: “Alabama”
        },
        {
            “code”: “AR”,
            “name”: “Arkansas”
        },
        {
            “code”: “AZ”,
            “name”: “Arizona”
        },
        {
            “code”: “CA”,
            “name”: “California”
        }
        …
}
GetUSStateWiseData
This endpoint provides state wise count of confirmed, tested, deaths, recovered, active, newconfirmed, newtested, newdeaths, newrecovered and lastupdatedtime for covid-19 data for USA. No additional parameters are required in the input. In case the response is successful statusMsg will be “OK” . Below is the response structure.
{
    “statusMsg”: “OK”,
    “data”: [
        {
            “code”: “MO”,
            “name”: “Missouri”,
            “active”: “”,
            “deaths”: “”,
            “tested”: “”,
            “confirmed”: “”,
            “newdeaths”: “”,
            “newtested”: “”,
            “recovered”: “”,
            “newconfirmed”: “”,
            “newrecovered”: “”,
            “lastupdatedtime”: “”
        },
        {
            “code”: “VT”,
            “name”: “Vermont”,
            “active”: “”,
            “deaths”: “”,
            “tested”: “”,
            “confirmed”: “”,
            “newdeaths”: “”,
            “newtested”: “”,
            “recovered”: “”,
            “newconfirmed”: “”,
            “newrecovered”: “”,
            “lastupdatedtime”: “”
        }
        …
    ]
}
GetUSAllHistoricalData
This endpoint provides datewise count of dailytested, totaltested, dailydeceased, totaldeceased, dailyconfirmed, dailyrecovered, totalconfirmed and totalrecovered for historical covid-19 data for USA. No additional parameters are required in the input. In case the response is successful statusMsg will be “OK” . Below is the response :
{
    “statusMsg”: “OK”,
    “records”: [
        {
            “dateofrecord”: “2020-02-28”,
            “cases”: {
                “dailytested”: “”,
                “totaltested”: “”,
                “dailydeceased”: “”,
                “totaldeceased”: “”,
                “dailyconfirmed”: “”,
                “dailyrecovered”: “”,
                “totalconfirmed”: “”,
                “totalrecovered”: “”
            }
        },
        …
        {
            “dateofrecord”: “2020-04-13”,
            “cases”: {
                    “dailytested”: “”,
                “totaltested”: “”,
                “dailydeceased”: “”,
                “totaldeceased”: “”,
                “dailyconfirmed”: “”,
                “dailyrecovered”: “”,
                “totalconfirmed”: “”,
                “totalrecovered”: “”
            }
        }
    ]
}
GetUSHistoricalDataBetweenDates
This end point provides count of dailytested, totaltested, dailydeceased, totaldeceased, dailyconfirmed, dailyrecovered, totalconfirmed and totalrecovered for historical covid-19 data for USA between two dates. It is mandatory to provide start_date and end_date as input parameters. If data is required for only one date then start_date can be kept same as end_date. The date format of both the input parameters are yyyy-MM-dd. In case the response is successful statusMsg will be “OK” . Below is the response structure:
{
    “statusMsg”: “OK”,
    “records”: [
        {
            “dateofrecord”: “2020-02-28”,
            “cases”: {
                “dailytested”: “”,
                “totaltested”: “”,
                “dailydeceased”: “”,
                “totaldeceased”: “”,
                “dailyconfirmed”: “”,
                “dailyrecovered”: “”,
                “totalconfirmed”: “”,
                “totalrecovered”: “”
            }
        },
        …
        {
            “dateofrecord”: “2020-04-13”,
            “cases”: {
                “dailytested”: “”,
                “totaltested”: “”,
                “dailydeceased”: “”,
                “totaldeceased”: “”,
                “dailyconfirmed”: “”,
                “dailyrecovered”: “”,
                “totalconfirmed”: “”,
                “totalrecovered”: “”
            }
        }
    ]
}
GetUSAllHistoricalDataForState
This end point provides datewise count of dailytested, totaltested, dailydeceased, totaldeceased, dailyconfirmed, dailyrecovered, totalconfirmed and totalrecovered for historical covid-19 data for a particular state in USA. A required input parameter “statecode” needs to be passed in every request. You can get the state code using another endpoint GetUSStateCodesAndNames. In case the response is successful statusMsg will be “OK” . Below is the response structure.
{
    “statusMsg”: “OK”,
    “records”: [
        {
            “dateofrecord”: “2020-04-13”,
            “cases”: {
                “dailytested”: “”,
                “totaltested”: “”,
                “dailydeceased”: “”,
                “totaldeceased”: “”,
                “dailyconfirmed”: “”,
                “dailyrecovered”: “”,
                “totalconfirmed”: “”,
                “totalrecovered”: “”
            }
        }
        …
        {
            “dateofrecord”: “2020-04-29”,
            “cases”: {
                “dailytested”: “”,
                “totaltested”: “”,
                “dailydeceased”: “”,
                “totaldeceased”: “”,
                “dailyconfirmed”: “”,
                “dailyrecovered”: “”,
                “totalconfirmed”: “”,
                “totalrecovered”: “”
            }
        }
    ]
}
GetUSHistoricalDataBetweenDatesForState
This end point provides count of dailytested, totaltested, dailydeceased, totaldeceased, dailyconfirmed, dailyrecovered, totalconfirmed and totalrecovered for historical covid-19 data between two dates for a particular state in USA. It is mandatory to provide “statecode” and also start_date and end_date as input parameters. If data is required for only one date then start_date can be kept same as end_date. The date format of start_date and end_date input parameters are yyyy-MM-dd. In case the response is successful statusMsg will be “OK” . Below is the response structure:
{
    “statusMsg”: “OK”,
    “records”: [
        {
            “dateofrecord”: “2020-04-13”,
            “cases”: {
                “dailytested”: “”,
                “totaltested”: “”,
                “dailydeceased”: “”,
                “totaldeceased”: “”,
                “dailyconfirmed”: “”,
                “dailyrecovered”: “”,
                “totalconfirmed”: “”,
                “totalrecovered”: “”
            }
        }
        …
        {
            “dateofrecord”: “2020-04-29”,
            “cases”: {
                “dailytested”: “”,
                “totaltested”: “”,
                “dailydeceased”: “”,
                “totaldeceased”: “”,
                “dailyconfirmed”: “”,
                “dailyrecovered”: “”,
                “totalconfirmed”: “”,
                “totalrecovered”: “”
            }
        }
    ]
}

关注者:3
资源:
产品网站
API 创建者:
Rapid account: Zermelo Technologies
ZermeloTechnologies
ZermeloTechnologies
登录并给 API 打分
打分:5 - 投票:1