# openFDA Recalls & Adverse Events API

> openFDA Recalls & Adverse Events API is a paid API for AI agents from api.kadec0.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-16).

Retrieves FDA recall and adverse-event records for drugs, devices, and food from openFDA, including classification, recalling firm, and reason.

## Facts

- Endpoint: GET https://api.kadec0.xyz/v1/fda
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openfda-recalls-adverse-events-api-d6398fae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NsI40aFd54zD5S5-h_WWn

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 openfda-recalls-adverse-events-api-d6398fae
```

Example prompt: Search the FDA openFDA database for the 10 most recent drug recalls and show me the recalling firm, classification, and reason for each.

## When to prefer this

Use this endpoint when you need raw FDA recall or adverse-event data for drugs, medical devices, or food products sourced directly from openFDA with structured classification and firm details. Prefer this over the sibling multi-agency consumer recall endpoint when you specifically want FDA data with openFDA's Lucene query syntax and need the recall/event distinction.

## Known failure modes

- Invalid product type value (not drug/device/food) returns a 400 error
- Invalid report type (not recall/event) returns a 400 error
- Search query with unsupported Lucene syntax may return no results or an error
- Limit value out of range may be rejected
- openFDA upstream unavailability may cause 502/503 errors
- Payment not processed or invalid x402 header returns 402 Payment Required

## How this service works

FDA recalls and adverse events. Drug, device, and food recall and adverse-event records from openFDA with classification, recalling firm, and reason.

## Output

A list of FDA recall or adverse-event records (up to the specified limit) including product type, recalling firm, recall classification, reason for recall or adverse event details, and associated metadata sourced from openFDA.

## 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": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "type": {
       "enum": [
        "drug",
        "device",
        "food"
       ],
       "type": "string",
       "default": "drug"
      },
      "limit": {
       "type": "string",
       "default": "20"
      },
      "report": {
       "enum": [
        "recall",
        "event"
       ],
       "type": "string",
       "default": "recall"
      },
      "search": {
       "type": "string",
       "description": "OpenFDA Lucene query or plain text"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openfda-recalls-adverse-events-api-d6398fae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.kadec0.xyz](https://www.zero.xyz/host/api.kadec0.xyz/llms.txt)
