FDA NDC Drug Directory
Drug products in the U.S. FDA's National Drug Code Directory: product NDC, brand and generic names, labeler, dosage form, route, active ingredients with strengths, marketing category and application number, DEA schedule, key dates, every package NDC, drug classes and RxNorm codes.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from open.fda.gov/apis/drug/ndc/
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/fda-ndc-directory/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"brand_name":"ozempic"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
24 fields: 22 here, 2 technical ones under Technical details.
Basics
- Product ndc
The product's National Drug Code (labeler and product parts), such as 0169-4772.
Example 0406-0512
- Brand name
Brand or trade name; empty for most bulk ingredients.
Example OXYCODONE AND ACETAMINOPHEN
- Generic name
Generic name of the product.
Example oxycodone hydrochloride and acetaminophen
- Labeler name
The company that labels and lists the product.
Example SpecGx LLC
- Product type
HUMAN PRESCRIPTION DRUG, HUMAN OTC DRUG, VACCINE, BULK INGREDIENT and so on.
Example HUMAN PRESCRIPTION DRUG
- Dosage form
Dosage form, such as TABLET or INJECTION, SOLUTION.
Example TABLET
- Routes
Routes of administration, such as ORAL or SUBCUTANEOUS.
Example ORAL
- Active ingredients
Each active ingredient with its strength, such as SEMAGLUTIDE 2.68 mg/mL.
Example OXYCODONE HYDROCHLORIDE 5 mg/1, ACETAMINOPHEN 325 mg/1
- Pharm classes
Drug classes, such as GLP-1 Receptor Agonist [EPC] (established class) or [MoA] (mechanism of action).
Example Full Opioid Agonists [MoA], Opioid Agonist [EPC]
- Marketing category
How the product is marketed: NDA, ANDA, BLA, OTC MONOGRAPH DRUG, UNAPPROVED DRUG OTHER and so on.
Example ANDA
- Application number
The FDA application or monograph the product is marketed under, such as NDA209637 or ANDA207418.
Example ANDA087463
- Dea schedule
DEA controlled substance schedule, CI to CV, when the product has one.
Example CII
- Finished
True for a finished product; false for a bulk ingredient or other product made for further processing.
Example Yes
- Package ndcs
The package NDC of every package of this product, such as 0169-4772-12.
Example 0406-0512-01, 0406-0512-05
- Packages
Each package as the listing describes it, such as 1 SYRINGE, PLASTIC in 1 CARTON (0169-4772-12).
Example 100 TABLET in 1 BOTTLE (0406-0512-01), 500 TABLET in 1 BOTTLE (0406-0512-05)
- Rxcuis
RxNorm concept ids (RXCUI) the FDA linked to this product.
Example 1049214, 1049221
- Unii codes
FDA UNII codes of the active ingredients.
Example C1ENJ2TE6C, 362O9ITL9D
Dates
- Marketing start date
The day the product started marketing.
Example Dec 7, 1983
- Marketing end date
The day the labeler stops or stopped marketing the product, when it has said so.
Example Mar 31, 2027
- Listing expiration date
The day this listing expires unless the labeler certifies it again.
Example Dec 31, 2027
Links
- Label link
The product's label on DailyMed (U.S. National Library of Medicine), for finished products.
Example dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=f2137f1a-b49a-40bd-97ac-cd6b36e295f4
- Link
Link to this product in openFDA, as JSON.
Example api.fda.gov/drug/ndc.json?search=product_ndc:%220406-0512%22
Technical detailsField names and types for developers, and the 2 fields hidden above
Hidden by default
These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- Spl ID
spl_idID of the label document (SPL) this listing comes from; it changes when the label is updated. - Spl set ID
spl_set_idID of the product's label set, the same across label versions.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
product_ndc | text | Product ndc | 3 of 3 |
brand_name | text | Brand name | 3 of 3 |
generic_name | text | Generic name | 3 of 3 |
labeler_name | text | Labeler name | 3 of 3 |
product_type | text | Product type | 3 of 3 |
dosage_form | text | Dosage form | 3 of 3 |
routes | list | Routes | 3 of 3 |
active_ingredients | list | Active ingredients | 3 of 3 |
pharm_classes | list | Pharm classes | 3 of 3 |
marketing_category | text | Marketing category | 3 of 3 |
application_number | text | Application number | 3 of 3 |
dea_schedule | text | Dea schedule | 3 of 3 |
is_finished | yes or no | Finished | 3 of 3 |
marketing_start_date | date | Marketing start date | 3 of 3 |
marketing_end_date | date | Marketing end date | 0 of 3 |
listing_expiration_date | date | Listing expiration date | 3 of 3 |
package_ndcs | list | Package ndcs | 3 of 3 |
packages | list | Packages | 3 of 3 |
rxcuis | list | Rxcuis | 3 of 3 |
unii_codes | list | Unii codes | 3 of 3 |
spl_id | text | Spl ID (hidden) | 3 of 3 |
spl_set_id | text | Spl set ID (hidden) | 3 of 3 |
label_url | link | Label link | 3 of 3 |
url | link | Link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Product ndc | Brand name | Generic name | Labeler name | Product type | Dosage form | Routes | Active ingredients | Pharm classes | Marketing category | Application number | Dea schedule | Finished | Package ndcs | Packages | Rxcuis | Unii codes | Marketing start date | Marketing end date | Listing expiration date | Label link | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0406-0512 | OXYCODONE AND ACETAMINOPHEN | oxycodone hydrochloride and acetaminophen | SpecGx LLC | HUMAN PRESCRIPTION DRUG | TABLET | ORAL | OXYCODONE HYDROCHLORIDE 5 mg/1, ACETAMINOPHEN 325 mg/1 | Full Opioid Agonists [MoA], Opioid Agonist [EPC] | ANDA | ANDA087463 | CII | Yes | 0406-0512-01, 0406-0512-05, 0406-0512-23, 0406-0512-62 | 100 TABLET in 1 BOTTLE (0406-0512-01), 500 TABLET in 1 BOTTLE (0406-0512-05), 1 TABLET in 1 BLISTER PACK (0406-0512-23), 100 TABLET in 1 BLISTER PACK (0406-0512-62) | 1049214, 1049221, 1049225 | C1ENJ2TE6C, 362O9ITL9D | Dec 7, 1983 | — | Dec 31, 2027 | dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=f2137f1a-b49a-40bd-97ac-cd6b36e295f4 | api.fda.gov/drug/ndc.json?search=product_ndc:%220406-0512%22 |
| 2 | 63481-623 | PERCOCET | oxycodone hydrochloride and acetaminophen | SpecGx LLC | HUMAN PRESCRIPTION DRUG | TABLET | ORAL | OXYCODONE HYDROCHLORIDE 5 mg/1, ACETAMINOPHEN 325 mg/1 | Full Opioid Agonists [MoA], Opioid Agonist [EPC] | ANDA | ANDA040330 | CII | Yes | 63481-623-70 | 100 TABLET in 1 BOTTLE (63481-623-70) | 1049214, 1049221, 1049225, 1049625 | C1ENJ2TE6C, 362O9ITL9D | Jun 30, 1999 | — | Dec 31, 2027 | dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=4dd36cf5-8f73-404a-8b1d-3bd53bd90c25 | api.fda.gov/drug/ndc.json?search=product_ndc:%2263481-623%22 |
| 3 | 67296-0836 | ENDOCET | Oxycodone and Acetaminophen | Redpharm Drug | HUMAN PRESCRIPTION DRUG | TABLET | ORAL | OXYCODONE HYDROCHLORIDE 5 mg/1, ACETAMINOPHEN 325 mg/1 | Full Opioid Agonists [MoA], Opioid Agonist [EPC] | ANDA | ANDA040330 | CII | Yes | 67296-0836-7 | 4 TABLET in 1 BOTTLE (67296-0836-7) | 1049221, 1049223 | C1ENJ2TE6C, 362O9ITL9D | May 26, 2000 | — | Dec 31, 2026 | dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=3251c37b-8e31-a613-e063-6294a90ae982 | api.fda.gov/drug/ndc.json?search=product_ndc:%2267296-0836%22 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Public domain data from the FDA's National Drug Code Directory as openFDA publishes it, refreshed about daily. The FDA does not endorse this API and marks the data as unvalidated.
- Being listed does not mean the FDA approved a drug: unapproved, homeopathic and OTC monograph products are listed too, and marketing_category tells them apart.
- At most 5,000 products per run; narrow a broad search with product_type, marketing_category or a name. product_ndc takes up to 100 codes per run.
- An 11-digit billing code can fit more than one FDA code layout; every product matching one of them is returned, so check package_ndcs.
- rxcuis, unii_codes and spl_set_id come from the FDA's links to other databases: rxcuis is empty for about 3 in 10 finished products, and all three are empty for bulk ingredients and other unfinished products.
- marketing_end_date is set only for products the labeler has said it will stop selling, about 3 in 100.
- label_url opens the product's label on DailyMed (U.S. National Library of Medicine); unfinished products have none.
- openFDA serves anyone without a key but limits each address to about 1,000 requests a day; when that is used up, runs stop with a slow-down message until the next day.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.