# MedAPI Adverse Events Lookup

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

Retrieves FDA adverse event reports for a given drug, with AI-powered analysis of the findings

## Facts

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

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

Example prompt: Pull up FDA adverse event reports for metformin and give me an AI-powered analysis of the most common and serious reactions.

## When to prefer this

Use this endpoint when you need structured FDA adverse event data for a specific drug combined with an AI-generated synthesis of the findings, rather than manually querying OpenFDA and interpreting raw results yourself. Prefer this over raw FDA API access when you want the LLM analysis layer included in a single call.

## Known failure modes

- Unknown or misspelled drug name returns empty events array or success:false
- FDA database has no records for an obscure or brand-specific drug name
- Payment failure via x402 returns 402 before any data is returned
- LLM analysis object may be absent or null if AI service is unavailable
- Rate limiting or timeout on external FDA API call causes delayed or failed 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, a data object containing the total number of adverse event records and an array of individual adverse event objects, plus an LLM-generated analysis object summarizing patterns, severity, and notable findings from the 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-cb14c2fd/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)
