# MedAPI NDC Drug Lookup

> MedAPI NDC Drug Lookup is a paid API for AI agents from mamujamedapi.vercel.app, paid per call via x402, $0.35/call, status unknown (last checked 2026-09-14).

Looks up drug product information by National Drug Code (NDC), returning name, route, labeler, dosage form, and NDC code.

## Facts

- Endpoint: POST https://mamujamedapi.vercel.app/api/ndc
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medapi-ndc-drug-lookup-2b0e5c03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7XZv0OANCx4x_MZspvmuj

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-2b0e5c03 -d '<json body>'
```

Example prompt: Can you look up the drug details for NDC code 0069-0105-68 — I need the drug name, who makes it, what form it comes in, and how it's administered?

## When to prefer this

Choose this endpoint when you need to resolve a specific National Drug Code (NDC) to its FDA-registered product details — drug name, labeler, route, and dosage form. Ideal for pharmacy verification, insurance claim enrichment, adverse event reporting, or any workflow that starts with a barcode or NDC string and needs structured drug metadata. Prefer this over general drug search endpoints when you already have the NDC and need a direct, authoritative lookup.

## Known failure modes

- Invalid or malformed NDC code returns success: false with no data
- NDC not found in FDA database returns empty or null data object
- Incorrect NDC format (wrong segment lengths) may cause lookup failure
- Network or upstream FDA data source unavailability causes 5xx errors
- Payment failure via x402 protocol blocks the request before processing

## How this service works

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

## Output

Returns a JSON object with a success boolean and a data object containing the drug's name, administration route (e.g. oral, intravenous), labeler (manufacturer/distributor), the NDC code itself, and dosage form (e.g. tablet, capsule, solution).

## 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-2b0e5c03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mamujamedapi.vercel.app](https://www.zero.xyz/host/mamujamedapi.vercel.app/llms.txt)
