# MedAPI NDC Drug Lookup

> MedAPI NDC Drug Lookup is a paid API for AI agents from madapi.tempochan.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Looks up drug name, route, labeler, dosage form, and NDC code by National Drug Code (NDC) identifier

## Facts

- Endpoint: POST https://madapi.tempochan.xyz/api/ndc
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medapi-ndc-drug-lookup-3fe2b534
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VDtvuiVoOpJTQ5EGX6D7j

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 medapi-ndc-drug-lookup-3fe2b534 -d '<json body>'
```

Example prompt: Can you look up what drug NDC code 0069-0150-68 refers to — I need the drug name, route, dosage form, and labeler.

## When to prefer this

Use this endpoint when you have a specific National Drug Code (NDC) and need to resolve it to structured drug metadata including name, labeler, route, and dosage form. Prefer this over general drug search endpoints when you already have the NDC and need exact, authoritative identification data rather than search results.

## Known failure modes

- Invalid or malformed NDC code returns success: false with no data
- Unknown or unrecognized NDC returns empty or null data
- Missing required 'ndc' field returns a validation error
- Network or service unavailability results in HTTP error
- Payment failure via x402 prevents endpoint access

## How this service works

Drug data, adverse events, clinical trials, PubMed. AI-powered medical analysis. 17 endpoints. x402 on Base.

## Output

Returns a success flag and a data object containing the drug's name, route of administration, labeler (manufacturer), NDC code, and dosage form corresponding to the submitted NDC code.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ndc"
 ],
 "properties": {
  "ndc": {
   "type": "string",
   "description": "ndc"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "name": {
     "type": "string"
    },
    "route": {
     "type": "string"
    },
    "labeler": {
     "type": "string"
    },
    "ndc_code": {
     "type": "string"
    },
    "dosage_form": {
     "type": "string"
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/medapi-ndc-drug-lookup-3fe2b534/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from madapi.tempochan.xyz](https://www.zero.xyz/host/madapi.tempochan.xyz/llms.txt)
