---
title: "Data"
method: GET
path: "/data"
---

# Data

`GET /data`

Request data for download.

## Query parameters

- `areaType` 'overview' | 'nation' | 'region' | 'nhsRegion' | 'utla' | 'ltla' | 'nhsTrust' | 'msoa', required
- `metric` string[], required
- `areaCode` string
- `format` 'json' | 'jsonl' | 'csv' | 'xml', required
- `release` string

## Response `200`

Success - returns file in specified format

- Data
  - `body` object[]
    - `areaType` string, required
    - `areaCode` string, required
    - `areaName` string, required
    - `date` string, required

## Changes

- **2021-11-21** `6907e4705b43` — 1 warning
  - deleted the `header` request parameter `X-Forwarded-Host`

[Change history](https://skmtc.dev/uk-health-security-agency/apis/dashboard-api-2/changes/data/get.md)

---

[API](https://skmtc.dev/uk-health-security-agency/apis/dashboard-api-2.md) · [All operations](https://skmtc.dev/uk-health-security-agency/apis/dashboard-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uk-health-security-agency/dashboard-api-2/revisions/6907e4705b43/schema)
