# Risk Events API – FDA Recalls

> Risk Events API – FDA Recalls is a paid API for AI agents from risk-events-api.onrender.com, paid per call via x402, $0.0425/call, status unknown (last checked 2026-11-28).

Returns US FDA enforcement reports (recalls) for food, drugs, or medical devices, filterable by firm, product text, recall class, US state, status, and date range.

## Facts

- Endpoint: GET https://risk-events-api.onrender.com/v1/recalls?utm_source=zero.xyz
- Price: $0.0425/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/risk-events-api-fda-recalls-5b8825d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KFJHVU8rYr_i6fTdAdeXm

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 risk-events-api-fda-recalls-5b8825d9
```

Example prompt: Can you pull up all ongoing Class I FDA food recalls in Texas from the last 60 days — look for anything related to 'peanut' in the product description and return up to 50 results?

## When to prefer this

Choose this endpoint when you need structured access to US FDA recall and enforcement data filtered by product type, recall severity class, geographic state, firm name, or date range. It is purpose-built for compliance monitoring, food/drug/device safety checks, and regulatory risk workflows. Prefer this over general web search when you need structured, filterable recall records rather than news articles about recalls.

## Known failure modes

- No results returned when filters are too restrictive or date range is too narrow
- Invalid classification value (must be I, II, or III) causes a parameter error
- Invalid date format (not YYYY-MM-DD) causes a bad request error
- 'kind' parameter must be exactly 'food', 'drug', or 'device' — other values may return no results
- Rate limiting or upstream OpenFDA API outages may cause intermittent failures
- Render.com cold-start latency if the service has been idle

## How this service works

Returns US FDA recalls (enforcement reports) for food, drugs or medical devices, filtered by firm, product text, class (I, II, III), US state, status and report date range.

## Output

Returns a list of FDA enforcement report records matching the specified filters. Each record includes the recalling firm name, product description, recall classification (I, II, or III), recall status (ongoing or closed), the US state of the firm, the report date, and other enforcement details sourced from the OpenFDA database.

## 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": {
      "firm": {
       "type": "string",
       "description": "Recalling firm name"
      },
      "kind": {
       "type": "string",
       "description": "food, drug or device"
      },
      "limit": {
       "type": "string",
       "description": "Max results (1-100)"
      },
      "since": {
       "type": "string",
       "description": "YYYY-MM-DD, default 90 days ago"
      },
      "state": {
       "type": "string",
       "description": "US state of the firm"
      },
      "until": {
       "type": "string",
       "description": "YYYY-MM-DD, default today"
      },
      "product": {
       "type": "string",
       "description": "Text in product description"
      },
      "ongoing_only": {
       "type": "string",
       "description": "true = only ongoing recalls"
      },
      "classification": {
       "type": "string",
       "description": "I, II or III"
      }
     }
    }
   },
   "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/risk-events-api-fda-recalls-5b8825d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from risk-events-api.onrender.com](https://www.zero.xyz/host/risk-events-api.onrender.com/llms.txt)
