Metric search
Changed onget/metrics
Request
- Base URLhttps://api.coronavirus.data.gov.uk/generic
- Authnone declared. Required headers: Accept
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
searchstring
Metric name or part thereof.
category'Cases' | 'Testing' | 'Healthcare' | 'Deaths' | 'Vaccinations'
The category the metric(s) relates to.
tagsstring
Return metrics by a keyword they're tagged by.
exactboolean
Return metrics that exactly match the value set for the 'search' parameter. This flag may only be set alongside 'search'.
Headers
Accept'application/json' required
Response
Changes
- info
added the optional property
/to the response with the status
- info
- info
added the new optional
queryrequest parameterexact
- info