# MedAPI Adverse Events Lookup

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

Retrieves FDA adverse event reports for a given drug and returns an AI-powered analysis of the findings

## Facts

- Endpoint: POST https://mamujamedapi.vercel.app/api/adverse
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medapi-adverse-events-lookup-0b326abc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vy1nhZNgitXiQNH1oXHMh

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-adverse-events-lookup-0b326abc -d '<json body>'
```

Example prompt: What adverse events have been reported for metformin? Pull the FDA data and give me an AI summary of the safety signals.

## When to prefer this

Choose this endpoint when you need FDA-sourced adverse event data combined with an AI-generated safety analysis for a specific drug in a single call. Prefer this over raw FAERS queries when you want structured event counts plus an interpreted summary without building your own NLP pipeline.

## Known failure modes

- Unknown or misspelled drug name returns empty results or error
- Drug not found in FDA FAERS database returns zero events
- Network timeout on upstream FDA data fetch
- LLM analysis unavailable if AI service is down
- Invalid input (missing 'drug' field) returns validation error
- Rate limiting or payment failure returns 402 status

## 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, a data object containing the total number of adverse event reports and an array of individual event records, plus an LLM-generated analysis object summarizing safety signals, common reactions, and risk insights derived from the FDA adverse event data.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "total": {
     "type": "integer"
    },
    "events": {
     "type": "array",
     "items": {
      "type": "object"
     }
    }
   }
  },
  "success": {
   "type": "boolean"
  },
  "analysis": {
   "type": "object",
   "description": "LLM adverse event analysis"
  }
 }
}
```

## More

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