Accessing articles

Healthily hosts a library of articles related to several different conditions that are useful as an additional resource to the user.

The articles API endpoints allows programmatic access to this library:

GET https://portal.your.md/api/v1/article/{id} - for a single article

GET https://portal.your.md/api/v1/articles?ids={id1},{id2} - for multiple articles (max 20 per call)

Example request

curl --location 'https://portal.your.md/api/v1/articles?ids=migraine,con-ovulation' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'x-api-key: YOUR_API_KEY'

Example response - sections removed

{
    "articles": [
        {
            "id": "con-ovulation",
            "title": "Ovulation – what is it and how can you tell when you’re ovulating?",
            "snippet": "Trying for a baby? Understanding ovulation – when your body releases an egg for fertilisation – can help you get pregnant. Here’s what you need to know.",
            "reading_time_minutes": 6,
            "paragraphs": [
                {
                    "title": "Overview",
                    "content": "Ovulation happens as part of your monthly menstrual cycle. It's when 1 of your ovaries releases an egg and if this egg is fertilised by sperm, you can become pregnant. \n\nOnce your periods start during puberty, you’ll usually release an egg (ovulate) about once a month until you reach the menopause – when your periods stop and you’re no longer able to get pregnant.\n\nUnderstanding more about ovulation, and the signs to look out for, can be helpful if you’re trying for a baby. Read on to learn more."
                }
            ],
            "target_images": {
                "header": "https://images.ctfassets.net/iqo3fk8od6t9/786eNNIBcCMTrkKdY5IczX/761fd8a392f6e147a1dfcc94fcf3f41a/Ovulation.png",
                "topic": "https://images.ctfassets.net/iqo3fk8od6t9/2GzemRR1nVehe1HSznuLtP/c0faaa09d73fc22d6d0e027a90a20cec/Ovulation.jpg",
                "category": "https://images.ctfassets.net/iqo3fk8od6t9/28DRNEfselXRYAL9OwoaBq/9f4d8fb075077562a59168e645326d95/Womens-health-min.jpg"
            },
            "authors": [
                {
                    "name": "Joana Doe",
                    "job_title": "Digital sub-editor",
                    "bio": "Joana Doe is a journalist and editor with 20 years' experience, much of it working for medical magazines.",
                    "team": "Contributors",
                    "photo_url": "https://images.ctfassets.net/iqo3fk8od6t9/5JCWmZ9GOUGBb7S6fhQS2M/8b969dec63f8458a9c98e9e847e6e13b/dummy.png"
                }
            ],
            "editors": [
                {
                    "name": "Joana Doe",
                    "job_title": "Former contributor",
                    "bio": "Joana Doe has been sub-editing and writing for magazines, websites and major brands, such as Boots and Marks & Spencer, for more than 17 years, and has a particular passion for health-related content.",
                    "team": "Contributors",
                    "photo_url": "https://images.ctfassets.net/iqo3fk8od6t9/5JCWmZ9GOUGBb7S6fhQS2M/8b969dec63f8458a9c98e9e847e6e13b/dummy.png"
                }
            ],
            "reviewers": [
                {
                    "name": "Dr Joana Doe",
                    "job_title": "Clinical content reviewer, MBBS BSc (Hons) DTMH DFSRH MRCGP",
                    "bio": "Joana Doe is a qualified general practitioner (GP; family doctor) with interests in tropical and travel medicine, family planning and sexual health.",
                    "team": "Medical team",
                    "photo_url": "https://images.ctfassets.net/iqo3fk8od6t9/5JCWmZ9GOUGBb7S6fhQS2M/8b969dec63f8458a9c98e9e847e6e13b/dummy.png"
                }
            ],
            "references": "Ovulation: Frequently Asked Questions [Internet]. American Pregnancy Association. 2021 [cited 15 November 2021]. Available [here](https://americanpregnancy.org/getting-pregnant/ovulation-faqs)\n\n",
            "published_date": "2022-01-06",
            "reviewed_date": "2022-01-06",
            "next_review_date": "2025-01-06",
            "disclaimer": [
                {
                    "type": "PARAGRAPH",
                    "format": "MARKDOWN",
                    "value": "**Important:** This article provides useful information but is not a substitute for medical advice. Always consult a healthcare professional before making decisions about your health."
                }
            ]
        },
        {
            "id": "migraine",
            "title": "Migraine – how to manage it",
            "snippet": "A migraine usually means you feel bad head pain on 1 side, sometimes with other symptoms such as nausea (feeling sick). Discover types and triggers, plus when to see a doctor.",
            "summary": "A migraine usually means you feel bad head pain on 1 side, sometimes with other symptoms such as nausea (feeling sick), or seeing flashing lights (aura). You can get migraines several times a week or every now and then. Pain and symptoms can be so bad they can stop you going about your day. Find out how to get relief and manage your migraine.",
            "reading_time_minutes": 6,
            "paragraphs": [
                {
                    "content": "Migraine is a common health condition that affects 1 adult in every 7 across the globe.\n\nIt usually feels like a very bad headache that throbs on 1 side of the head, and can come with other symptoms such as sensitivity to lights, noise, and smells, as well as nausea (feeling sick) or vomiting (being sick).\n\nA migraine attack usually lasts from around 4 hours up to 3 days, and you may get symptoms before and after you have pain.\n\nFind out more about causes, plus what can help to ease your migraine."
                }
            ],
            "target_images": {
                "header": "https://images.ctfassets.net/iqo3fk8od6t9/4Ej7uM4x17y3lGdw2MeMir/45cc352bd90b614ab08fe859a9b19f53/iStock-1275798938.jpg",
                "topic": "https://images.ctfassets.net/iqo3fk8od6t9/1Y2pB8dOqQW0gfoTrmA5XR/8c902260e89f285c918f8ba27c4b849e/African_woman_sitting_on_couch_feels_unhappy_having_problems.jpg",
                "category": "https://images.ctfassets.net/iqo3fk8od6t9/4TUrRI22qxOzHwVfnhf6vw/0c879a5f82bfc39cb898d5070c97af5f/Brain-and-nervous-system-min.jpg"
            },
            "authors": [
                {
                    "name": "Joana Doe",
                    "job_title": "Digital sub-editor",
                    "bio": "Joana Doe is a journalist and editor with 20 years' experience, much of it working for medical magazines.",
                    "team": "Contributors",
                    "photo_url": "https://images.ctfassets.net/iqo3fk8od6t9/5JCWmZ9GOUGBb7S6fhQS2M/8b969dec63f8458a9c98e9e847e6e13b/dummy.png"
                }
            ],
            "editors": [
                {
                    "name": "Joana Doe",
                    "job_title": "Former contributor",
                    "bio": "Joana Doe has been sub-editing and writing for magazines, websites and major brands, such as Boots and Marks & Spencer, for more than 17 years, and has a particular passion for health-related content.",
                    "team": "Contributors",
                    "photo_url": "https://images.ctfassets.net/iqo3fk8od6t9/5JCWmZ9GOUGBb7S6fhQS2M/8b969dec63f8458a9c98e9e847e6e13b/dummy.png"
                }
            ],
            "reviewers": [
                {
                    "name": "Dr Joana Doe",
                    "job_title": "Clinical content reviewer, MBBS BSc (Hons) DTMH DFSRH MRCGP",
                    "bio": "Joana Doe is a qualified general practitioner (GP; family doctor) with interests in tropical and travel medicine, family planning and sexual health.",
                    "team": "Medical team",
                    "photo_url": "https://images.ctfassets.net/iqo3fk8od6t9/5JCWmZ9GOUGBb7S6fhQS2M/8b969dec63f8458a9c98e9e847e6e13b/dummy.png"
                }
            ],
            "references": "Headache disorders: How common are headaches? [Internet]. www.who.int. 2014. Available from: https://www.who.int/news-room/questions-and-answers/item/headache-disorders-how-common-are-headaches\n\nWhat is migraine? [Internet]. The Migraine Trust. Available from: https://migrainetrust.org/understand-migraine/what-is-migraine/#page-section-1\n\n",
            "published_date": "2025-09-10",
            "reviewed_date": "2025-09-10",
            "next_review_date": "2028-09-09",
            "disclaimer": [
                {
                    "type": "PARAGRAPH",
                    "format": "MARKDOWN",
                    "value": "**Important:** This article provides useful information but is not a substitute for medical advice. Always consult a healthcare professional before making decisions about your health."
                }
            ]
        }
    ]
}

Article summary and snippet

  • summary is the opening of the article, in Markdown, formatted the same way as paragraph content. Show it above paragraphs: it is not repeated in paragraphs. Not every article has a summary, and the field is left out when there is none.
  • snippet is a short plain-text description of the article. It is deprecated: use summary for the article page. We recommend using the snippet only on article cards.

Article disclaimer

GET /api/v1/article/{id} returns disclaimer on the article object. GET /api/v1/articles?ids=… returns it on each object in articles.

Display all messages in the disclaimer array with the article, in the order returned. Use each message’s type and format to render its value.


Did this page help you?