API referenceDrugs
Find FDA drug labels
GET /v1/drugs/labels
GET https://api.healthcare.dev/v1/drugs/labelsFind DailyMed prescription drug labels by NDC (product, package or 11-digit; matches every label listing a package of the product), RxCUI (labels NLM maps to that RxNorm concept), and/or name, labeler or title (q). Results list which sections each label has, not their text: look a label up by set_id for the cited sections. With q, ranked by match_score; otherwise newest label version first (match_score: 1).
Requires an API key: Authorization: Bearer hdev_live_.... See Authentication.
Query parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
q | string | no | Brand or generic name, labeler or title (fuzzy, at least 3 characters) | apixaban |
ndc | string | no | Product, package or 11-digit NDC; matches at the product level | 0003-0894-21 |
rxcui | string | no | RxNorm concept | 1364445 |
limit | integer | no | Page size (max 100) | 25 |
cursor | string | no | Opaque cursor from links.next | |
view | "compact" | "standard" | "full" | no | How 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 |
fields | string | no | Comma-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?q=apixaban&limit=25" \
-H "Authorization: Bearer $HDEV_API_KEY"TypeScript
const res = await fetch("https://api.healthcare.dev/v1/drugs/labels?q=apixaban&limit=25", {
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?q=apixaban&limit=25", headers={"Authorization": f"Bearer {os.environ['HDEV_API_KEY']}"})
body = res.json()Try it
Response
Matching labels
{
"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"
],
"url": "string",
"sections_available": [
"boxed_warning"
],
"match_score": 0
}
],
"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?q=apixaban&limit=25",
"next": "/v1/drugs/labels?q=apixaban&limit=25&cursor=eyJrIjoiRTExLjkifQ"
}
}Fields
| Field | Type | Always present | Description |
|---|---|---|---|
set_id | string | yes | SPL set id: stays the same across every version of this label (lower case) |
spl_id | string | yes | Id of this version's SPL document |
spl_version | integer | yes | Version number of the label set |
effective_date | string (date) | yes | Effective date of this label version |
title | string | yes | Products on the label with the labeler, DailyMed style, e.g. ELIQUIS (APIXABAN) TABLET, FILM COATED [E.R. SQUIBB & SONS, L.L.C.] |
labeler | string | yes | Company that submitted the label |
document_type | string | yes | SPL document type, e.g. HUMAN PRESCRIPTION DRUG LABEL |
brand_names | string[] | yes | Proprietary names of the products on the label |
generic_names | string[] | yes | Nonproprietary names of the products on the label |
product_ndcs | string[] | yes | Product NDCs (labeler-product) the label lists |
package_ndcs | string[] | yes | Package NDCs the label lists, as written |
ndc11s | string[] | yes | Every package NDC above, normalized to NDC-11 |
rxcuis | string[] | yes | RxNorm concepts NLM maps this label to (DailyMed's SPL-RxNorm mapping file) |
url | string (uri) | yes | The label on DailyMed, to read in full or cite |
sections_available | "boxed_warning" | "indications_and_usage" | "dosage_and_administration" | "contraindications"[] | yes | Sections this label has (look the label up for their text) |
match_score | number | yes | How well this result matches the query: 1 exact code or id, 0.9 code prefix, 0.5 to 0.9 every query word in the text (higher is closer), under 0.5 a fuzzy (typo-tolerant) match. Below 0.5, check the result before relying on it. |
Errors
Errors are application/problem+json (RFC 9457). Branch on type, not on title. See Errors.
| Status | type | When |
|---|---|---|
| 400 | invalid-request | A parameter or the body failed validation; errors lists each field. |
| 401 | unauthorized | Missing, malformed or revoked API key. |
| 404 | not-found | No record with that id (retired records are still returned). |
| 429 | rate-limited / quota-exceeded | Too many requests per second (retry after Retry-After), or the monthly quota is used up. |
| 503 | dataset-unavailable / unavailable | The dataset has no published version yet, or the service is degraded. |