---
title: "Get all pages in the Conditions A to Z"
method: GET
path: "/conditions"
---

# Get all pages in the Conditions A to Z

`GET /conditions`

## Overview
Use this endpoint to get details of pages in the [Conditions A to Z](https://www.nhs.uk/conditions/).

Passing in no parameters returns all pages under 'conditions'.

The response is limited to 25 child pages and is paginated.

There are a number of query parameters that filter the results.

## Ordering by dates

The `orderBy` parameter can be `dateModified`, `lastReviewed` and `nextReview`. By default if any of the `orderBy` parameters are chosen the results are sorted by newest first.

However, the `orderBy` parameter can be used with the `startDate` and `endDate` parameters to filter down to the desired date. `startDate` and `endDate` should be given in the YYYY-MM-DD format.

For example `https://api.service.nhs.uk/nhs-website-content/conditions?startDate=2022-01-01&orderBy=dateModified`

## Response `200`

A valid query for the conditions.

- Schema — unresolved $ref

## Other responses

- `4XX` — An error occurred as follows: | HTTP status | Error code | Description | | ----------- | -------------------------- | --------------------------------------------- | | 401 | ACCESS_DENIED | API key missing, invalid or expired, or calling application not configured for this operation. | | 403 | ACCESS_DENIED | User cannot perform this action. | | 404 | RESOURCE_NOT_FOUND | Page not found. | | 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |

---

[API](https://skmtc.dev/nhs/apis/nhs-website-content-api.md) · [All operations](https://skmtc.dev/nhs/apis/nhs-website-content-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nhs/nhs-website-content-api/revisions/15359efa56b3/schema)
