# MedAPI Drug Interaction Checker

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

Checks for interactions between two drugs and returns AI-powered risk analysis with severity summary

## Facts

- Endpoint: POST https://madapi.tempochan.xyz/api/interactions
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medapi-drug-interaction-checker-5b59081d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LgoAwVQraqsnWzFpQAAks

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-interaction-checker-5b59081d -d '<json body>'
```

Example prompt: Can you check for any interactions between warfarin and ibuprofen? I want to know if it's safe to take them together and how serious any risks might be.

## When to prefer this

Use this endpoint when you need AI-augmented drug-drug interaction checking with severity classification in a single call. Prefer this over raw FDA adverse event lookups when you want a synthesized risk assessment rather than raw event data. Best when you need both structured interaction data and a natural-language risk summary.

## Known failure modes

- Unknown or misspelled drug names may return empty interactions array or error
- Missing required drug1 or drug2 fields returns validation error
- Payment failure (insufficient USDC balance) returns 402 response
- Network timeout if underlying medical data sources are slow
- Both drug fields must be non-empty strings or request is rejected

## 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, an array of interaction objects between the two drugs, a severity summary object categorizing interaction risk levels, and an LLM-generated analysis of the interaction risk.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "interactions": {
     "type": "array",
     "items": {
      "type": "object"
     }
    },
    "severity_summary": {
     "type": "object"
    }
   }
  },
  "success": {
   "type": "boolean"
  },
  "analysis": {
   "type": "object",
   "description": "LLM interaction risk analysis"
  }
 }
}
```

## More

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