# Script Master Labs FDA Warnings API

> Script Master Labs FDA Warnings API is a paid API for AI agents from mcp-x402.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns U.S. FDA warning letters and enforcement actions filtered by company or product name, billed at $0.10 USDC per call via x402.

## Facts

- Endpoint: GET https://mcp-x402.onrender.com/x402/fda-warnings
- 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/script-master-labs-fda-warnings-api-8dcd0a6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vUuWDkPx8zTMt5c_cGQCC

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 script-master-labs-fda-warnings-api-8dcd0a6f
```

Example prompt: Can you pull up any FDA warning letters for Johnson & Johnson related to their Tylenol product — give me up to 10 results?

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to U.S. FDA warning letter data filtered by company or product, especially in automated agent workflows that require micro-payment settlement via USDC on Base (x402 protocol). Prefer it over scraping FDA.gov directly or using raw openFDA API when you want a simple filtered interface with crypto payment rails.

## Known failure modes

- Payment not settled — x402 USDC payment on Base fails, resulting in 402 Payment Required response
- No results found — company or product name does not match any FDA records
- Invalid parameter types — non-integer limit or malformed query strings return 400 error
- Service unavailable — hosted on Render free tier which may cold-start or go offline
- Rate limiting — excessive calls may be throttled by the underlying openFDA data source

## 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 warning letters and enforcement actions matching the specified company or product filters, drawn from openFDA data, including details such as issuing office, subject, and date of warning.

## 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",
     "properties": {
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 25,
       "minimum": 1
      },
      "company": {
       "type": "string",
       "description": "Company or issuer name."
      },
      "product": {
       "type": "string",
       "description": "Product, drug, or device name."
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/script-master-labs-fda-warnings-api-8dcd0a6f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402.onrender.com](https://www.zero.xyz/host/mcp-x402.onrender.com/llms.txt)
