# MedAPI Drug Interaction Checker

> MedAPI Drug Interaction Checker is a paid API for AI agents from mamujamedapi.vercel.app, paid per call via x402, $0.3/call, status unknown (last checked 2026-09-16).

Checks for known interactions between two drugs and returns severity summaries plus an AI-powered risk analysis

## Facts

- Endpoint: POST https://mamujamedapi.vercel.app/api/interactions
- Price: $0.3/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medapi-drug-interaction-checker-864479a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U4SVivm_2Ly3aza8aw4Yv

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-864479a7 -d '<json body>'
```

Example prompt: Can you check if there are any known interactions between warfarin and aspirin, and give me an AI-powered risk assessment of how dangerous it would be to take them together?

## When to prefer this

Choose this endpoint when you need a combined FDA/clinical-trial/PubMed-sourced interaction check plus an AI narrative risk summary for exactly two drugs. It is ideal when you want both structured severity data and a plain-language AI interpretation in a single call. Prefer over generic drug databases when you need LLM-powered analysis alongside raw interaction data.

## Known failure modes

- Unrecognized drug name returns empty interactions array or error
- One or both drug fields missing triggers validation error
- Very new or obscure drugs may have no interaction data in source databases
- LLM analysis field may be absent if AI processing fails
- Network or payment failure returns non-success response

## 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 known drug-drug interaction objects, a severity summary object categorizing interactions by risk level (e.g. major, moderate, minor), and an LLM-generated narrative analysis of the overall interaction risk between the two drugs.

## 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-864479a7/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)
