---
title: "Search LactMed"
method: GET
path: "/v1/sources/lactmed/search"
tags: ["LactMed"]
---

# Search LactMed

`GET /v1/sources/lactmed/search`

## Request

- Base URL: `https://api.assyro.com`
- URL: `https://api.assyro.com/v1/sources/lactmed/search`
- Auth: none declared

Search LactMed, the NIH (NICHD) Drugs and Lactation Database: one record per drug, herbal, dietary supplement, vaccine or exposure (about 1,970) used by nursing mothers, each with a summary of use during lactation, measured drug levels in breastmilk and infant blood (often as a percentage of the maternal weight-adjusted dose), effects in breastfed infants, effects on lactation and breastmilk, alternate drugs to consider, references with PMIDs, and the record's revision date. Brand and other names are searchable. Copied weekly from NLM's open access archive; it is the primary LactMed source, ahead of LactMed excerpts in PubChem. Not a substitute for clinical judgment: cite the record and its revision date.

## Query parameters

- `query` string, required: A drug, herbal or product name, or words about lactation, e.g. "sertraline", "Tylenol", "fenugreek" or "milk supply galactagogue". Quoted phrases and OR work.
- `limit` integer: Records to return, default 6.
- `offset` integer: Skip this many results (for paging), default 0.

## Response `200`

Matching records.

- SearchResponse
  - `version` unknown, required
  - `source` SourceRef, required
    - `id` string, required
    - `label` string, required
    - `authority` string, required
  - `total` integer, nullable, required: Total matches the source reports, when it says.
  - `records` Record[], required
    - `id` string, required: The source's own identifier for the record.
    - `title` string, required
    - `url` string, required: The record's page at the source, to verify it.
    - `authority` string, required: Who published the record.
    - `snippet` string, nullable, required: The part of the record that matched; null where the licence allows only a link.
    - `publishedDate` string, nullable, required
    - `version` string, nullable, required: The edition or revision read.
    - `fields` object, nullable, required: The source's own fields; null where the licence allows only a link.
    - `asOf` string, nullable, required: The day Assyro's copy of the source was read (YYYY-MM-DD).
    - `attribution` string: The attribution the source's licence requires, on sources that require one.
  - `note` string
  - `summary` string[]

## Other responses

- `400`: The request is not valid: an unknown parameter or an argument the source refuses.
- `404`: No such source or record.
- `429`: Rate limited; retry after the Retry-After header.
- `503`: The source cannot answer from Assyro's copy right now.

---

[API](https://skmtc.dev/assyro/apis/assyro-public-data-api.md) - [All operations](https://skmtc.dev/assyro/apis/assyro-public-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/assyro/apis/assyro-public-data-api/revisions/c861290c9f47?raw)
