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
- Pharmacy software developer: Map product_ndc to brand_name, generic_name, active_ingredients with strength and rxcui in a drug lookup table.
- Generic drug business developer: Filter marketing_category = ANDA for a molecule and count labeler_name to see how crowded it is.
- Controlled-substance compliance officer: List products with a dea_schedule by labeler_name and dosage_form to check inventory classification.
- Pharmacology data scientist: Group products by pharm_class and route, with unii codes, to build drug-class datasets.
What you can query
- 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
Fields
| Field | Type | Description |
|---|---|---|
product_id | Stable openFDA product identifier (product NDC plus SPL id). | |
product_ndc | Product NDC (labeler-product code). | |
brand_name | Brand (proprietary) name, null if none. | |
generic_name | Generic (non-proprietary) name. | |
labeler_name | Company that labels the product. | |
product_type | Product type (human prescription, OTC, vaccine, bulk ingredient...). | |
dosage_form | Dosage form. | |
route | Administration routes, '; '-joined. | |
marketing_category | Marketing category (NDA, ANDA, BLA, unapproved...). | |
application_number | FDA application number, null if none. | |
finished | boolean | True for a finished drug product, false for bulk or further-processing material. |
marketing_start_date | Marketing start date, YYYY-MM-DD. | |
marketing_end_date | Marketing end date, YYYY-MM-DD, null if still marketed. | |
listing_expiration_date | NDC listing expiration date, YYYY-MM-DD. | |
dea_schedule | DEA controlled-substance schedule, null if not scheduled. | |
active_ingredients | Active ingredients with strength, '; '-joined. | |
active_ingredient_count | number | Number of active ingredients. |
pharm_class | Pharmacologic classes (MoA, EPC...), '; '-joined. | |
package_count | number | Number of packages listed for the product. |
package_descriptions | First five package descriptions, ' | '-joined. | |
unii | UNII codes of ingredients, '; '-joined. | |
rxcui | RxNorm concept ids, '; '-joined. |
Extract of the data
First 5 records of the free sample, 8 of 22 fields shown.
| product_id | product_ndc | brand_name | generic_name | labeler_name | product_type | dosage_form | route |
|---|---|---|---|---|---|---|---|
| 71335-2862_41d88ff2-2260-8447-e063-6294a90aea0e | 71335-2862 | Divalproex Sodium | Divalproex Sodium | Bryant Ranch Prepack | HUMAN PRESCRIPTION DRUG | TABLET, DELAYED RELEASE | ORAL |
| 71335-2890_4253879c-b155-dadb-e063-6394a90ad4fb | 71335-2890 | Urea 40 Percent | Urea | Bryant Ranch Prepack | HUMAN PRESCRIPTION DRUG | CREAM | TOPICAL |
| 71335-2892_4c4007b1-f69a-4ebc-a5ed-4affea9a9d0b | 71335-2892 | Estradiol | Estradiol | Bryant Ranch Prepack | HUMAN PRESCRIPTION DRUG | TABLET | ORAL |
| 71335-2895_b8b0df4d-05f6-4943-ac34-645d36d00bff | 71335-2895 | prednisone | PREDNISONE | Bryant Ranch Prepack | HUMAN PRESCRIPTION DRUG | TABLET | ORAL |
| 0409-9045_6e442bfd-d3da-4913-8585-ce3485644364 | 0409-9045 | Bupivacaine Hydrochloride and Epinephrine | BUPIVACAINE HYDROCHLORIDE AND EPINEPHRINE | Hospira, Inc. | HUMAN PRESCRIPTION DRUG | INJECTION, SOLUTION | EPIDURAL; 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
- FDA Recalls: 88,112 drug, food and device recalls
- FDA Device 510(k) & PMA: 233,950 clearances
- France Medicines BDPM: 15,845 drugs, prices, generics
- France Veterinary Medicines: 3,231 products (Anses)
- France Product Recalls RappelConso: 19,216 notices
- France Health & Social Facilities FINESS: 102,145 sites
- Canada Pesticide Products: 84,741 records, ARLA PPID
- Canada Vehicle Recalls 1975-2026: 147,328 rows
- USDA Food Nutrients: 8,217 foods per 100 g
Publisher: Henri Bousquet, adminglobalcostdata@gmail.com. Data from official public sources; source and licence are stated in every record.