Api Endpoint

x402-domain-check.vercel.app … /drugs/price

US drug acquisition cost from CMS NADAC (National Average Drug Acquisition Cost, weekly): search by drug name (brand or generic, optional strength) or by NDC. Returns latest NADAC per unit, pricing unit (EA/ML/GM), effective date, generic vs brand, OTC flag and the corresponding generic price for brands. Names not found in NADAC descriptions are resolved to NDCs via the openFDA NDC directory. Pharmacy acquisition cost, not patient cash price. Not charged on errors.

Open interactive test console

Offering

Provider
x402-domain-check.vercel.app
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-domain-check.vercel.app/drugs/price
MIME type
application/json
First seen
2026-11-01T15:23:28.507Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x94D642596761470161B37771FAC222111A5FfAd6"
  }
]

Observed health

Status
Healthy
Latest latency
50 ms
Average latency
60 ms
HTTP status
402
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Brand or generic name, optionally with strength, e.g. 'atorvastatin 10 mg' (2-80 chars)"
        },
        "ndc": {
          "type": "string",
          "description": "NDC: 11 digits or hyphenated 4-4-2 / 5-3-2 / 5-4-1"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 50,
          "default": 10,
          "description": "Max products (name search)"
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}