# MedlinePlus API: Explain a lab test

> Explains a MedlinePlus medical test: what it measures, why it is ordered, how it is done, preparation, risks, and what the results mean.

Unofficial. Not affiliated with or endorsed by MedlinePlus.

- Page: https://fous.com/methods/medlineplus.gov/explain-lab-test
- Method: `medlineplus.gov/explain_lab_test`, version 1
- Website: medlineplus.gov
- Returns: test name, other names, explanation sections, page link
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `test` | string | yes | `"A1C"` | Test name on a lab form or report, for example A1C, CBC, or TSH. |

## Output

From a run on Oct 23, 2026, shortened. Its input:

```json
{
  "test": "A1C"
}
```

Its output:

```json
{
  "risks": "There is very little risk to having a blood test. You may have slight pain or bruising at the spot where the needle was put in, but most symptoms go away quickly.",
  "used_for": "Your blood glucose level changes all the time. If you're checking it at home, you are measuring what your blood glucose level is at that time. An A1C test gives you an average level of your blood glucose level over the past two to three months.\nAn A1C test may be used to screen for or diagnose:\n• Ty…",
  "page_link": "https://medlineplus.gov/lab-tests/hemoglobin-a1c-hba1c-test/",
  "test_name": "Hemoglobin A1C (HbA1c) Test",
  "what_it_is": "A hemoglobin A1C (HbA1C) test is a blood test that shows your average level of blood glucose , also called blood sugar, over the past two to three months.\nGlucose is a type of sugar in your blood that comes from the foods you eat. Your cells use glucose for energy. A hormone called insulin helps glu…",
  "other_names": [
    "HbA1C",
    "A1C",
    "glycohemoglobin"
  ],
  "what_happens": "A health care professional will take a blood sample from a vein in your arm, using a small needle. After the needle is inserted, a small amount of blood will be collected into a test tube or vial. You may feel a little sting when the needle goes in or out. This usually takes less than five minutes.",
  "how_to_prepare": "Certain medicines such as opioids and some HIV medicines may affect your results, so tell your provider about everything you take. But don't stop taking any medicines unless your provider tells you to. Also, let your health care provider know if you are pregnant, since this may affect your results.",
  "what_results_mean": "A1C results tell you what percentage of your hemoglobin is coated with glucose. The ranges are just a guide to what is normal. What's normal for you depends on your health, age, and other factors. Ask your provider what A1C percentage is healthy for you.\nTo diagnose diabetes or prediabetes, the perc…",
  "why_you_might_need_it": "The Centers for Disease Control (CDC) recommends A1C testing for diabetes and prediabetes if:\n• You are over age 45. If your results are normal, your provider will tell you how often you should be tested based on your age and risk factors. If your results show you have prediabetes, you will usually …"
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"medlineplus.gov/explain_lab_test","input":{"test":"A1C"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- What does a TSH blood test measure and why would my doctor order it?
- Can you explain the CBC test, what it checks, and how to prepare for it?
- I got an A1C result on my lab report, what does that test tell me?
- Tell me what a lipid panel involves, including fasting requirements and what the numbers mean.
- What are the risks and procedure steps for a ferritin test listed on my MedlinePlus results?

## Input schema

```json
{
  "type": "object",
  "required": [
    "test"
  ],
  "properties": {
    "test": {
      "type": "string",
      "minLength": 1,
      "description": "Test name on a lab form or report, for example A1C, CBC, or TSH."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "test_name",
    "other_names",
    "page_link"
  ],
  "properties": {
    "risks": {
      "type": [
        "string",
        "null"
      ]
    },
    "used_for": {
      "type": [
        "string",
        "null"
      ]
    },
    "page_link": {
      "type": "string"
    },
    "test_name": {
      "type": "string"
    },
    "what_it_is": {
      "type": [
        "string",
        "null"
      ]
    },
    "other_names": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "what_happens": {
      "type": [
        "string",
        "null"
      ]
    },
    "how_to_prepare": {
      "type": [
        "string",
        "null"
      ]
    },
    "what_results_mean": {
      "type": [
        "string",
        "null"
      ]
    },
    "why_you_might_need_it": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
```

## See more

- [MedlinePlus API: Get health topic](https://fous.com/methods/medlineplus.gov/get-health-topic.md): Looks up a MedlinePlus health topic for a condition or symptom and returns its overview, related topics, and encyclopedia sections when a matching article is linked.
- [WebMD API: Get condition guide](https://fous.com/methods/webmd.com/get-condition.md): Finds WebMD's main guide for a condition through a Bing search. Returns its overview and its symptoms, causes, diagnosis, treatment and when-to-call-a-doctor sections.
- [NIH API: Explain ICD-10-CM diagnosis code](https://fous.com/methods/clinicaltables.nlm.nih.gov/explain-diagnosis-code.md): Explains an ICD-10-CM diagnosis code with its official name, category, chapter, and whether it is billable, using the NLM Clinical Tables diagnosis table.
- [NIH API: Search PubMed articles](https://fous.com/methods/pubmed.ncbi.nlm.nih.gov/search-articles.md): Finds PubMed medical and life-science articles by topic, with publication details and free full-text links when PubMed confirms them.
- [Drugs.com API: Get drug overview](https://fous.com/methods/drugs.com/get-drug.md): Looks up a medicine by brand or generic name on Drugs.com and returns a plain-language overview: class, uses, availability, schedule, dosage forms, side effects, and pregnancy and breastfeeding notes.
- [Mayo Clinic API: Get condition overview](https://fous.com/methods/mayoclinic.org/get-condition.md): Finds a Mayo Clinic disease or condition page by name and returns its overview, symptoms, causes, when to see a doctor, risk factors, complications and prevention.
- [NHS API: Get guidance for a health condition](https://fous.com/methods/nhs.uk/get-condition.md): Gets NHS guidance for a named health condition, including symptoms, when to seek help, causes, treatment and prevention. Sections not shown on NHS pages are null; for conditions with several guidance pages, the review date is the latest among the pages used.
- [NHS API: Get medicine guidance](https://fous.com/methods/nhs.uk/get-medicine.md): Looks up a medicine in the NHS medicines A to Z and returns its guidance: uses, key facts, who can take it, how to take it, side effects, pregnancy and interactions. Sections absent from NHS guidance are null; a plain name with separate adult and child pages selects the adult page.
- [All MedlinePlus methods](https://fous.com/methods/medlineplus.gov.md)
