Skip to content
DataMint
Up to date · 2026-12-04HealthUnited StatesPaid per request

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_directory

Overview

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.

  • Fieldregister
    Typestring
    Rulesfixed pattern
  • Fieldproduct_id
    Typestring
    Rulesup to 64 characters
  • Fieldpackage_code
    Typestring, may be empty
    Rulesup to 64 characters
  • Fieldname
    Typestring
    Rules—
  • Fieldactive_substances
    Typelist of string
    Rulesup to 500 characters
  • Fielddosage_form
    Typestring, may be empty
    Rulesup to 255 characters
  • Fieldroute
    Typestring, may be empty
    Rulesup to 255 characters
  • Fieldstrength
    Typestring, may be empty
    Rules—
  • Fieldatc_code
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldmarketing_category
    Typestring, may be empty
    Rulesup to 255 characters
  • Fieldauthorisation_number
    Typestring, may be empty
    Rulesup to 64 characters
  • Fieldholder_name
    Typestring, may be empty
    Rules—
  • Fieldcountry
    Typestring
    Rulesfixed pattern
  • Fieldstatus_category
    Typestring
    Rulesone of authorised, not_authorised, withdrawn, suspended, other
  • Fieldstatus
    Typestring, may be empty
    Rulesup to 255 characters
  • Fieldauthorised_on
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldmarketed
    Typeboolean, may be empty
    Rules—
  • Fieldpackage_description
    Typestring, may be empty
    Rules—
  • Fieldprice_public
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldprice_ex_factory
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldprice_reference
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldprice_currency
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldprice_date
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldreimbursement_rate
    Typestring, may be empty
    Rulesup to 16 characters

Filters for the query API

These are the only filters the query endpoint accepts for this dataset.

  • Filterregister
    Matchesequals
    DescriptionThe register the record comes from, for example `FDA-NDC` or `EMA`.
  • Filtercountry
    Matchesequals
    DescriptionISO 3166-1 alpha-2 country, or `EU` for a European Union authorisation.
  • Filtername
    Matchescontains
    DescriptionPart of the product name (any letter case).
  • Filteratc_code
    Matchesequals
    DescriptionThe ATC (or ATCvet) code, any level, whole value (any letter case).
  • Filterholder
    Matchescontains
    DescriptionPart of the name of the authorisation holder (any letter case).
  • Filterstatus_category
    Matchesenum
    DescriptionOur status vocabulary.
  • Filterauthorised
    Matchesdate range
    DescriptionDay of the authorisation, inclusive: `{"from": "2020-01-01"}`.

Preview

  • registerFDA-NDC
    package code—
    nameHAND SANITIZER
    active substancesALCOHOL
    dosage formLIQUID
    routeTOPICAL
  • registerFDA-NDC
    package code—
    nameAir
    active substancesOXYGEN
    dosage formGAS
    routeRESPIRATORY (INHALATION)
  • registerFDA-NDC
    package code—
    nameCyclobenzaprine hydrochloride
    active substancesCYCLOBENZAPRINE HYDROCHLORIDE
    dosage formTABLET, FILM COATED
    routeORAL
  • registerFDA-NDC
    package code—
    nameCleanGenic Foaming Hand Sanitizer
    active substancesALCOHOL
    dosage formLIQUID
    routeTOPICAL
  • registerFDA-NDC
    package code—
    nameCiprofloxacin
    active substancesCIPROFLOXACIN HYDROCHLORIDE
    dosage formTABLET
    routeORAL

Showing 6 of 23 fields and long values shortened. The download has everything, including the verbatim source text of each record.

Versions

  • Version2026-12-04.1
    StatusCurrent
    Published2026-12-04
    Records138,775
    What changed106 added, 585 changed, 98 removed
    FilesJSON (API only)CSV (API only)
  • Version2026-12-02.1
    StatusEarlier
    Published2026-12-02
    Records138,767
    What changed138,767 added
    FilesJSON (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

A download costs 2.00 USDC per file in USDC on Base. Pay with a browser wallet (MetaMask, Coinbase Wallet, Rabby or your wallet's own browser) and the file is saved when the payment is confirmed. Signing costs no gas. Or pay with your own x402 client.
  • 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=json

  • CSV

    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 an If-None-Match header 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.

Download the current version
curl -L -O -J "https://datamint.cloud/v1/datasets/us.health.drug_ndc_directory/download?format=csv"
Query records with a filter
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}'
Keep a local copy current (for an agent or a script)
// 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: [...] }
}
Machine-readable description of the whole API
curl "https://datamint.cloud/v1/openapi.json"

OpenAPI description

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.