# Drug Price Lookup — NADAC per Unit

> Drug Price Lookup — NADAC per Unit is a paid API for AI agents from 2s.io, paid per call via x402, $0.00144/call, status unknown (last checked 2026-09-13).

Returns National Average Drug Acquisition Cost (NADAC) pricing data for drugs, searchable by NDC code or drug name keyword, sourced from CMS/Medicaid.

## Facts

- Endpoint: GET https://2s.io/api/medical/drug-price
- Price: $0.00144/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/drug-price-lookup-nadac-per-unit-12ce369d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uFeG77BAEbEPm9p9D177C

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability drug-price-lookup-nadac-per-unit-12ce369d
```

Example prompt: What's the current NADAC price per unit for atorvastatin 10 mg tablet — pull up to 5 results from the CMS Medicaid drug pricing data.

## When to prefer this

Use this endpoint when you need official, government-sourced drug acquisition cost benchmarks (NADAC) from CMS/Medicaid. Ideal for pharmacy cost comparisons, formulary analysis, drug pricing transparency tools, or any use case requiring authoritative per-unit pricing. Prefer this over commercial drug pricing APIs when you need free, public-domain data with no signup or API key, payable per call in USDC.

## Known failure modes

- No results returned if NDC or name does not match any records in the dataset
- Invalid NDC format (non-11-digit) may return empty results or an error
- Limit out of range (less than 1 or greater than 100) may cause a validation error
- Drug pricing data may lag behind real-world changes since it reflects NADAC survey periods
- Missing both 'ndc' and 'name' query params may return all records up to the default limit

## How this service works

Look up US drug pricing from CMS NADAC (National Average Drug Acquisition Cost) — the benchmark per-unit acquisition cost CMS surveys from retail pharmacies and publishes weekly. Pass ndc (11-digit National Drug Code) for an exact product, or name (drug name/description keyword, e.g. 'atorvastatin 10 mg') to search. Returns rows with the NDC, description, nadacPerUnit (USD per pricing unit), pricingUnit (EA/ML/GM), effectiveDate, OTC flag, and brand/generic classification — most recent effective date first. Real surveyed acquisition costs instead of model-guessed prices. Public domain; the current-year dataset is resolved automatically. NADAC is an acquisition-cost benchmark, not a retail or insured price.

## Output

A JSON array of matching drug records, each including the 11-digit NDC code, drug description, NADAC price per unit, pricing unit (e.g. EA), effective date, as-of date, OTC flag, and classification (brand/generic). Also includes total result count, dataset year, and data source attribution from CMS/Medicaid.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "name": "atorvastatin",
   "limit": 5
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [],
     "properties": {
      "ndc": {
       "type": "string",
       "description": "11-digit National Drug Code (exact)."
      },
      "name": {
       "type": "string",
       "description": "Drug name/description keyword."
      },
      "limit": {
       "type": "integer",
       "description": "Max rows (1..100, default 20)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/drug-price-lookup-nadac-per-unit-12ce369d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
