# ScriptMasterLabs Drug Adverse Events API

> ScriptMasterLabs Drug Adverse Events API is a paid API for AI agents from mcp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns FDA adverse event reports for a specified drug name, paid per-call via x402 micropayment protocol

## Facts

- Endpoint: GET https://mcp-x402-discovery.onrender.com/x402/drug-adverse-events
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-drug-adverse-events-api-550ac516
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ef7ZXmOgaSzPbAk-gLs6h

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 scriptmasterlabs-drug-adverse-events-api-550ac516
```

Example prompt: Look up the top 10 FDA adverse event reports for metformin and show me what reactions were reported.

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to FDA adverse event (FAERS) data for a specific drug without setting up an FDA API key directly. Prefer it in agentic workflows using x402 micropayments (USDC on Base) for frictionless per-call billing. Useful for compliance, pharmacovigilance, healthcare research, or journalistic investigation use cases where structured FDA safety data is needed on demand.

## Known failure modes

- 402 Payment Required — if no valid x402 payment or API key is provided, the endpoint returns HTTP 402 and will not process the request
- 400 Bad Request — if the required 'drug' query parameter is missing or malformed
- 404 Not Found — if no adverse event records exist in the FDA database for the specified drug name
- Rate limit or quota exceeded — if the API key has exhausted its purchased credits
- Empty result set — if the drug name does not match any FDA FAERS records (valid but zero results)

## How this service works

Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.

## Output

A list of FDA adverse event report records for the queried drug, including reported reactions, patient outcomes, and reporter information sourced from the FDA FAERS database. Up to 25 records returned per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "drug"
     ],
     "properties": {
      "drug": {
       "type": "string",
       "description": "Drug name (required)."
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 25,
       "minimum": 1
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-drug-adverse-events-api-550ac516/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402-discovery.onrender.com](https://www.zero.xyz/host/mcp-x402-discovery.onrender.com/llms.txt)
