---
title: "Page areas"
method: GET
path: "/page_areas/{page}"
---

# Page areas

`GET /page_areas/{page}`

## Request

- Base URL: `https://api.coronavirus.data.gov.uk/generic`
- URL: `https://api.coronavirus.data.gov.uk/generic/page_areas/{page}`
- Auth: none declared. Required headers: `Accept`
- TypeScript: <https://skmtc.dev/uk-health-security-agency/apis/generic-api/docs/page_areas/:page/get.ts> (a function with typed inputs; its response is checked against the schema)

Given a category (website page), returns all available areas.

## Path parameters

- `page` 'cases' | 'testing' | 'deaths' | 'vaccinations' | 'healthcare', required

## Headers

- `Accept` 'application/json', required
- `Accept-Encoding` 'deflate' | 'gzip' | 'br'

## Response `200`

Returns the areas for the specified category (page).

## Other responses

- `400`: Bad request. Reason provided in response body where possible.
- `404`: Not found. Likely due to an invalid category (page name).
- `429`: Too many requests - request has been throttled.
- `500`: Server error

## Changes

- **2021-11-22** `5e256a1f0f74`: 2 breaking, 1 warning
  - the mandatory response header `phe-website-request` removed for the status `200`
  - the mandatory response header `x-phe-media-type` removed for the status `200`
  - the optional response header `phe-server-loc` removed for the status `200`
- **2021-11-22** `44611f090a79`: 2 breaking, 1 warning
  - the mandatory response header `ukhsa-website-request` removed for the status `200`
  - the mandatory response header `x-ukhsa-media-type` removed for the status `200`
  - the optional response header `ukhsa-server-loc` removed for the status `200`
- **2021-11-22** `5894ea78dfb2`: 2 breaking, 1 warning
  - the mandatory response header `phe-website-request` removed for the status `200`
  - the mandatory response header `x-phe-media-type` removed for the status `200`
  - the optional response header `phe-server-loc` removed for the status `200`
- **2021-08-17** `5a83f3354351`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2021-08-17** `d337e9406cb2`: 1 breaking
  - the mandatory response header `Content-Type` removed for the status `200`

[Operation history](https://skmtc.dev/uk-health-security-agency/apis/generic-api/changes/page_areas/:page/get.md)

---

[API](https://skmtc.dev/uk-health-security-agency/apis/generic-api.md) - [All operations](https://skmtc.dev/uk-health-security-agency/apis/generic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uk-health-security-agency/apis/generic-api/revisions/ac434e5ddc2c?raw)
