FDA Drug NDC Directory API: 138,262 US drug products

Resolve any NDC, brand or active ingredient to labeler, dosage form, route, DEA schedule, strength and RxCUI from the FDA NDC Directory.

Search 138,262 US drug products from the FDA National Drug Code (NDC) Directory via openFDA: brand and generic name, labeler, dosage form, route, marketing category, DEA schedule, active ingredients with strength, pharmacologic class, UNII and RxCUI. Embedded data, no scraping, pay per record.

Query the full dataset (API, CSV, JSON) Free sample and schema on GitHub

At a glance

Records
138,569
Official source
Source: U.S. Food and Drug Administration, National Drug Code Directory via openFDA (https://open.fda.gov/), data dated 2026-11-06. CC0 1.0 Universal per https://open.fda.gov/terms/. FDA does not endorse this product; do not rely on this data for medical decisions.
Licence
CC0 1.0 Universal (public domain), U.S. Food and Drug Administration via openFDA
Snapshot
2026-11-18
Coverage
openFDA drug/ndc bulk export (https://api.fda.gov/download.json, last updated 2026-11-06). openFDA content is public domain under a Creative Commons CC0 1.0 Universal dedication (https://open.fda.gov/terms/): reuse, including commercial, needs no permission. One record per NDC product (product_id). Dates are ISO YYYY-MM-DD. Null means the source gives no value; it is never 0 or empty. Multi-valued fields (route, ingredients, pharmacologic classes, UNII, RxCUI) are joined with '; '. Package details are summarised (count and first five descriptions). Do not rely on this data to make decisions regarding medical care.

Who uses it

What you can query

Fields

FieldTypeDescription
product_idStable openFDA product identifier (product NDC plus SPL id).
product_ndcProduct NDC (labeler-product code).
brand_nameBrand (proprietary) name, null if none.
generic_nameGeneric (non-proprietary) name.
labeler_nameCompany that labels the product.
product_typeProduct type (human prescription, OTC, vaccine, bulk ingredient...).
dosage_formDosage form.
routeAdministration routes, '; '-joined.
marketing_categoryMarketing category (NDA, ANDA, BLA, unapproved...).
application_numberFDA application number, null if none.
finishedbooleanTrue for a finished drug product, false for bulk or further-processing material.
marketing_start_dateMarketing start date, YYYY-MM-DD.
marketing_end_dateMarketing end date, YYYY-MM-DD, null if still marketed.
listing_expiration_dateNDC listing expiration date, YYYY-MM-DD.
dea_scheduleDEA controlled-substance schedule, null if not scheduled.
active_ingredientsActive ingredients with strength, '; '-joined.
active_ingredient_countnumberNumber of active ingredients.
pharm_classPharmacologic classes (MoA, EPC...), '; '-joined.
package_countnumberNumber of packages listed for the product.
package_descriptionsFirst five package descriptions, ' | '-joined.
uniiUNII codes of ingredients, '; '-joined.
rxcuiRxNorm concept ids, '; '-joined.

Extract of the data

First 5 records of the free sample, 8 of 22 fields shown.

product_idproduct_ndcbrand_namegeneric_namelabeler_nameproduct_typedosage_formroute
71335-2862_41d88ff2-2260-8447-e063-6294a90aea0e71335-2862Divalproex SodiumDivalproex SodiumBryant Ranch PrepackHUMAN PRESCRIPTION DRUGTABLET, DELAYED RELEASEORAL
71335-2890_4253879c-b155-dadb-e063-6394a90ad4fb71335-2890Urea 40 PercentUreaBryant Ranch PrepackHUMAN PRESCRIPTION DRUGCREAMTOPICAL
71335-2892_4c4007b1-f69a-4ebc-a5ed-4affea9a9d0b71335-2892EstradiolEstradiolBryant Ranch PrepackHUMAN PRESCRIPTION DRUGTABLETORAL
71335-2895_b8b0df4d-05f6-4943-ac34-645d36d00bff71335-2895prednisonePREDNISONEBryant Ranch PrepackHUMAN PRESCRIPTION DRUGTABLETORAL
0409-9045_6e442bfd-d3da-4913-8585-ce34856443640409-9045Bupivacaine Hydrochloride and EpinephrineBUPIVACAINE HYDROCHLORIDE AND EPINEPHRINEHospira, Inc.HUMAN PRESCRIPTION DRUGINJECTION, SOLUTIONEPIDURAL; INTRACAUDAL; PERINEURAL

Quick start

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient('<YOUR_APIFY_TOKEN>')
run = client.actor('phonic_lily/fda-drug-ndc-directory').call(run_input={'productTypes': ['HUMAN PRESCRIPTION DRUG'], 'maxResults': 10})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item)

HTTP:

curl -X POST 'https://api.apify.com/v2/acts/phonic_lily~fda-drug-ndc-directory/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' -d '{"productTypes": ["HUMAN PRESCRIPTION DRUG"], "maxResults": 10}'

FAQ

Where does the FDA Drug NDC Directory: 138,262 US drug products data come from?

Source: U.S. Food and Drug Administration, National Drug Code Directory via openFDA (https://open.fda.gov/), data dated 2026-11-06. CC0 1.0 Universal per https://open.fda.gov/terms/. FDA does not endorse this product; do not rely on this data for medical decisions. openFDA drug/ndc bulk export (https://api.fda.gov/download.json, last updated 2026-11-06). openFDA content is public domain under a Creative Commons CC0 1.0 Universal dedication (https://open.fda.gov/terms/): reuse, including commercial, needs no permission. One record per NDC product (product_id). Dates are ISO YYYY-MM-DD. Null means the source gives no value; it is never 0 or empty. Multi-valued fields (route, ingredients, pharmacologic classes, UNII, RxCUI) are joined with '; '. Package details are summarised (count and first five descriptions). Do not rely on this data to make decisions regarding medical care.

What can I filter on?

Drug name or ingredient; Labeler (company); Product NDC (substring); Pharmacologic class (substring); Product type (e.g. HUMAN PRESCRIPTION DRUG, HUMAN OTC DRUG, VACCINE); Marketing category (e.g. NDA, ANDA, BLA, OTC MONOGRAPH DRUG); Dosage form (e.g. TABLET, INJECTION); DEA schedule (CI, CII, CIII, CIV, CV); Min package count / Max package count; Marketing started on/after.

Is there a free sample?

Yes: 100 records in JSONL and CSV, with the schema, free on GitHub at https://github.com/adminglobalcostdata/fda-drug-ndc-directory.

How much does it cost?

The full dataset is an API on Apify, paid per result returned; the current price is on https://apify.com/phonic_lily/fda-drug-ndc-directory.

Can an AI agent query it?

Yes, through the MCP server io.github.adminglobalcostdata/product-safety-and-health-registries on the official MCP registry.

How recent is the data?

Snapshot of 2026-11-18 from the official source.

Related datasets

Publisher: Henri Bousquet, adminglobalcostdata@gmail.com. Data from official public sources; source and licence are stated in every record.