healthcare.dev docs
API referenceDrugs

Everything about an NDC in one call

GET /v1/drugs/ndc/{ndc}/full

GET https://api.healthcare.dev/v1/drugs/ndc/{ndc}/full

Pro plan and up (403 plan-upgrade-required below Pro). One NDC (product, package in any 10-digit layout, or 11-digit) joined across every published drug dataset, looked up together and billed as one call: the FDA product (product), RxNorm concepts (rxnorm), J-codes from CMS's ASP NDC-HCPCS crosswalk with the Medicare Part B payment limit in effect today (asp), the current NADAC rate of the package, or of each package of a product (nadac), FDA label status (label: set id, version and which sections exist, not their text), and the FDA shortage and recall flags (shortage; recalls: open is any recall of this NDC FDA hasn't terminated, whatever its date, and the list adds closed recalls reported in the last recall_months months, default 12). A package NDC is matched at the package level wherever the source names packages (J-codes, NADAC, RxNorm, shortages, recalls); entries that name no package match by product, and matched_on and reason say so. J-codes are the ones the current crosswalk assigns; codes only earlier quarters assigned are in asp.data.historical. Each component has its own source (dataset, data_version, as_of) and a status: available, not_listed (the dataset has nothing for this NDC; reason says what that means) or unavailable (not published or not licensed). Nothing is left out silently: missing lists every component without data and why. view=compact returns the flags and key ids only. Reference data, not clinical or billing advice.

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

Path parameters

NameTypeRequiredDescriptionExample
ndcstringyesProduct, package (any 10-digit layout) or 11-digit NDC, with or without hyphens0006-3026-02

Query parameters

NameTypeRequiredDescriptionExample
recall_monthsintegernoHow far back to list closed recalls, in months of FDA report dates (1 to 120, default 12); open recalls are always listed and always set the flag12
view"compact" | "standard" | "full"noHow much of each record to return (default full). compact: ndc, product_ndc, ndc11, name, rxcuis, hcpcs_codes, label_set_ids, flags, missing (fewest tokens, for agents). standard: every field. full: every field.compact
fieldsstringnoComma-separated fields to return instead of a view. Valid fields: ndc, product_ndc, ndc11, name, rxcuis, hcpcs_codes, label_set_ids, flags, missing, product, rxnorm, asp, nadac, label, shortage, recalls.ndc,product_ndc,ndc11

Examples

curl

curl "https://api.healthcare.dev/v1/drugs/ndc/0006-3026-02/full" \
  -H "Authorization: Bearer $HDEV_API_KEY"

TypeScript

const res = await fetch("https://api.healthcare.dev/v1/drugs/ndc/0006-3026-02/full", {
  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/ndc/0006-3026-02/full", headers={"Authorization": f"Bearer {os.environ['HDEV_API_KEY']}"})
body = res.json()

Try it

GEThttps://api.healthcare.dev/v1/drugs/ndc/0006-3026-02/full?recall_months=12&view=compact&fields=ndc%2Cproduct_ndc%2Cndc11
Get a free key
Copy as curl
curl "https://api.healthcare.dev/v1/drugs/ndc/0006-3026-02/full?recall_months=12&view=compact&fields=ndc%2Cproduct_ndc%2Cndc11" \
  -H "Authorization: Bearer $HDEV_API_KEY"

Response

The NDC joined across the drug datasets

{
  "data": {
    "ndc": "string",
    "product_ndc": "string",
    "ndc11": "string",
    "name": "string",
    "rxcuis": [
      "string"
    ],
    "hcpcs_codes": [
      "string"
    ],
    "label_set_ids": [
      "string"
    ],
    "flags": {
      "active_shortage": true,
      "open_recall": true,
      "boxed_warning": true
    },
    "missing": [
      {
        "component": "product",
        "status": "not_listed",
        "reason": "string"
      }
    ],
    "product": {
      "status": "available",
      "reason": "string",
      "source": {
        "dataset": "string",
        "source": "string",
        "source_url": "string",
        "source_sha256": "string",
        "data_version": "string",
        "pipeline_version": "string",
        "license": "string",
        "license_terms": null,
        "as_of": "2026-10-01",
        "published_at": "2026-10-24T12:00:00Z"
      },
      "data": {
        "product_ndc": "string",
        "spl_document_ids": [
          null
        ],
        "brand_name": "string",
        "generic_name": "string",
        "labeler": "string",
        "dosage_form": "string",
        "route": [
          null
        ],
        "active_ingredients": [
          null
        ],
        "product_type": "string",
        "marketing_category": "string",
        "application_number": "string",
        "pharm_classes": [
          null
        ],
        "dea_schedule": "string",
        "listing_certified_through": "2026-10-01",
        "rxcuis": [
          null
        ],
        "rxnorm": [
          null
        ],
        "packages": [
          null
        ],
        "status": "active",
        "effective_start": "2026-10-01",
        "effective_end": "2026-10-01",
        "replaced_by": [
          null
        ],
        "care_categories": [
          null
        ],
        "care_category_details": [
          null
        ]
      }
    },
    "rxnorm": {
      "status": "available",
      "reason": "string",
      "source": {
        "dataset": "string",
        "source": "string",
        "source_url": "string",
        "source_sha256": "string",
        "data_version": "string",
        "pipeline_version": "string",
        "license": "string",
        "license_terms": null,
        "as_of": "2026-10-01",
        "published_at": "2026-10-24T12:00:00Z"
      },
      "data": {
        "concepts": [
          null
        ]
      }
    },
    "asp": {
      "status": "available",
      "reason": "string",
      "source": {
        "dataset": "string",
        "source": "string",
        "source_url": "string",
        "source_sha256": "string",
        "data_version": "string",
        "pipeline_version": "string",
        "license": "string",
        "license_terms": null,
        "as_of": "2026-10-01",
        "published_at": "2026-10-24T12:00:00Z"
      },
      "data": {
        "codes": [
          null
        ],
        "historical": [
          null
        ]
      }
    },
    "nadac": {
      "status": "available",
      "reason": "string",
      "source": {
        "dataset": "string",
        "source": "string",
        "source_url": "string",
        "source_sha256": "string",
        "data_version": "string",
        "pipeline_version": "string",
        "license": "string",
        "license_terms": null,
        "as_of": "2026-10-01",
        "published_at": "2026-10-24T12:00:00Z"
      },
      "data": {
        "prices": [
          null
        ]
      }
    },
    "label": {
      "status": "available",
      "reason": "string",
      "source": {
        "dataset": "string",
        "source": "string",
        "source_url": "string",
        "source_sha256": "string",
        "data_version": "string",
        "pipeline_version": "string",
        "license": "string",
        "license_terms": null,
        "as_of": "2026-10-01",
        "published_at": "2026-10-24T12:00:00Z"
      },
      "data": {
        "labels": [
          null
        ]
      }
    },
    "shortage": {
      "status": "available",
      "reason": "string",
      "source": {
        "dataset": "string",
        "source": "string",
        "source_url": "string",
        "source_sha256": "string",
        "data_version": "string",
        "pipeline_version": "string",
        "license": "string",
        "license_terms": null,
        "as_of": "2026-10-01",
        "published_at": "2026-10-24T12:00:00Z"
      },
      "data": {
        "active": true,
        "entries": [
          null
        ],
        "link": "string"
      }
    },
    "recalls": {
      "status": "available",
      "reason": "string",
      "source": {
        "dataset": "string",
        "source": "string",
        "source_url": "string",
        "source_sha256": "string",
        "data_version": "string",
        "pipeline_version": "string",
        "license": "string",
        "license_terms": null,
        "as_of": "2026-10-01",
        "published_at": "2026-10-24T12:00:00Z"
      },
      "data": {
        "open": true,
        "months": 1,
        "since": "2026-10-01",
        "recalls": [
          null
        ],
        "link": "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/ndc/0006-3026-02/full",
    "next": null
  }
}

Fields

FieldTypeAlways presentDescription
ndcstringyesThe NDC asked for, normalized: the product NDC as labeled, or a package's NDC-11
product_ndcstringyes
ndc11string | nullyesThe package's NDC-11 when a package NDC was asked for; null for a product NDC
namestringyesBrand name with the generic name, as FDA lists them
rxcuisstring[]yesLinked RxNorm concepts; null when RxNorm is unavailable
hcpcs_codesstring[]yesBilling codes (J-codes) the newest or current ASP NDC-HCPCS crosswalk assigns; null when ASP is unavailable
label_set_idsstring[]yesSPL set ids of the product's FDA labels; null when labels are unavailable
flagsobjectyesYes/no answers; null means the data to answer isn't available (see missing)
missingobject[]yesEvery component without data, and why; empty when every component answered
productDrugFullProductyesThe FDA NDC Directory product with its packages
rxnormDrugFullRxNormComponentyesRxNorm concepts (NLM)
aspDrugFullAspComponentyesJ-codes through CMS's ASP NDC-HCPCS crosswalk, and their Medicare Part B payment limits
nadacDrugFullNadacComponentyesCMS NADAC: current national average pharmacy acquisition cost
labelDrugFullLabelComponentyesFDA label status (DailyMed): set id, version and which sections exist, not their text
shortageDrugFullShortageComponentyesFDA drug shortage list (openFDA)
recallsDrugFullRecallsComponentyesFDA drug recalls (Enforcement Report, openFDA)

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.
403plan-upgrade-requiredThe plan doesn't include this feature; required_plan names the plan that does.
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