v2

latestOpenAPI 3.0.1Open Government Licence v3.0.raw.githubusercontent.com2021-08-314313.2 KB

Data

Provides data related to the COVID-19 in the United Kingdom based on query parameters. The number of records produced per request is limited to 1000. The pagination feature may be activated to obtain additional records.

get/data

Query parameters

filtersstring

Filter response by one of the filtering parameters. Use semicolon for conjunctive and vertical bar for disjunctive conditions.

structurestring
Example:{"areaName":"areaName","newAdmissions":"newAdmissions","date":"date"}

Define the parameters and structure you would like to receive in response.

latestBystring

Define a date parameter to filter the time series and boil it down to one response item. (YYYY-MM-DD)

format'json' | 'csv' | 'xml'

Receive the response in JSON (default), CSV, or XML.

pageinteger

Page number - usage of this query parameter activates the pagination feature.

Response

Successful: The response body contains the data.

lengthinteger
maxPageLimitinteger
totalRecordsinteger
dataobject[]