FDA National Drug Code directory (openFDA)
Drug products listed with the US Food and Drug Administration under a National Drug Code, from the openFDA NDC endpoint: one record per product (labeler and product code) with the brand and generic names, active ingredients and strengths, dosage form, route, marketing category, application number and the labeler, about 139,000 products. The nested openFDA harmonized object and the package list are not mapped (package codes are kept in the original text).
Data last changed 2026-12-04 (version 2026-12-04.1).
us.health.drug_ndc_directoryOverview
- Records
- 138,775
- Current version
- 2026-12-04.1
- Published
- 2026-12-04
- Updated
- weekly
- Language of the text
- en
- Quality of the latest run
- 100% complete, 0% rejected
The badge states whether the dataset is kept up to date: a run that found nothing new, or that was skipped on purpose, still counts as checked. The date the data last changed is the version shown above. The source is updated weekly.
Schema
Model MedicinalProduct, schema version 1.0. Every record has these fields; a field that is "may be empty" is present with no value when the source has none.
| Field | Type | Rules |
|---|---|---|
| register | string | fixed pattern |
| product_id | string | up to 64 characters |
| package_code | string, may be empty | up to 64 characters |
| name | string | — |
| active_substances | list of string | up to 500 characters |
| dosage_form | string, may be empty | up to 255 characters |
| route | string, may be empty | up to 255 characters |
| strength | string, may be empty | — |
| atc_code | string, may be empty | fixed pattern |
| marketing_category | string, may be empty | up to 255 characters |
| authorisation_number | string, may be empty | up to 64 characters |
| holder_name | string, may be empty | — |
| country | string | fixed pattern |
| status_category | string | one of authorised, not_authorised, withdrawn, suspended, other |
| status | string, may be empty | up to 255 characters |
| authorised_on | string, may be empty | fixed pattern |
| marketed | boolean, may be empty | — |
| package_description | string, may be empty | — |
| price_public | string, may be empty | fixed pattern |
| price_ex_factory | string, may be empty | fixed pattern |
| price_reference | string, may be empty | fixed pattern |
| price_currency | string, may be empty | fixed pattern |
| price_date | string, may be empty | fixed pattern |
| reimbursement_rate | string, may be empty | up to 16 characters |
- FieldregisterTypestringRulesfixed pattern
- Fieldproduct_idTypestringRulesup to 64 characters
- Fieldpackage_codeTypestring, may be emptyRulesup to 64 characters
- FieldnameTypestringRules—
- Fieldactive_substancesTypelist of stringRulesup to 500 characters
- Fielddosage_formTypestring, may be emptyRulesup to 255 characters
- FieldrouteTypestring, may be emptyRulesup to 255 characters
- FieldstrengthTypestring, may be emptyRules—
- Fieldatc_codeTypestring, may be emptyRulesfixed pattern
- Fieldmarketing_categoryTypestring, may be emptyRulesup to 255 characters
- Fieldauthorisation_numberTypestring, may be emptyRulesup to 64 characters
- Fieldholder_nameTypestring, may be emptyRules—
- FieldcountryTypestringRulesfixed pattern
- Fieldstatus_categoryTypestringRulesone of authorised, not_authorised, withdrawn, suspended, other
- FieldstatusTypestring, may be emptyRulesup to 255 characters
- Fieldauthorised_onTypestring, may be emptyRulesfixed pattern
- FieldmarketedTypeboolean, may be emptyRules—
- Fieldpackage_descriptionTypestring, may be emptyRules—
- Fieldprice_publicTypestring, may be emptyRulesfixed pattern
- Fieldprice_ex_factoryTypestring, may be emptyRulesfixed pattern
- Fieldprice_referenceTypestring, may be emptyRulesfixed pattern
- Fieldprice_currencyTypestring, may be emptyRulesfixed pattern
- Fieldprice_dateTypestring, may be emptyRulesfixed pattern
- Fieldreimbursement_rateTypestring, may be emptyRulesup to 16 characters
Filters for the query API
These are the only filters the query endpoint accepts for this dataset.
| Filter | Matches | Description |
|---|---|---|
| register | equals | The register the record comes from, for example `FDA-NDC` or `EMA`. |
| country | equals | ISO 3166-1 alpha-2 country, or `EU` for a European Union authorisation. |
| name | contains | Part of the product name (any letter case). |
| atc_code | equals | The ATC (or ATCvet) code, any level, whole value (any letter case). |
| holder | contains | Part of the name of the authorisation holder (any letter case). |
| status_category | enum | Our status vocabulary. |
| authorised | date range | Day of the authorisation, inclusive: `{"from": "2020-01-01"}`. |
- FilterregisterMatchesequalsDescriptionThe register the record comes from, for example `FDA-NDC` or `EMA`.
- FiltercountryMatchesequalsDescriptionISO 3166-1 alpha-2 country, or `EU` for a European Union authorisation.
- FilternameMatchescontainsDescriptionPart of the product name (any letter case).
- Filteratc_codeMatchesequalsDescriptionThe ATC (or ATCvet) code, any level, whole value (any letter case).
- FilterholderMatchescontainsDescriptionPart of the name of the authorisation holder (any letter case).
- Filterstatus_categoryMatchesenumDescriptionOur status vocabulary.
- FilterauthorisedMatchesdate rangeDescriptionDay of the authorisation, inclusive: `{"from": "2020-01-01"}`.
Preview
| register | package code | name | active substances | dosage form | route |
|---|---|---|---|---|---|
| FDA-NDC | — | HAND SANITIZER | ALCOHOL | LIQUID | TOPICAL |
| FDA-NDC | — | Air | OXYGEN | GAS | RESPIRATORY (INHALATION) |
| FDA-NDC | — | Cyclobenzaprine hydrochloride | CYCLOBENZAPRINE HYDROCHLORIDE | TABLET, FILM COATED | ORAL |
| FDA-NDC | — | CleanGenic Foaming Hand Sanitizer | ALCOHOL | LIQUID | TOPICAL |
| FDA-NDC | — | Ciprofloxacin | CIPROFLOXACIN HYDROCHLORIDE | TABLET | ORAL |
- registerFDA-NDCpackage code—nameHAND SANITIZERactive substancesALCOHOLdosage formLIQUIDrouteTOPICAL
- registerFDA-NDCpackage code—nameAiractive substancesOXYGENdosage formGASrouteRESPIRATORY (INHALATION)
- registerFDA-NDCpackage code—nameCyclobenzaprine hydrochlorideactive substancesCYCLOBENZAPRINE HYDROCHLORIDEdosage formTABLET, FILM COATEDrouteORAL
- registerFDA-NDCpackage code—nameCleanGenic Foaming Hand Sanitizeractive substancesALCOHOLdosage formLIQUIDrouteTOPICAL
- registerFDA-NDCpackage code—nameCiprofloxacinactive substancesCIPROFLOXACIN HYDROCHLORIDEdosage formTABLETrouteORAL
Showing 6 of 23 fields and long values shortened. The download has everything, including the verbatim source text of each record.
Versions
| Version | Status | Published | Records | What changed | Files |
|---|---|---|---|---|---|
| 2026-12-04.1 | Current | 2026-12-04 | 138,775 | 106 added, 585 changed, 98 removed | JSON (API only)CSV (API only) |
| 2026-12-02.1 | Earlier | 2026-12-02 | 138,767 | 138,767 added | JSON (API only)CSV (API only)Changes (API only) |
- Version2026-12-04.1StatusCurrentPublished2026-12-04Records138,775What changed106 added, 585 changed, 98 removedFilesJSON (API only)CSV (API only)
- Version2026-12-02.1StatusEarlierPublished2026-12-02Records138,767What changed138,767 addedFilesJSON (API only)CSV (API only)Changes (API only)
Download
The current version, 2026-12-04.1. Each file carries the attribution the licence asks for.
Downloads are paid
JSON
One document with the dataset, version and attribution, then every record with its normalised fields and the verbatim source text. Best for programs and agents.
The size is not known before paying, and from its 138,775 records it could be about 271 MB, more than the 200 MB a browser download can buy.Paid: 2.00 USDC per file, by an x402 client.
GET /v1/datasets/us.health.drug_ndc_directory/download?format=jsonCSV
One row per record with a header row and the attribution on every row. Opens in spreadsheets; lists are joined into one cell.
The size is not known before paying, and from its 138,775 records it could be about 271 MB, more than the 200 MB a browser download can buy.Paid: 2.00 USDC per file, by an x402 client.
GET /v1/datasets/us.health.drug_ndc_directory/download?format=csv
Follow the changes instead of downloading everything
This dataset publishes what each version added, changed and removed. Fetching only that is much smaller than the full file.
How downloads behave
- The buttons above always give the newest version. Every file also has an address that names its version (see the table of versions); that file never changes and can be kept forever.
- Each download has an
ETag. Send it back in anIf-None-Matchheader and the server answers 304 with no file when nothing changed, so a script can check often at no cost. - This dataset is large. A full download is read from the database as it is sent, so it can take a while to start, and it counts against the limit on queries per minute for your address. If you are refused, wait a minute and try again.
- Parquet are planned but not available yet.
Use it
Everything on this page is also available from the API, for scripts and AI agents.
curl -L -O -J "https://datamint.cloud/v1/datasets/us.health.drug_ndc_directory/download?format=csv"curl -X POST "https://datamint.cloud/v1/datasets/us.health.drug_ndc_directory/query" \
-H "content-type: application/json" \
-d '{"filters": {"status_category":"authorised"}, "limit": 10}'// Ask again only when the dataset changed: the ETag says so (304 means "unchanged").
const url = "https://datamint.cloud/v1/datasets/us.health.drug_ndc_directory/download?format=json";
let etag = null; // keep it between runs
async function refresh() {
const res = await fetch(url, { headers: etag ? { "if-none-match": etag } : {} });
if (res.status === 304) return null; // nothing new
etag = res.headers.get("etag");
return res.json(); // { dataset, version, attribution, records: [...] }
}curl "https://datamint.cloud/v1/openapi.json"Licence and attribution
Creative Commons CC0 1.0 Universal (public domain dedication), with a GMDN carve-out (terms)
Access and pricing
Pay per request
Pay per request in USDC on Base with the x402 protocol. Metadata, schema, versions and previews are free.
- Record query per query
- 0.05 USDC
- Download per file
- 2.00 USDC
- Change file per version
- 0.25 USDC
Paid in USDC on Base with the x402 protocol, no account needed. The catalogue, this page, the schema, the versions and the preview are free. See how to pay.

