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.

Try it
Ready-made, maintained by usProducts, 24 fieldsv1.0

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

Brand nameoptional
Words of the brand name; every word must appear, for example ozempic. Quotes keep a phrase together.
Example: ozempic
Generic nameoptional
Words of the generic name; every word must appear, for example semaglutide.
Example: semaglutide
Labeleroptional
Words of the labeler company's name; every word must appear, for example Novo Nordisk.
Example: Novo Nordisk
Product ndcoptional
One or more NDCs separated by commas: product codes such as 0169-4772, package codes such as 0169-4772-12, or 11-digit billing codes such as 00169477212. At most 100.
Example: 0169-4772
Pharm classoptional
Words of a drug class; every word must appear, for example GLP-1 receptor agonist.
Example: GLP-1 receptor agonist
Product typeoptional
Only products of this type, such as human prescription or OTC drugs.
Marketing categoryoptional
Only products marketed under this category: NDA (brand), ANDA (generic), BLA (biologic), OTC monograph and so on.
Dea scheduleoptional
Only controlled substances in this DEA schedule; CII is the most tightly controlled schedule that can be prescribed.
Sortoptional
Products that started marketing most recently first (the default) or the oldest first.

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
Endpoint
POSThttps://pullrow.dev/v1/apis/fda-ndc-directory/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

brand_nametext
Words of the brand name; every word must appear, for example ozempic. Quotes keep a phrase together.
example: ozempic
generic_nametext
Words of the generic name; every word must appear, for example semaglutide.
example: semaglutide
labelertext
Words of the labeler company's name; every word must appear, for example Novo Nordisk.
example: Novo Nordisk
product_ndctext
One or more NDCs separated by commas: product codes such as 0169-4772, package codes such as 0169-4772-12, or 11-digit billing codes such as 00169477212. At most 100.
example: 0169-4772
pharm_classtext
Words of a drug class; every word must appear, for example GLP-1 receptor agonist.
example: GLP-1 receptor agonist
product_typetext
Only products of this type, such as human prescription or OTC drugs.
example: Human prescription drugone of: Human prescription drug, Human OTC drug, Bulk ingredient, Drug for further processing, Non-standardized allergenic…
marketing_categorytext
Only products marketed under this category: NDA (brand), ANDA (generic), BLA (biologic), OTC monograph and so on.
example: ANDAone of: NDA, ANDA, BLA, NDA authorized generic, OTC monograph drug, OTC monograph final, OTC monograph not final, Unapproved…
dea_scheduletext
Only controlled substances in this DEA schedule; CII is the most tightly controlled schedule that can be prescribed.
example: CIIone of: CI, CII, CIII, CIV, CV
sorttext
Products that started marketing most recently first (the default) or the oldest first.
default: newestexample: oldestone of: newest, oldest

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

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 nameTypeShown on this page asFilled
product_ndctextProduct ndc3 of 3
brand_nametextBrand name3 of 3
generic_nametextGeneric name3 of 3
labeler_nametextLabeler name3 of 3
product_typetextProduct type3 of 3
dosage_formtextDosage form3 of 3
routeslistRoutes3 of 3
active_ingredientslistActive ingredients3 of 3
pharm_classeslistPharm classes3 of 3
marketing_categorytextMarketing category3 of 3
application_numbertextApplication number3 of 3
dea_scheduletextDea schedule3 of 3
is_finishedyes or noFinished3 of 3
marketing_start_datedateMarketing start date3 of 3
marketing_end_datedateMarketing end date0 of 3
listing_expiration_datedateListing expiration date3 of 3
package_ndcslistPackage ndcs3 of 3
packageslistPackages3 of 3
rxcuislistRxcuis3 of 3
unii_codeslistUnii codes3 of 3
spl_idtextSpl ID (hidden)3 of 3
spl_set_idtextSpl set ID (hidden)3 of 3
label_urllinkLabel link3 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordProduct ndcBrand nameGeneric nameLabeler nameProduct typeDosage formRoutesActive ingredientsPharm classesMarketing categoryApplication numberDea scheduleFinishedPackage ndcsPackagesRxcuisUnii codesMarketing start dateMarketing end dateListing expiration dateLabel linkLink
10406-0512OXYCODONE AND ACETAMINOPHENoxycodone hydrochloride and acetaminophenSpecGx LLCHUMAN PRESCRIPTION DRUGTABLETORALOXYCODONE HYDROCHLORIDE 5 mg/1, ACETAMINOPHEN 325 mg/1Full Opioid Agonists [MoA], Opioid Agonist [EPC]ANDAANDA087463CIIYes0406-0512-01, 0406-0512-05, 0406-0512-23, 0406-0512-62100 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, 1049225C1ENJ2TE6C, 362O9ITL9DDec 7, 1983—Dec 31, 2027dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=f2137f1a-b49a-40bd-97ac-cd6b36e295f4api.fda.gov/drug/ndc.json?search=product_ndc:%220406-0512%22
263481-623PERCOCEToxycodone hydrochloride and acetaminophenSpecGx LLCHUMAN PRESCRIPTION DRUGTABLETORALOXYCODONE HYDROCHLORIDE 5 mg/1, ACETAMINOPHEN 325 mg/1Full Opioid Agonists [MoA], Opioid Agonist [EPC]ANDAANDA040330CIIYes63481-623-70100 TABLET in 1 BOTTLE (63481-623-70)1049214, 1049221, 1049225, 1049625C1ENJ2TE6C, 362O9ITL9DJun 30, 1999—Dec 31, 2027dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=4dd36cf5-8f73-404a-8b1d-3bd53bd90c25api.fda.gov/drug/ndc.json?search=product_ndc:%2263481-623%22
367296-0836ENDOCETOxycodone and AcetaminophenRedpharm DrugHUMAN PRESCRIPTION DRUGTABLETORALOXYCODONE HYDROCHLORIDE 5 mg/1, ACETAMINOPHEN 325 mg/1Full Opioid Agonists [MoA], Opioid Agonist [EPC]ANDAANDA040330CIIYes67296-0836-74 TABLET in 1 BOTTLE (67296-0836-7)1049221, 1049223C1ENJ2TE6C, 362O9ITL9DMay 26, 2000—Dec 31, 2026dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=3251c37b-8e31-a613-e063-6294a90ae982api.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.
Known limits
  • 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.