Cost Plus Pharmacies

NADAC API

Weekly CMS acquisition cost, joined to the FDA package, for a network of independent cost-plus cash pharmacies. Owner: Kyle McCormick, PharmD.

Data as of 2026-11-25 30,032 NDCs in the current file

Look up a drug

Name search uses the start of the drug, brand, or generic name. NDC lookup accepts 11 digits or a hyphenated FDA code.

or search lisinopril.

Query the files

There is no per-NDC file. About 30,000 of those would pass the Cloudflare Pages free limit of 20,000 files. Each response is a shard named with the first 7 digits of the 11-digit NDC. Read your NDC out of that object.

URLWhat you get
/v1/ndc/{first7}.jsonObject keyed by 11-digit NDC. Example: /v1/ndc/0059104.json
/v1/search/{aa}.jsonName index for drugs, brands, or generics that start with those two characters.
/v1/search/index.json.gzThe same index, one gzip file, for a bulk load.
/v1/snapshot/nadac-latest.json.gzEvery current NDC, including history.
/v1/snapshot/nadac-latest.csv.gzThe same snapshot as CSV. History is a JSON column.
/v1/changes.jsonNDCs whose price changed, or that were added or removed, in the latest CMS week.
/v1/meta.jsonAs-of date, dataset ids, catalog modified times, row counts, match stats, build time.
/v1/shards.jsonThe list of 7-digit prefixes that exist.
/nadac-client.jsA small browser client. Nadac.getNdc("00002-0152-01") normalizes the code and fetches the shard.

Sample requests

curl -s https://nadac-api.pages.dev/v1/ndc/0059104.json | jq '."00591040701" | {drug_name, nadac_per_unit, pack_size, package_price, match_status}'
curl -s https://nadac-api.pages.dev/v1/ndc/0009331.json | jq '."00093310905" | {drug_name, nadac_per_unit, pack_size, package_price, match_status}'
curl -s https://nadac-api.pages.dev/v1/ndc/0000214.json | jq '."00002143380" | {drug_name, nadac_per_unit, pack_size, package_price, match_status}'
curl -s https://nadac-api.pages.dev/v1/ndc/0000934.json | jq '."00009344801" | {drug_name, nadac_per_unit, pack_size, package_price, match_status}'
curl -s https://nadac-api.pages.dev/v1/ndc/0000214.json | jq '."00002143601" | {drug_name, nadac_per_unit, pack_size, package_price, match_status}'
curl -s https://nadac-api.pages.dev/v1/ndc/0003702.json | jq '."00037024523" | {drug_name, nadac_per_unit, pack_size, package_price, match_status}'
curl -s https://nadac-api.pages.dev/v1/ndc/0000311.json | jq '."00003110001" | {drug_name, nadac_per_unit, pack_size, package_price, match_status}'

Replace the host with your Pages hostname. The reference server at this site also answers /v1/ndc/{11 digits}.json by reading the shard for you. Pages itself does not, because a rewrite like that would be a Function, and Functions draw on the Workers free quota. Use the shard URL or nadac-client.js.

Rows from this build

NDCNameNADACPackStatus
00591040701LISINOPRIL 10 MG TABLET$0.01806 / EA100 tabletmatched
00093310905AMOXICILLIN 500 MG CAPSULE$0.07753 / EA500 capsulematched
00002143380TRULICITY 0.75 MG/0.5 ML PEN$487.68295 / ML2 mLmatched
00009344801CLEOCIN 2% VAGINAL CREAM$1.79204 / GM40 gmatched
00002143601EMGALITY 120 MG/ML PEN$734.12757 / ML1 mLinner_package
00037024523DYMISTA NASAL SPRAY$9.09447 / GMnullunit_mismatch
00003110001COBENFY 100 MG-20 MG CAPSULE$30.1442 / EAnullno_fda_match

99.1% of NDCs match an FDA package. 98.3% have a pack size in the NADAC pricing unit. Pack size is null when FDA has no package, or when the package unit does not agree with the NADAC unit (EA, ML, or GM). A unit-dose repackager NDC that exists only as an inner package uses that inner count, sets match_status to inner_package, and keeps the outer package description.

Package price is nadac_per_unit times pack_size, and it is present only when the pack size is.

History

Each NDC carries price changes for about 12 months. Weeks that repeat the same price are omitted. One earlier price is kept when it was already in effect at the start of the window, so you can see what the price was then.

Disclaimer

Prices and package facts are reproduced from the CMS National Average Drug Acquisition Cost files and the FDA NDC Directory. Both are United States government works and are in the public domain. This API is not produced, approved, or endorsed by CMS, the FDA, or the Department of Health and Human Services.

NADAC is an average of surveyed pharmacy invoice prices. It is not a retail offer, not a quote, and not a guarantee of what a pharmacy paid. FDA listing data is submitted by the labeler. Inclusion in the NDC Directory does not mean FDA approved the product. Do not use this feed as the sole basis for a clinical, dispensing, or coverage decision.

Sources:

Built 2026-11-30T12:26:35Z. CORS allows any origin. Static files are cached; meta.json is cached for a few minutes.