Live Well

Introduction🔗︎ click to copy

Mydex Data Services CIC provides an API known as the 'Master Reference Data Services' or MRD. This API provides access to a variety of non-personal, general purpose datasets that may be of use when integrating with the rest of the Mydex platform or simply a valuable managed API service for a range of datasets that can be subscribed to.

One of these services or datasets is Live Well, which itself is also offered to the public (see https://www.nhs.uk/live-well/) . Live Well is a service designed to help citizens find help and support for healthy living.

Mydex hosts its own copy of Live Well and also consumes the Live Well API from the upstream source to keep our instance of Live Well current with regular updates.

Mydex's MRD Service hosts the data and adds the ability to search for data using keywords and filters. Mydex's MRD API also allows filtering to remove any html tags and to replace any relevant links with links to Mydex MRD API.

Subscribers to MRD use these managed lists, directories and look-ups to embed content into their own apps and services such as delivering personalised lists based on an individual's profile set in the subscribers application or service.

This guide explains:

If you encounter issues either getting authenticated to or using the MRD API, please contact support@mydex.org. Our team is ready and always happy to help you with any issues.

Authenticating with OAuth2.0🔗︎ click to copy

The Mydex MRD API requires authentication using the industry standard OAuth2.0 protocol. Please see our online documentation for more information on this: https://dev.mydex.org/mrd-api/mrd-authentication.html

Returning data via a specified Live Well route🔗︎ click to copy

The most basic request that can be made is to the root route: https://api-mrd.mydex.org/live-well

This will return a list of candidate routes that can be requested. Making a request to any of the routes listed will return the row of data linked to that route.

Some example requests for Live Well data are as follows:

A simple request like this can be made to any route and it will return that row of data. There are also options (flags) available for stripping html tags and replacing NHS links with links to our own MRD api which we will cover next.

[Example responses showing how the data is structured can be viewed under the heading Example responses at the end of this page. Referring to these will aid in understanding the structure of the data and the effect the flag settings have]

Flag settings🔗︎ click to copy

There are two possible flag settings which can be set independently of each other or together. These settings are:

These flags can be applied in the request as per the examples below:

Note: If both flags are set, the order in which they appear in the request does not matter.

What does no_html do?🔗︎ click to copy

Setting this flag removes all the html tags from the page content and stores any links in an array links[] at the end of the page content entity mainEntityOfPage.

What does mydex_mrd_links do?🔗︎ click to copy

The benefit of setting this flag is that it makes other Mydex MRD API endpoints available for use directly within the response. This means that links can be made across different services to build a dynamic range of data payloads.

Setting this flag replaces any links to the NHS api with our relative MRD api endpoint. This applies to any endpoints that we currently have available for use. Currently that includes:

If only mydex_mrd_links flag is set, i.e. no_html is not set, then these links are replaced in the page content text field with an index which relates to an array of these links which is added at the end of the page content entity mainEntityOfPage.

Returning data by filtering on one or more keywords🔗︎ click to copy

Please Note: Mydex also offers a Cross-Service search capability for unified search results across the different MRD services you are subscribed to. Click here to find out more.

Returning Live Well data based on search filters can be done by passing a keyword along with a combination of operators and conditions in the request. An example of a request made using filters to search the data by keyword can be seen below:

https://api-mrd.mydex.org/live-well/search?filters[0][operator]=LIKE&filters[0][value]=water&filters[0][condition]=

[Example responses showing how the data is structured can be viewed under the heading Example responses at the end of this page. Referring to these will aid in understanding the structure of the data and the effect any flag settings have]

How to structure a request for returning filtered data🔗︎ click to copy

The filters are passed as an array filters[]. Each element in the array must contain at least 1 of both operator and value. A more complex search can be performed by also passing a condition parameter (AND or OR) plus a further keyword (stored in the value parameter).

The structure of the array is as follows:

filters[index][option]=value

Where index denotes the index in the array starting at 0 and incrementing by 1 for each additional filter.

option refers to the parameter that must be passed and determines how the results are to be filtered. There are three possible option parameters as described in the table below.

Parameter Description Example
[operator] The only valid operator here is LIKE. This will perform a search based on matches like the keyword passed in the value operator (see below) LIKE
[value] The keyword value used to filter the results. eat
water
weight
[condition] If we want to filter by more than one keyword we can include here AND or OR.

Note: these are the only valid conditions.

If we are only using one filter, then this still must be declared but left empty.
AND
OR

Some example filtered requests:

Here are two example requests. The first one shows an example of a request for the data filtered by only one keyword. The second example shows a request for data filtered by two keywords where both must be present to return a result.

Flag settings🔗︎ click to copy

The same flag settings can be passed here as per the section on getting the data from a specified Live Well route i.e. no_html=true and/or mydex_mrd_links=true (please refer to the section about returning data from a specific Live Well route for more information on this).

An additional flag setting, added in the same way, can be applied when filtering the data as follows: search_all=true

What does search_all do?🔗︎ click to copy

It’s worth noting here that without this flag set, the filter is applied only to the description field of the data. For a deeper search into the data, setting search_all=true will apply the filter also to the text field of the content entity for each row of data. The content entity is the mainEntityOfPage field which exists in each row of Live Well data.

It’s worth noting that some rows of data also contain a field mainEntity which is another type of content that is part of what NHS content system calls an “Expander group”. The search_all flag will also return results where a match is found in this field.

An example request using this flag setting:


Example Responses🔗︎ click to copy

What can be seen here are example responses for different requests with a range of different flag settings. We are showing only examples of data returned from a specified route here, however it is the same data that would be returned if a search and filter approach is taken. The only difference between the two approaches is that a specified route will only ever return 1 row of data whereas a filtered request can return multiple rows of data. Each following example is a single row of data.

No flags set🔗︎ click to copy

Example: https://api-mrd-dev01-local.mixcic.eu/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight

{
   "data": {
      "@context": "http://schema.org",
      "@type": "MedicalWebPage",
      "name": "How to help your child gain weight",
      "copyrightHolder": {
         "name": "Crown Copyright",
         "@type": "Organization"
      },
      "license": "https://developer.api.nhs.uk/terms",
      "author": {
         "url": "https://www.nhs.uk",
         "logo": "https://www.nhs.uk/nhscwebservices/documents/logo1.jpg",
         "email": "nhswebsite.servicedesk@nhs.net",
         "@type": "Organization",
         "name": "NHS website"
      },
      "about": {
         "@type": "WebPage",
         "name": "How to help your child gain weight",
         "alternateName": ""
      },
      "description": "Children need the right amount of calories to help support growth. If your child is underweight there are things you can do to help them gain weight.",
      "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight/",
      "genre": [],
      "keywords": "",
      "lastReviewed": [
         "2023-03-28T10:04:00+00:00",
         "2026-03-28T11:04:00+00:00"
      ],
      "hasPart": [],
      "relatedLink": [
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/",
            "name": "Children's weight",
            "linkRelationship": "Navigation",
            "position": 0
         },
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/national-child-measurement-programme/",
            "name": "The National Child Measurement Programme",
            "linkRelationship": "Navigation",
            "position": 1
         },
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/how-to-help-your-child-lose-weight/",
            "name": "How to help your child lose weight",
            "linkRelationship": "Navigation",
            "position": 2
         },
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/healthy-weight-children-advice-for-parents/",
            "name": "Advice for parents of healthy-weight children",
            "linkRelationship": "Navigation",
            "position": 3
         },
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight/",
            "name": "How to help your child gain weight",
            "linkRelationship": "Navigation",
            "position": 4
         }
      ],
      "dateModified": "2023-06-01T09:27:54+00:00",
      "mainEntityOfPage": [
         {
            "identifier": "0",
            "name": "section heading",
            "position": 0,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p><b>There could be several reasons your child or a child you care for is underweight. If it's because they're not getting enough calories there are things you can do to help.</b></p><p>It's important children get the right amount of calories, nutrients and minerals to support healthy growth.</p><p>The good news is that you can help them get more calories by making changes to what they eat and drink and encouraging healthy habits.</p><p>This information is for children aged 2 years old and over. If your child is under 2 years old, read about  <a href="https://www.nhs.uk/conditions/baby/weaning-and-feeding/">weaning and feeding</a>.</p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Information",
                  "identifier": "3",
                  "text": "<h2><b>Check if your child is underweight</b></h2><p>It can be difficult to know if your child is underweight. Growth spurts, illness and changes to their routine can have a big impact on their weight.</p><p>A good place to start is by calculating their body mass index (BMI).</p><p>Your child's result will be given as a centile (or percentile) and shows if they're a healthy weight for their gender, height and age.</p><p>You'll need to know their date of birth, height, weight and when you measured them.</p><p><a href="https://www.nhs.uk/live-well/healthy-weight/bmi-calculator/">Use the BMI healthy weight calculator</a></p>"
               },
               {
                  "position": 2,
                  "@type": "WebPageElement",
                  "name": "non-urgent",
                  "identifier": "5",
                  "text": "<h2>Speak to a GP or school nurse if:</h2><div ><ul><li>you’re worried your child is underweight</li><li>they've lost weight quickly without changing what they eat and drink</li><li>you're worried about their eating habits</li><li>you think they have a food intolerance or allergy</li><li>things you're trying yourself are not helping</li></ul></div>"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p><b>There could be several reasons your child or a child you care for is underweight. If it's because they're not getting enough calories there are things you can do to help.</b></p><p>It's important children get the right amount of calories, nutrients and minerals to support healthy growth.</p><p>The good news is that you can help them get more calories by making changes to what they eat and drink and encouraging healthy habits.</p><p>This information is for children aged 2 years old and over. If your child is under 2 years old, read about  <a href="https://www.nhs.uk/conditions/baby/weaning-and-feeding/">weaning and feeding</a>.</p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Information",
                  "identifier": "3",
                  "text": "<h2><b>Check if your child is underweight</b></h2><p>It can be difficult to know if your child is underweight. Growth spurts, illness and changes to their routine can have a big impact on their weight.</p><p>A good place to start is by calculating their body mass index (BMI).</p><p>Your child's result will be given as a centile (or percentile) and shows if they're a healthy weight for their gender, height and age.</p><p>You'll need to know their date of birth, height, weight and when you measured them.</p><p><a href="https://www.nhs.uk/live-well/healthy-weight/bmi-calculator/">Use the BMI healthy weight calculator</a></p>"
               },
               {
                  "position": 2,
                  "@type": "WebPageElement",
                  "name": "non-urgent",
                  "identifier": "5",
                  "text": "<h2>Speak to a GP or school nurse if:</h2><div ><ul><li>you’re worried your child is underweight</li><li>they've lost weight quickly without changing what they eat and drink</li><li>you're worried about their eating habits</li><li>you think they have a food intolerance or allergy</li><li>things you're trying yourself are not helping</li></ul></div>"
               }
            ],
            "links": []
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 1,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "<div><h3>Do</h3><ul><li><p>include more starchy carbohydrates such as potatoes, bread or rice in meals</p></li><li><p>increase their calorie intake with healthy fats – add grated cheese to meals and make porridge with milk</p></li><li><p>give them high-calorie drinks in between meals, such as milkshakes or smoothies</p></li><li><p>encourage a healthy attitude to eating – include them in the food preparation and try to eat together</p></li><li><p>have snacks available if they get hungry between meals – try yoghurts, breadsticks and small sandwiches</p></li><li><p>help them get enough vitamins by giving children aged from 6 months old to 5 years old vitamin A, C and D drops every day</p></li><li><p>introduce new foods gradually and in small portions – if they're a fussy eater this will help them get used to new foods</p></li></ul></div>"
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "<div><h3>Don't</h3><ul><li><p>do not rely on unhealthy food for weight gain – swap cakes and crisps for a banana or cheese on crackers</p></li><li><p>do not give them drinks and snacks before eating – they might be too full to eat and will miss out on essential nutrients</p></li><li><p>try not to get frustrated if they do not eat everything on their plate – it might turn mealtimes into a negative experience</p></li><li><p>do not stop them exercising – physical activity will help them develop stronger bones and muscles</p></li></ul></div>"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "<div><h3>Do</h3><ul><li><p>include more starchy carbohydrates such as potatoes, bread or rice in meals</p></li><li><p>increase their calorie intake with healthy fats – add grated cheese to meals and make porridge with milk</p></li><li><p>give them high-calorie drinks in between meals, such as milkshakes or smoothies</p></li><li><p>encourage a healthy attitude to eating – include them in the food preparation and try to eat together</p></li><li><p>have snacks available if they get hungry between meals – try yoghurts, breadsticks and small sandwiches</p></li><li><p>help them get enough vitamins by giving children aged from 6 months old to 5 years old vitamin A, C and D drops every day</p></li><li><p>introduce new foods gradually and in small portions – if they're a fussy eater this will help them get used to new foods</p></li></ul></div>"
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "<div><h3>Don't</h3><ul><li><p>do not rely on unhealthy food for weight gain – swap cakes and crisps for a banana or cheese on crackers</p></li><li><p>do not give them drinks and snacks before eating – they might be too full to eat and will miss out on essential nutrients</p></li><li><p>try not to get frustrated if they do not eat everything on their plate – it might turn mealtimes into a negative experience</p></li><li><p>do not stop them exercising – physical activity will help them develop stronger bones and muscles</p></li></ul></div>"
               }
            ],
            "headline": "Tips to help your child gain weight",
            "links": []
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 2,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>These recipes are nutritionally balanced and not specifically created for weight gain but you might find a new family favourite.</p><p><a href="https://www.nhs.uk/healthier-families/recipes/">Visit the NHS Healthier Families website</a></p><h3><b>The Eatwell Guide</b></h3><p>Children from the age of 2 years old should start to follow the Eatwell Guide for a healthy, balanced diet.</p><p><a href="https://www.nhs.uk/live-well/eat-well/food-guidelines-and-food-labels/the-eatwell-guide/">The Eatwell Guide</a></p><h3><b>Understanding fat</b></h3><p>Fat is an essential part of a balanced diet. Find out how much is recommended and the difference between saturated and unsaturated fat.</p><p><a href="https://www.nhs.uk/live-well/eat-well/food-types/different-fats-nutrition/">Fat: the facts</a></p><h3><b>Exercise guidelines</b></h3><p>Like adults, children should try to reach a certain amount of daily, or weekly activity. Guidelines are different for each age group.</p><ul><li><a href="https://www.nhs.uk/live-well/exercise/exercise-guidelines/physical-activity-guidelines-children-under-five-years/">Exercise guidelines for children under 5 years old</a></li><li><a href="https://www.nhs.uk/live-well/exercise/exercise-guidelines/physical-activity-guidelines-children-and-young-people/">Exercise guidelines for children and young people aged 5 to 18 years old</a></li></ul>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Over 100 child-friendly recipes"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>These recipes are nutritionally balanced and not specifically created for weight gain but you might find a new family favourite.</p><p><a href="https://www.nhs.uk/healthier-families/recipes/">Visit the NHS Healthier Families website</a></p><h3><b>The Eatwell Guide</b></h3><p>Children from the age of 2 years old should start to follow the Eatwell Guide for a healthy, balanced diet.</p><p><a href="https://www.nhs.uk/live-well/eat-well/food-guidelines-and-food-labels/the-eatwell-guide/">The Eatwell Guide</a></p><h3><b>Understanding fat</b></h3><p>Fat is an essential part of a balanced diet. Find out how much is recommended and the difference between saturated and unsaturated fat.</p><p><a href="https://www.nhs.uk/live-well/eat-well/food-types/different-fats-nutrition/">Fat: the facts</a></p><h3><b>Exercise guidelines</b></h3><p>Like adults, children should try to reach a certain amount of daily, or weekly activity. Guidelines are different for each age group.</p><ul><li><a href="https://www.nhs.uk/live-well/exercise/exercise-guidelines/physical-activity-guidelines-children-under-five-years/">Exercise guidelines for children under 5 years old</a></li><li><a href="https://www.nhs.uk/live-well/exercise/exercise-guidelines/physical-activity-guidelines-children-and-young-people/">Exercise guidelines for children and young people aged 5 to 18 years old</a></li></ul>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Over 100 child-friendly recipes"
               }
            ],
            "headline": "Further information",
            "links": []
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 3,
            "@type": "WebPageElement",
            "mainEntityOfPage": [],
            "description": "",
            "hasPart": []
         }
      ],
      "id": 88,
      "route_mapping": "/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight/",
      "redirect": ""
   }
}

Only mydex_mrd_links flag set 🔗︎ click to copy

Example: https://api-mrd.mydex.org/live-well/eat-well/how-to-eat-a-balanced-diet/eating-a-balanced-diet?mydex_mrd_links=true

To demonstrate the changes to the links, they have been highlighted in yellow.

{
   "data": {
      "@context": "http://schema.org",
      "@type": "MedicalWebPage",
      "name": "Eating a balanced diet",
      "copyrightHolder": {
         "name": "Crown Copyright",
         "@type": "Organization"
      },
      "license": "https://developer.api.nhs.uk/terms",
      "author": {
         "url": "https://www.nhs.uk",
         "logo": "https://www.nhs.uk/nhscwebservices/documents/logo1.jpg",
         "email": "nhswebsite.servicedesk@nhs.net",
         "@type": "Organization",
         "name": "NHS website"
      },
      "about": {
         "@type": "WebPage",
         "name": "Eating a balanced diet",
         "alternateName": ""
      },
      "description": "Find out about the major food groups and how to balance them for a healthy diet.",
      "url": "https://www.nhs.uk/live-well/eat-well/how-to-eat-a-balanced-diet/eating-a-balanced-diet/",
      "genre": [],
      "keywords": "",
      "lastReviewed": [
         "2022-07-28T23:00:00+00:00",
         "2025-07-28T23:00:00+00:00"
      ],
      "hasPart": [],
      "relatedLink": [
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet",
            "name": "How to eat a balanced diet",
            "linkRelationship": "Navigation",
            "position": 0
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet/eating-a-balanced-diet",
            "name": "Eating a balanced diet",
            "linkRelationship": "Navigation",
            "position": 1
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet/the-vegan-diet",
            "name": "The vegan diet",
            "linkRelationship": "Navigation",
            "position": 2
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet/the-vegetarian-diet",
            "name": "The vegetarian diet",
            "linkRelationship": "Navigation",
            "position": 3
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet/what-are-processed-foods",
            "name": "Eating processed foods",
            "linkRelationship": "Navigation",
            "position": 4
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet/eat-less-saturated-fat",
            "name": "How to eat less saturated fat",
            "linkRelationship": "Navigation",
            "position": 5
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet/how-to-cut-down-on-sugar-in-your-diet",
            "name": "How to cut down on sugar in your diet",
            "linkRelationship": "Navigation",
            "position": 6
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet/eight-tips-for-healthy-eating",
            "name": "8 tips for healthy eating",
            "linkRelationship": "Navigation",
            "position": 7
         }
      ],
      "dateModified": "2023-02-10T09:01:01+00:00",
      "mainEntityOfPage": [
         {
            "identifier": "0",
            "name": "section heading",
            "position": 0,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p><b>Eating a healthy, balanced diet is an important part of maintaining good health, and can help you feel your best.</b></p><p>This means eating a wide variety of foods in the right proportions, and consuming the right amount of food and drink to achieve and maintain a healthy body weight.</p><p>This page covers healthy eating advice for the general population.</p><p>People with special dietary needs or a medical condition should ask their doctor or a registered dietitian for advice.</p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p><b>Eating a healthy, balanced diet is an important part of maintaining good health, and can help you feel your best.</b></p><p>This means eating a wide variety of foods in the right proportions, and consuming the right amount of food and drink to achieve and maintain a healthy body weight.</p><p>This page covers healthy eating advice for the general population.</p><p>People with special dietary needs or a medical condition should ask their doctor or a registered dietitian for advice.</p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               }
            ],
            "links": []
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 1,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p></p><h2>Food groups in your diet</h2><p><a index-link=[0]>The Eatwell Guide</a> shows that to have a healthy, balanced diet, people should try to:</p><ul><li>eat at least 5 portions of a variety of fruit and vegetables every day (see <a index-link=[1]>5 A Day</a>)</li><li>base meals on higher fibre starchy foods like potatoes, bread, rice or pasta</li><li>have some dairy or dairy alternatives (such as soya drinks)</li><li>eat some beans, pulses, fish, eggs, meat and other protein</li><li>choose unsaturated oils and spreads, and eat them in small amounts</li><li><a index-link=[2]>drink plenty of fluids</a> (at least 6 to 8 glasses a day)</li></ul><p>If you're having foods and drinks that are high in fat, salt and sugar, have these less often and in small amounts.</p><p>Try to choose a variety of different foods from the 5 main food groups to get a wide range of nutrients.</p><p>Most people in the UK eat and drink too many calories, too much saturated fat, sugar and salt, and not enough fruit, vegetables, oily fish or <a index-link=[3]>fibre</a>.</p><p>The Eatwell Guide does not apply to children under the age of 2 because they have different nutritional needs.</p><p>Between the ages of 2 and 5 years, children should gradually move to eating the same foods as the rest of the family in the proportions shown in the Eatwell Guide.</p><p></p><p></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p></p><h2>Food groups in your diet</h2><p><a index-link=[0]>The Eatwell Guide</a> shows that to have a healthy, balanced diet, people should try to:</p><ul><li>eat at least 5 portions of a variety of fruit and vegetables every day (see <a index-link=[1]>5 A Day</a>)</li><li>base meals on higher fibre starchy foods like potatoes, bread, rice or pasta</li><li>have some dairy or dairy alternatives (such as soya drinks)</li><li>eat some beans, pulses, fish, eggs, meat and other protein</li><li>choose unsaturated oils and spreads, and eat them in small amounts</li><li><a index-link=[2]>drink plenty of fluids</a> (at least 6 to 8 glasses a day)</li></ul><p>If you're having foods and drinks that are high in fat, salt and sugar, have these less often and in small amounts.</p><p>Try to choose a variety of different foods from the 5 main food groups to get a wide range of nutrients.</p><p>Most people in the UK eat and drink too many calories, too much saturated fat, sugar and salt, and not enough fruit, vegetables, oily fish or <a index-link=[3]>fibre</a>.</p><p>The Eatwell Guide does not apply to children under the age of 2 because they have different nutritional needs.</p><p>Between the ages of 2 and 5 years, children should gradually move to eating the same foods as the rest of the family in the proportions shown in the Eatwell Guide.</p><p></p><p></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               }
            ],
            "links": [
               {
                  "key": "index-link=[0]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/food-guidelines-and-food-labels/the-eatwell-guide"
               },
               {
                  "key": "index-link=[1]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/5-a-day-what-counts"
               },
               {
                  "key": "index-link=[2]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/food-guidelines-and-food-labels/water-drinks-nutrition"
               },
               {
                  "key": "index-link=[3]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/digestive-health/how-to-get-more-fibre-into-your-diet"
               }
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 2,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Fruit and vegetables are a good source of <a href="https://www.nhs.uk/conditions/vitamins-and-minerals/">vitamins and minerals</a> and fibre, and should make up just over a third of the food you eat each day.</p><p>It's recommended that you eat at least 5 portions of a variety of fruit and vegetables every day. They can be fresh, frozen, canned, dried or juiced.</p><p>There's evidence that people who eat at least 5 portions of fruit and vegetables a day have a lower risk of heart disease, stroke and some cancers.</p><p>Eating 5 portions is not as hard as it sounds.</p><p>A portion is:</p><ul><li>80g of fresh, canned or frozen fruit and vegetables</li><li>30g of dried fruit – which should be kept to mealtimes</li><li>150ml glass of fruit juice or smoothie – but do not have more than 1 portion a day as these drinks are sugary and can damage teeth</li></ul><p>Just 1 apple, banana, pear or similar-sized fruit is 1 portion each.</p><p>A slice of pineapple or melon is also 1 portion, and 3 heaped tablespoons of vegetables is another portion.</p><p>Adding a tablespoon of dried fruit, such as raisins, to your morning cereal is an easy way to get 1 portion.</p><p>You could also swap your mid-morning biscuit for a banana, and add a side salad to your lunch. </p><p>In the evening, have a portion of vegetables with dinner and fresh fruit with plain, lower fat yoghurt for dessert to reach your 5 A Day. </p><p><a index-link=[0]>Find out more about what counts towards your 5 A Day</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Fruit and vegetables: are you getting your 5 A Day?"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Fruit and vegetables are a good source of <a href="https://www.nhs.uk/conditions/vitamins-and-minerals/">vitamins and minerals</a> and fibre, and should make up just over a third of the food you eat each day.</p><p>It's recommended that you eat at least 5 portions of a variety of fruit and vegetables every day. They can be fresh, frozen, canned, dried or juiced.</p><p>There's evidence that people who eat at least 5 portions of fruit and vegetables a day have a lower risk of heart disease, stroke and some cancers.</p><p>Eating 5 portions is not as hard as it sounds.</p><p>A portion is:</p><ul><li>80g of fresh, canned or frozen fruit and vegetables</li><li>30g of dried fruit – which should be kept to mealtimes</li><li>150ml glass of fruit juice or smoothie – but do not have more than 1 portion a day as these drinks are sugary and can damage teeth</li></ul><p>Just 1 apple, banana, pear or similar-sized fruit is 1 portion each.</p><p>A slice of pineapple or melon is also 1 portion, and 3 heaped tablespoons of vegetables is another portion.</p><p>Adding a tablespoon of dried fruit, such as raisins, to your morning cereal is an easy way to get 1 portion.</p><p>You could also swap your mid-morning biscuit for a banana, and add a side salad to your lunch. </p><p>In the evening, have a portion of vegetables with dinner and fresh fruit with plain, lower fat yoghurt for dessert to reach your 5 A Day. </p><p><a index-link=[0]>Find out more about what counts towards your 5 A Day</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Fruit and vegetables: are you getting your 5 A Day?"
               }
            ],
            "links": [
               {
                  "key": "index-link=[0]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/5-a-day/5-a-day-what-counts"
               }
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 3,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Starchy foods should make up just over a third of everything you eat. This means your meals should be based on these foods.</p><p>Choose wholegrain or wholemeal varieties of starchy foods, such as brown rice, wholewheat pasta, and brown, wholemeal or higher fibre white bread.</p><p>They contain more fibre, and usually more vitamins and minerals, than white varieties.</p><p>Potatoes with the skins on are a great source of fibre and vitamins. For example, when having boiled potatoes or a jacket potato, eat the skin too.</p><p><a index-link=[0]>Find out more about starchy foods</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Starchy foods in your diet"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Starchy foods should make up just over a third of everything you eat. This means your meals should be based on these foods.</p><p>Choose wholegrain or wholemeal varieties of starchy foods, such as brown rice, wholewheat pasta, and brown, wholemeal or higher fibre white bread.</p><p>They contain more fibre, and usually more vitamins and minerals, than white varieties.</p><p>Potatoes with the skins on are a great source of fibre and vitamins. For example, when having boiled potatoes or a jacket potato, eat the skin too.</p><p><a index-link=[0]>Find out more about starchy foods</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Starchy foods in your diet"
               }
            ],
            "links": [
               {
                  "key": "index-link=[0]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/food-types/starchy-foods-and-carbohydrates"
               }
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 4,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Milk and dairy foods, such as cheese and yoghurt, are good sources of protein. They also contain calcium, which helps keep your bones healthy.</p><p>Go for lower fat and lower sugar products where possible.</p><p>Choose semi-skimmed, 1% fat or skimmed milk, as well as lower fat hard cheeses or cottage cheese, and lower fat, lower sugar yoghurt.</p><p>Dairy alternatives, such as soya drinks, are also included in this food group.</p><p>When buying alternatives, choose unsweetened, calcium-fortified versions.</p><p><a index-link=[0]>Find out more about milk and dairy foods</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Milk and dairy foods (and alternatives)"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Milk and dairy foods, such as cheese and yoghurt, are good sources of protein. They also contain calcium, which helps keep your bones healthy.</p><p>Go for lower fat and lower sugar products where possible.</p><p>Choose semi-skimmed, 1% fat or skimmed milk, as well as lower fat hard cheeses or cottage cheese, and lower fat, lower sugar yoghurt.</p><p>Dairy alternatives, such as soya drinks, are also included in this food group.</p><p>When buying alternatives, choose unsweetened, calcium-fortified versions.</p><p><a index-link=[0]>Find out more about milk and dairy foods</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Milk and dairy foods (and alternatives)"
               }
            ],
            "links": [
               {
                  "key": "index-link=[0]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/food-types/milk-and-dairy-nutrition"
               }
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 5,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>These foods are all good sources of protein, which is essential for the body to grow and repair itself.</p><p>They're also good sources of a range of vitamins and minerals.</p><p>Meat is a good source of protein, vitamins and minerals, including iron, zinc and B vitamins. It's also one of the main sources of vitamin B12.</p><p>Choose lean cuts of meat and skinless poultry whenever possible to cut down on fat. Always cook meat thoroughly.</p><p>Try to eat less red and processed meat like bacon, ham and sausages.</p><p><a index-link=[0]>Find out more about including meat in your diet</a></p><p>Eggs and fish are also good sources of protein, and contain many vitamins and minerals. Oily fish is particularly rich in omega-3 fatty acids.</p><p>Aim to eat at least 2 portions of fish a week, including 1 portion of oily fish.</p><p>You can choose from fresh, frozen or canned, but remember that canned and smoked fish can often be high in salt.</p><p>Pulses, including beans, peas and lentils, are naturally very low in fat and high in fibre, protein, vitamins and minerals.</p><p>Nuts are high in fibre, and unsalted nuts make a good snack. But they do still contain high levels of fat, so eat them in moderation.</p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Beans, pulses, fish, eggs, meat and other proteins"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>These foods are all good sources of protein, which is essential for the body to grow and repair itself.</p><p>They're also good sources of a range of vitamins and minerals.</p><p>Meat is a good source of protein, vitamins and minerals, including iron, zinc and B vitamins. It's also one of the main sources of vitamin B12.</p><p>Choose lean cuts of meat and skinless poultry whenever possible to cut down on fat. Always cook meat thoroughly.</p><p>Try to eat less red and processed meat like bacon, ham and sausages.</p><p><a index-link=[0]>Find out more about including meat in your diet</a></p><p>Eggs and fish are also good sources of protein, and contain many vitamins and minerals. Oily fish is particularly rich in omega-3 fatty acids.</p><p>Aim to eat at least 2 portions of fish a week, including 1 portion of oily fish.</p><p>You can choose from fresh, frozen or canned, but remember that canned and smoked fish can often be high in salt.</p><p>Pulses, including beans, peas and lentils, are naturally very low in fat and high in fibre, protein, vitamins and minerals.</p><p>Nuts are high in fibre, and unsalted nuts make a good snack. But they do still contain high levels of fat, so eat them in moderation.</p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Beans, pulses, fish, eggs, meat and other proteins"
               }
            ],
            "links": [
               {
                  "key": "index-link=[0]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/food-types/meat-nutrition"
               }
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 6,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Some fat in the diet is essential, but on average people in the UK eat too much saturated fat.</p><p>It's important to get most of your fat from unsaturated oils and spreads.</p><p>Swapping to unsaturated fats can help <a index-link=[0]>lower cholesterol</a>.</p><p>Remember that all types of fat are high in energy and should be eaten in small amounts.</p><p><a index-link=[1]>Find out more about the different types of fats</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Oils and spreads"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Some fat in the diet is essential, but on average people in the UK eat too much saturated fat.</p><p>It's important to get most of your fat from unsaturated oils and spreads.</p><p>Swapping to unsaturated fats can help <a index-link=[0]>lower cholesterol</a>.</p><p>Remember that all types of fat are high in energy and should be eaten in small amounts.</p><p><a index-link=[1]>Find out more about the different types of fats</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Oils and spreads"
               }
            ],
            "links": [
               {
                  "key": "index-link=[0]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/healthy-body/lower-your-cholesterol"
               },
               {
                  "key": "index-link=[1]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/food-types/different-fats-nutrition"
               }
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 7,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Too much saturated fat can increase the amount of cholesterol in the blood, which increases your risk of developing <a href="https://www.nhs.uk/conditions/coronary-heart-disease/">heart disease</a>.</p><p>Regularly consuming foods and drinks high in sugar increases your risk of <a href="https://www.nhs.uk/conditions/obesity/">obesity</a> and <a href="https://www.nhs.uk/conditions/tooth-decay/">tooth decay</a>.</p><p>Eating too much salt can raise your blood pressure, which increases your risk of getting heart disease or having a stroke.</p><p>See <a index-link=[0]>8 tips for healthy eating</a> to find out more about why you need to cut down on saturated fat, sugar and salt, which foods they're found in, and how to make healthier choices.</p><p><a index-link=[1]>Find out more about how to eat less saturated fat</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Eat less saturated fat, sugar and salt"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Too much saturated fat can increase the amount of cholesterol in the blood, which increases your risk of developing <a href="https://www.nhs.uk/conditions/coronary-heart-disease/">heart disease</a>.</p><p>Regularly consuming foods and drinks high in sugar increases your risk of <a href="https://www.nhs.uk/conditions/obesity/">obesity</a> and <a href="https://www.nhs.uk/conditions/tooth-decay/">tooth decay</a>.</p><p>Eating too much salt can raise your blood pressure, which increases your risk of getting heart disease or having a stroke.</p><p>See <a index-link=[0]>8 tips for healthy eating</a> to find out more about why you need to cut down on saturated fat, sugar and salt, which foods they're found in, and how to make healthier choices.</p><p><a index-link=[1]>Find out more about how to eat less saturated fat</a></p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Eat less saturated fat, sugar and salt"
               }
            ],
            "links": [
               {
                  "key": "index-link=[0]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet/eight-tips-for-healthy-eating"
               },
               {
                  "key": "index-link=[1]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/how-to-eat-a-balanced-diet/eat-less-saturated-fat"
               }
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 8,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Most adults in England are overweight or obese. Check whether you're a healthy weight using the <a index-link=[0]>BMI calculator</a>.</p><p>If you need to lose weight, you can use the <a href="https://www.nhs.uk/better-health/lose-weight/">NHS weight loss plan</a>. It's a free 12-week diet and exercise plan to help you lose weight and develop healthier habits. It has been designed to help you lose weight safely, and keep it off.</p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Need to lose weight?"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "<p>Most adults in England are overweight or obese. Check whether you're a healthy weight using the <a index-link=[0]>BMI calculator</a>.</p><p>If you need to lose weight, you can use the <a href="https://www.nhs.uk/better-health/lose-weight/">NHS weight loss plan</a>. It's a free 12-week diet and exercise plan to help you lose weight and develop healthier habits. It has been designed to help you lose weight safely, and keep it off.</p>",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Need to lose weight?"
               }
            ],
            "links": [
               {
                  "key": "index-link=[0]",
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/healthy-weight/bmi-calculator"
               }
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 9,
            "@type": "WebPageElement",
            "mainEntityOfPage": [],
            "description": "",
            "hasPart": []
         }
      ],
      "id": 78,
      "route_mapping": "/live-well/eat-well/how-to-eat-a-balanced-diet/eating-a-balanced-diet/",
      "redirect": ""
   }
}

Only no_html flag set 🔗︎ click to copy

Example: https://api-mrd.mydex.org/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight?no_html=true

Here the html tags have been stripped out and an array of links which were part of the html have been added to an array links[] . To demonstrate how the links have been handled, the links arrays have been highlighted in yellow.

{
   "data": {
      "@context": "http://schema.org",
      "@type": "MedicalWebPage",
      "name": "How to help your child gain weight",
      "copyrightHolder": {
         "name": "Crown Copyright",
         "@type": "Organization"
      },
      "license": "https://developer.api.nhs.uk/terms",
      "author": {
         "url": "https://www.nhs.uk",
         "logo": "https://www.nhs.uk/nhscwebservices/documents/logo1.jpg",
         "email": "nhswebsite.servicedesk@nhs.net",
         "@type": "Organization",
         "name": "NHS website"
      },
      "about": {
         "@type": "WebPage",
         "name": "How to help your child gain weight",
         "alternateName": ""
      },
      "description": "Children need the right amount of calories to help support growth. If your child is underweight there are things you can do to help them gain weight.",
      "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight/",
      "genre": [],
      "keywords": "",
      "lastReviewed": [
         "2023-03-28T10:04:00+00:00",
         "2026-03-28T11:04:00+00:00"
      ],
      "hasPart": [],
      "relatedLink": [
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/",
            "name": "Children's weight",
            "linkRelationship": "Navigation",
            "position": 0
         },
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/national-child-measurement-programme/",
            "name": "The National Child Measurement Programme",
            "linkRelationship": "Navigation",
            "position": 1
         },
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/how-to-help-your-child-lose-weight/",
            "name": "How to help your child lose weight",
            "linkRelationship": "Navigation",
            "position": 2
         },
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/healthy-weight-children-advice-for-parents/",
            "name": "Advice for parents of healthy-weight children",
            "linkRelationship": "Navigation",
            "position": 3
         },
         {
            "@type": "LinkRole",
            "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight/",
            "name": "How to help your child gain weight",
            "linkRelationship": "Navigation",
            "position": 4
         }
      ],
      "dateModified": "2023-06-01T09:27:54+00:00",
      "mainEntityOfPage": [
         {
            "identifier": "0",
            "name": "section heading",
            "position": 0,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "There could be several reasons your child or a child you care for is underweight. If it's because they're not getting enough calories there are things you can do to help. It's important children get the right amount of calories, nutrients and minerals to support healthy growth. The good news is that you can help them get more calories by making changes to what they eat and drink and encouraging healthy habits. This information is for children aged 2 years old and over. If your child is under 2 years old, read about  weaning and feeding.",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Information",
                  "identifier": "3",
                  "text": "Check if your child is underweight It can be difficult to know if your child is underweight. Growth spurts, illness and changes to their routine can have a big impact on their weight. A good place to start is by calculating their body mass index (BMI) . Your child's result will be given as a centile (or percentile) and shows if they're a healthy weight for their gender, height and age. You'll need to know their date of birth, height, weight and when you measured them. Use the BMI healthy weight calculator"
               },
               {
                  "position": 2,
                  "@type": "WebPageElement",
                  "name": "non-urgent",
                  "identifier": "5",
                  "text": "Speak to a GP or school nurse if: you’re worried your child is underweight they've lost weight quickly without changing what they eat and drink you're worried about their eating habits you think they have a food intolerance or allergy things you're trying yourself are not helping"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "There could be several reasons your child or a child you care for is underweight. If it's because they're not getting enough calories there are things you can do to help. It's important children get the right amount of calories, nutrients and minerals to support healthy growth. The good news is that you can help them get more calories by making changes to what they eat and drink and encouraging healthy habits. This information is for children aged 2 years old and over. If your child is under 2 years old, read about  weaning and feeding.",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Information",
                  "identifier": "3",
                  "text": "Check if your child is underweight It can be difficult to know if your child is underweight. Growth spurts, illness and changes to their routine can have a big impact on their weight. A good place to start is by calculating their body mass index (BMI) . Your child's result will be given as a centile (or percentile) and shows if they're a healthy weight for their gender, height and age. You'll need to know their date of birth, height, weight and when you measured them. Use the BMI healthy weight calculator"
               },
               {
                  "position": 2,
                  "@type": "WebPageElement",
                  "name": "non-urgent",
                  "identifier": "5",
                  "text": "Speak to a GP or school nurse if: you’re worried your child is underweight they've lost weight quickly without changing what they eat and drink you're worried about their eating habits you think they have a food intolerance or allergy things you're trying yourself are not helping"
               }
            ],
            "links": []
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 1,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "Do include more starchy carbohydrates such as potatoes, bread or rice in meals increase their calorie intake with healthy fats – add grated cheese to meals and make porridge with milk give them high-calorie drinks in between meals, such as milkshakes or smoothies encourage a healthy attitude to eating – include them in the food preparation and try to eat together have snacks available if they get hungry between meals – try yoghurts, breadsticks and small sandwiches help them get enough vitamins by giving children aged from 6 months old to 5 years old vitamin A, C and D drops every day introduce new foods gradually and in small portions – if they're a fussy eater this will help them get used to new foods"
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "Don't do not rely on unhealthy food for weight gain – swap cakes and crisps for a banana or cheese on crackers do not give them drinks and snacks before eating – they might be too full to eat and will miss out on essential nutrients try not to get frustrated if they do not eat everything on their plate – it might turn mealtimes into a negative experience do not stop them exercising – physical activity will help them develop stronger bones and muscles"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "Do include more starchy carbohydrates such as potatoes, bread or rice in meals increase their calorie intake with healthy fats – add grated cheese to meals and make porridge with milk give them high-calorie drinks in between meals, such as milkshakes or smoothies encourage a healthy attitude to eating – include them in the food preparation and try to eat together have snacks available if they get hungry between meals – try yoghurts, breadsticks and small sandwiches help them get enough vitamins by giving children aged from 6 months old to 5 years old vitamin A, C and D drops every day introduce new foods gradually and in small portions – if they're a fussy eater this will help them get used to new foods"
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "Don't do not rely on unhealthy food for weight gain – swap cakes and crisps for a banana or cheese on crackers do not give them drinks and snacks before eating – they might be too full to eat and will miss out on essential nutrients try not to get frustrated if they do not eat everything on their plate – it might turn mealtimes into a negative experience do not stop them exercising – physical activity will help them develop stronger bones and muscles"
               }
            ],
            "headline": "Tips to help your child gain weight",
            "links": []
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 2,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "These recipes are nutritionally balanced and not specifically created for weight gain but you might find a new family favourite. Visit the NHS Healthier Families website The Eatwell Guide Children from the age of 2 years old should start to follow the Eatwell Guide for a healthy, balanced diet. The Eatwell Guide Understanding fat Fat is an essential part of a balanced diet. Find out how much is recommended and the difference between saturated and unsaturated fat. Fat: the facts Exercise guidelines Like adults, children should try to reach a certain amount of daily, or weekly activity. Guidelines are different for each age group. Exercise guidelines for children under 5 years old Exercise guidelines for children and young people aged 5 to 18 years old",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Over 100 child-friendly recipes"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "These recipes are nutritionally balanced and not specifically created for weight gain but you might find a new family favourite. Visit the NHS Healthier Families website The Eatwell Guide Children from the age of 2 years old should start to follow the Eatwell Guide for a healthy, balanced diet. The Eatwell Guide Understanding fat Fat is an essential part of a balanced diet. Find out how much is recommended and the difference between saturated and unsaturated fat. Fat: the facts Exercise guidelines Like adults, children should try to reach a certain amount of daily, or weekly activity. Guidelines are different for each age group. Exercise guidelines for children under 5 years old Exercise guidelines for children and young people aged 5 to 18 years old",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Over 100 child-friendly recipes"
               }
            ],
            "headline": "Further information",
            "links": [
               "https://www.nhs.uk/healthier-families/recipes/",
               "https://www.nhs.uk/live-well/eat-well/food-guidelines-and-food-labels/the-eatwell-guide/",
               "https://www.nhs.uk/live-well/eat-well/food-types/different-fats-nutrition/",
               "https://www.nhs.uk/live-well/exercise/exercise-guidelines/physical-activity-guidelines-children-under-five-years/",
               "https://www.nhs.uk/live-well/exercise/exercise-guidelines/physical-activity-guidelines-children-and-young-people/"
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 3,
            "@type": "WebPageElement",
            "mainEntityOfPage": [],
            "description": "",
            "hasPart": []
         }
      ],
      "id": 88,
      "route_mapping": "/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight/",
      "redirect": ""
   }
}

Both no_html and mydex_mrd_links flags set 🔗︎ click to copy

Example: https://api-mrd.mydex.org/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight?no_html=true&mydex_mrd_links=true

As above, here you can see that all the html tags have been stripped out. Highlighted in yellow, you can see where links have been updated to use our MRD api endpoint and an array has been added to contain any links that were stripped out with the html.

{
   "data": {
      "@context": "http://schema.org",
      "@type": "MedicalWebPage",
      "name": "How to help your child gain weight",
      "copyrightHolder": {
         "name": "Crown Copyright",
         "@type": "Organization"
      },
      "license": "https://developer.api.nhs.uk/terms",
      "author": {
         "url": "https://www.nhs.uk",
         "logo": "https://www.nhs.uk/nhscwebservices/documents/logo1.jpg",
         "email": "nhswebsite.servicedesk@nhs.net",
         "@type": "Organization",
         "name": "NHS website"
      },
      "about": {
         "@type": "WebPage",
         "name": "How to help your child gain weight",
         "alternateName": ""
      },
      "description": "Children need the right amount of calories to help support growth. If your child is underweight there are things you can do to help them gain weight.",
      "url": "https://www.nhs.uk/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight/",
      "genre": [],
      "keywords": "",
      "lastReviewed": [
         "2023-03-28T10:04:00+00:00",
         "2026-03-28T11:04:00+00:00"
      ],
      "hasPart": [],
      "relatedLink": [
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/healthy-weight/childrens-weight",
            "name": "Children's weight",
            "linkRelationship": "Navigation",
            "position": 0
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/healthy-weight/childrens-weight/national-child-measurement-programme",
            "name": "The National Child Measurement Programme",
            "linkRelationship": "Navigation",
            "position": 1
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/healthy-weight/childrens-weight/how-to-help-your-child-lose-weight",
            "name": "How to help your child lose weight",
            "linkRelationship": "Navigation",
            "position": 2
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/healthy-weight/childrens-weight/healthy-weight-children-advice-for-parents",
            "name": "Advice for parents of healthy-weight children",
            "linkRelationship": "Navigation",
            "position": 3
         },
         {
            "@type": "LinkRole",
            "url": "https://api-mrd-dev01-local.mixcic.eu/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight",
            "name": "How to help your child gain weight",
            "linkRelationship": "Navigation",
            "position": 4
         }
      ],
      "dateModified": "2023-06-01T09:27:54+00:00",
      "mainEntityOfPage": [
         {
            "identifier": "0",
            "name": "section heading",
            "position": 0,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "There could be several reasons your child or a child you care for is underweight. If it's because they're not getting enough calories there are things you can do to help. It's important children get the right amount of calories, nutrients and minerals to support healthy growth. The good news is that you can help them get more calories by making changes to what they eat and drink and encouraging healthy habits. This information is for children aged 2 years old and over. If your child is under 2 years old, read about  weaning and feeding.",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Information",
                  "identifier": "3",
                  "text": "Check if your child is underweight It can be difficult to know if your child is underweight. Growth spurts, illness and changes to their routine can have a big impact on their weight. A good place to start is by calculating their body mass index (BMI) . Your child's result will be given as a centile (or percentile) and shows if they're a healthy weight for their gender, height and age. You'll need to know their date of birth, height, weight and when you measured them. Use the BMI healthy weight calculator"
               },
               {
                  "position": 2,
                  "@type": "WebPageElement",
                  "name": "non-urgent",
                  "identifier": "5",
                  "text": "Speak to a GP or school nurse if: you’re worried your child is underweight they've lost weight quickly without changing what they eat and drink you're worried about their eating habits you think they have a food intolerance or allergy things you're trying yourself are not helping"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "There could be several reasons your child or a child you care for is underweight. If it's because they're not getting enough calories there are things you can do to help. It's important children get the right amount of calories, nutrients and minerals to support healthy growth. The good news is that you can help them get more calories by making changes to what they eat and drink and encouraging healthy habits. This information is for children aged 2 years old and over. If your child is under 2 years old, read about  weaning and feeding.",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": ""
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Information",
                  "identifier": "3",
                  "text": "Check if your child is underweight It can be difficult to know if your child is underweight. Growth spurts, illness and changes to their routine can have a big impact on their weight. A good place to start is by calculating their body mass index (BMI) . Your child's result will be given as a centile (or percentile) and shows if they're a healthy weight for their gender, height and age. You'll need to know their date of birth, height, weight and when you measured them. Use the BMI healthy weight calculator"
               },
               {
                  "position": 2,
                  "@type": "WebPageElement",
                  "name": "non-urgent",
                  "identifier": "5",
                  "text": "Speak to a GP or school nurse if: you’re worried your child is underweight they've lost weight quickly without changing what they eat and drink you're worried about their eating habits you think they have a food intolerance or allergy things you're trying yourself are not helping"
               }
            ],
            "links": []
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 1,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "Do include more starchy carbohydrates such as potatoes, bread or rice in meals increase their calorie intake with healthy fats – add grated cheese to meals and make porridge with milk give them high-calorie drinks in between meals, such as milkshakes or smoothies encourage a healthy attitude to eating – include them in the food preparation and try to eat together have snacks available if they get hungry between meals – try yoghurts, breadsticks and small sandwiches help them get enough vitamins by giving children aged from 6 months old to 5 years old vitamin A, C and D drops every day introduce new foods gradually and in small portions – if they're a fussy eater this will help them get used to new foods"
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "Don't do not rely on unhealthy food for weight gain – swap cakes and crisps for a banana or cheese on crackers do not give them drinks and snacks before eating – they might be too full to eat and will miss out on essential nutrients try not to get frustrated if they do not eat everything on their plate – it might turn mealtimes into a negative experience do not stop them exercising – physical activity will help them develop stronger bones and muscles"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "Do include more starchy carbohydrates such as potatoes, bread or rice in meals increase their calorie intake with healthy fats – add grated cheese to meals and make porridge with milk give them high-calorie drinks in between meals, such as milkshakes or smoothies encourage a healthy attitude to eating – include them in the food preparation and try to eat together have snacks available if they get hungry between meals – try yoghurts, breadsticks and small sandwiches help them get enough vitamins by giving children aged from 6 months old to 5 years old vitamin A, C and D drops every day introduce new foods gradually and in small portions – if they're a fussy eater this will help them get used to new foods"
               },
               {
                  "position": 1,
                  "@type": "WebPageElement",
                  "name": "Do/Don't",
                  "identifier": "9",
                  "text": "Don't do not rely on unhealthy food for weight gain – swap cakes and crisps for a banana or cheese on crackers do not give them drinks and snacks before eating – they might be too full to eat and will miss out on essential nutrients try not to get frustrated if they do not eat everything on their plate – it might turn mealtimes into a negative experience do not stop them exercising – physical activity will help them develop stronger bones and muscles"
               }
            ],
            "headline": "Tips to help your child gain weight",
            "links": []
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 2,
            "@type": "WebPageElement",
            "mainEntityOfPage": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "These recipes are nutritionally balanced and not specifically created for weight gain but you might find a new family favourite. Visit the NHS Healthier Families website The Eatwell Guide Children from the age of 2 years old should start to follow the Eatwell Guide for a healthy, balanced diet. The Eatwell Guide Understanding fat Fat is an essential part of a balanced diet. Find out how much is recommended and the difference between saturated and unsaturated fat. Fat: the facts Exercise guidelines Like adults, children should try to reach a certain amount of daily, or weekly activity. Guidelines are different for each age group. Exercise guidelines for children under 5 years old Exercise guidelines for children and young people aged 5 to 18 years old",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Over 100 child-friendly recipes"
               }
            ],
            "description": "",
            "hasPart": [
               {
                  "position": 0,
                  "identifier": "1",
                  "text": "These recipes are nutritionally balanced and not specifically created for weight gain but you might find a new family favourite. Visit the NHS Healthier Families website The Eatwell Guide Children from the age of 2 years old should start to follow the Eatwell Guide for a healthy, balanced diet. The Eatwell Guide Understanding fat Fat is an essential part of a balanced diet. Find out how much is recommended and the difference between saturated and unsaturated fat. Fat: the facts Exercise guidelines Like adults, children should try to reach a certain amount of daily, or weekly activity. Guidelines are different for each age group. Exercise guidelines for children under 5 years old Exercise guidelines for children and young people aged 5 to 18 years old",
                  "@type": "WebPageElement",
                  "name": "markdown",
                  "headline": "Over 100 child-friendly recipes"
               }
            ],
            "headline": "Further information",
            "links": [
               {
                  "link": "https://www.nhs.uk/healthier-families/recipes/"
               },
               {
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/food-guidelines-and-food-labels/the-eatwell-guide"
               },
               {
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/eat-well/food-types/different-fats-nutrition"
               },
               {
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/exercise/exercise-guidelines/physical-activity-guidelines-children-under-five-years"
               },
               {
                  "mrd-api-link": "https://api-mrd-dev01-local.mixcic.eu/live-well/exercise/exercise-guidelines/physical-activity-guidelines-children-and-young-people"
               }
            ]
         },
         {
            "identifier": "0",
            "name": "section heading",
            "position": 3,
            "@type": "WebPageElement",
            "mainEntityOfPage": [],
            "description": "",
            "hasPart": []
         }
      ],
      "id": 88,
      "route_mapping": "/live-well/healthy-weight/childrens-weight/how-to-help-your-child-gain-weight/",
      "redirect": ""
   }
}