Skip to main content

NHS APIs Live Well API

Content from the Live Well section on the NHS website. Includes advice, tips and tools about a range of lifestyle topics, such as healthy eating, weight loss and exercise.

Host

https://api.nhs.uk/live-well

Authentication and Headers

To make a REST API call, you must include request headers including the subscription-key header with a subscription key. All subscriptions under NHS website APIs are available in JSON and XML and you can select your preference under the Accept header. If you do not choose an Accept header then the default output will be JSON.

Header key Header value
subscription‑key

Login or register to get an API key to use this API

Accept application/json
application/xml

Endpoints

Endpoint

GET /{topic}/{*subPage}

Description

Specific page

Parameters

Name Type Required Allowed Default Description
topic
path
string true
subPage
path
string true

Endpoint

GET /

Description

All pages

Parameters

Name Type Required Allowed Default Description
startDate
query
string YYYY-MM-DD - Filters live well articles which are equal or greater than the startDate based on the orderBy parameter.
endDate
query
string YYYY-MM-DD - Filters live well articles which are equal or less than the endDate based on the orderBy parameter.
order
query
string newest, oldest Order by newest or oldest relating to the orderBy parameter.
page
query
string 1 Page Number
category
query
string A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z Filters live well articles by A-Z
topic
query
string The values works alongside the startDate, endDate and orderBy parameters but they are not required. If datePublished is selected without the other parameters then it will show 25 items ordered by the newest date.
orderBy
query
string dateModified, lastReviewed, nextReview The values works alongside the startDate, endDate and orderBy parameters but they are not required. If datePublished is selected without the other parameters then it will show 25 items ordered by the newest date.
genre
query
string condition, guide, live-well Filters by condition, guide or live well article

Endpoint

GET /{Topic}

Description

Topic

Parameters

Name Type Required Allowed Default Description
Topic
path
string true