# MedAPI Drug Lookup

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

Retrieves structured drug information including brand name, generic name, manufacturer, active ingredients, dosage form, route of administration, and warnings for a given drug name.

## Facts

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

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-drug-lookup-ee7bcb31 -d '<json body>'
```

Example prompt: Can you look up the drug information for Lisinopril — I want to know the brand name, generic name, active ingredients, dosage form, route of administration, and any warnings associated with it?

## When to prefer this

Use this endpoint when an agent needs structured, machine-readable drug metadata (brand/generic names, ingredients, dosage form, route, warnings) for a specific drug by name. Prefer over general web search when you need clean structured pharmaceutical data suitable for downstream processing or display.

## Known failure modes

- Drug name not found in database — success: false with no data
- Misspelled or ambiguous drug name returning incorrect match
- Missing fields in response if drug record is incomplete
- Network or payment failure returning HTTP 402 or 5xx

## How this service works

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

## Output

Returns a structured object with drug details including brand_name, generic_name, manufacturer, active_ingredients (array of objects), dosage_form, route of administration, and warnings (array of strings), plus a success boolean.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "route": {
     "type": "string"
    },
    "warnings": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "brand_name": {
     "type": "string"
    },
    "dosage_form": {
     "type": "string"
    },
    "generic_name": {
     "type": "string"
    },
    "manufacturer": {
     "type": "string"
    },
    "active_ingredients": {
     "type": "array",
     "items": {
      "type": "object"
     }
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/medapi-drug-lookup-ee7bcb31/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)
