healthcare.dev docs
API referenceDrugs

Get an FDA drug label

GET /v1/drugs/labels/{set_id}

GET https://api.healthcare.dev/v1/drugs/labels/{set_id}

One FDA prescription drug label from DailyMed (NLM) by SPL set id: the current version's boxed warning, indications and usage, dosage and administration and contraindications as cited plain text, plus the products, package NDCs and RxNorm concepts it covers and a link to the full label on DailyMed. sections limits which sections are returned. This is the FDA label text, verbatim; it is reference information, not medical advice.

Requires an API key: Authorization: Bearer hdev_live_.... See Authentication.

Path parameters

NameTypeRequiredDescriptionExample
set_idstringyesSPL set id (DailyMed setid), any casee9481622-7cc6-418a-acb6-c5450daae9b0

Query parameters

NameTypeRequiredDescriptionExample
sectionsstringnoComma-separated sections to return (default: all): boxed_warning, indications_and_usage, dosage_and_administration, contraindicationsboxed_warning,indications_and_usage
view"compact" | "standard" | "full"noHow much of each record to return (default full). compact: set_id, title, labeler, spl_version, effective_date, sections, sections_available, url, sections_available, match_score (search results) (fewest tokens, for agents). standard: every field except package_ndcs, ndc11s. full: every field.compact
fieldsstringnoComma-separated fields to return instead of a view. Valid fields: set_id, spl_id, spl_version, effective_date, title, labeler, document_type, brand_names, generic_names, product_ndcs, package_ndcs, ndc11s, rxcuis, sections, url, sections_available, match_score (search results).set_id,title,labeler

Examples

curl

curl "https://api.healthcare.dev/v1/drugs/labels/e9481622-7cc6-418a-acb6-c5450daae9b0" \
  -H "Authorization: Bearer $HDEV_API_KEY"

TypeScript

const res = await fetch("https://api.healthcare.dev/v1/drugs/labels/e9481622-7cc6-418a-acb6-c5450daae9b0", {
  headers: { Authorization: `Bearer ${process.env.HDEV_API_KEY}` },
});
const { data, meta } = await res.json();

Python

import os
import requests

res = requests.get("https://api.healthcare.dev/v1/drugs/labels/e9481622-7cc6-418a-acb6-c5450daae9b0", headers={"Authorization": f"Bearer {os.environ['HDEV_API_KEY']}"})
body = res.json()

Try it

GEThttps://api.healthcare.dev/v1/drugs/labels/e9481622-7cc6-418a-acb6-c5450daae9b0?sections=boxed_warning%2Cindications_and_usage&view=compact&fields=set_id%2Ctitle%2Clabeler
Get a free key
Copy as curl
curl "https://api.healthcare.dev/v1/drugs/labels/e9481622-7cc6-418a-acb6-c5450daae9b0?sections=boxed_warning%2Cindications_and_usage&view=compact&fields=set_id%2Ctitle%2Clabeler" \
  -H "Authorization: Bearer $HDEV_API_KEY"

Response

The label

{
  "data": {
    "set_id": "string",
    "spl_id": "string",
    "spl_version": 1,
    "effective_date": "2026-10-01",
    "title": "string",
    "labeler": "string",
    "document_type": "string",
    "brand_names": [
      "string"
    ],
    "generic_names": [
      "string"
    ],
    "product_ndcs": [
      "string"
    ],
    "package_ndcs": [
      "string"
    ],
    "ndc11s": [
      "string"
    ],
    "rxcuis": [
      "string"
    ],
    "sections": [
      {
        "key": "boxed_warning",
        "loinc": "string",
        "title": "string",
        "text": "string"
      }
    ],
    "url": "string"
  },
  "meta": {
    "source": "cms-icd10",
    "data_version": "2026.1",
    "retrieved_at": "2026-10-24T12:00:00Z",
    "license": "Public domain (CMS). Reference data, not medical advice."
  },
  "links": {
    "self": "/v1/drugs/labels/e9481622-7cc6-418a-acb6-c5450daae9b0",
    "next": null
  }
}

Fields

FieldTypeAlways presentDescription
set_idstringyesSPL set id: stays the same across every version of this label (lower case)
spl_idstringyesId of this version's SPL document
spl_versionintegeryesVersion number of the label set
effective_datestring (date)yesEffective date of this label version
titlestringyesProducts on the label with the labeler, DailyMed style, e.g. ELIQUIS (APIXABAN) TABLET, FILM COATED [E.R. SQUIBB & SONS, L.L.C.]
labelerstringyesCompany that submitted the label
document_typestringyesSPL document type, e.g. HUMAN PRESCRIPTION DRUG LABEL
brand_namesstring[]yesProprietary names of the products on the label
generic_namesstring[]yesNonproprietary names of the products on the label
product_ndcsstring[]yesProduct NDCs (labeler-product) the label lists
package_ndcsstring[]yesPackage NDCs the label lists, as written
ndc11sstring[]yesEvery package NDC above, normalized to NDC-11
rxcuisstring[]yesRxNorm concepts NLM maps this label to (DailyMed's SPL-RxNorm mapping file)
sectionsLabelSection[]yesThe label's boxed warning, indications and usage, dosage and administration and contraindications, in that order; a section the label doesn't have is left out (most labels have no boxed warning)
urlstring (uri)yesThe label on DailyMed, to read in full or cite

Errors

Errors are application/problem+json (RFC 9457). Branch on type, not on title. See Errors.

StatustypeWhen
400invalid-requestA parameter or the body failed validation; errors lists each field.
401unauthorizedMissing, malformed or revoked API key.
404not-foundNo record with that id (retired records are still returned).
429rate-limited / quota-exceededToo many requests per second (retry after Retry-After), or the monthly quota is used up.
503dataset-unavailable / unavailableThe dataset has no published version yet, or the service is degraded.

On this page