# Get an FDA drug label

URL: https://docs.healthcare.dev/reference/drugs/get-an-fda-drug-label

```http
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](/authentication).

## Path parameters

| Name | Type | Required | Description | Example |
| --- | --- | --- | --- | --- |
| `set_id` | string | yes | SPL set id (DailyMed `setid`), any case | `e9481622-7cc6-418a-acb6-c5450daae9b0` |

## Query parameters

| Name | Type | Required | Description | Example |
| --- | --- | --- | --- | --- |
| `sections` | string | no | Comma-separated sections to return (default: all): boxed_warning, indications_and_usage, dosage_and_administration, contraindications | `boxed_warning,indications_and_usage` |
| `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**

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

**TypeScript**

```ts
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**

```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()
```

## Response

The label

```json
{
  "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

| 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) |
| `sections` | LabelSection[] | yes | The 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) |
| `url` | string (uri) | yes | The label on DailyMed, to read in full or cite |

## Errors

Errors are `application/problem+json` ([RFC 9457](https://www.rfc-editor.org/rfc/rfc9457)). Branch on `type`, not on `title`. See [Errors](/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. |
