# Supplement Recalls Search API

> Supplement Recalls Search API is a paid API for AI agents from x402-agent-api-production.up.railway.app, paid per call via x402, $0.004/call, status unknown (last checked 2026-11-13).

Search FDA supplement recall records by ingredient, brand, or product name, returning recall history with dates, firms, reasons, and classifications.

## Facts

- Endpoint: GET https://x402-agent-api-production.up.railway.app/supplements/recalls/%7Bquery%7D?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/supplement-recalls-search-api-f969fcc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NecAKDbg2r8pJjRa9lO8S

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 supplement-recalls-search-api-f969fcc6
```

Example prompt: Can you check if there are any FDA recalls on kratom supplements — I want to know the recall dates, which companies were involved, and why they were recalled?

## When to prefer this

Use this endpoint when you need to quickly verify FDA recall history for a specific dietary supplement ingredient, brand, or product — especially when building consumer safety tools, health apps, or due diligence workflows. It is preferable when you need structured, machine-readable recall data with classification levels rather than manually scraping FDA websites. Best suited for per-query lookups paid in USDC via x402 rather than bulk data subscriptions.

## Known failure modes

- No recalls found for obscure or misspelled ingredient/brand names — returns empty recalls array
- Query string too broad may return unrelated or excessive results
- Rate limiting or payment failure via x402 protocol results in 402 Payment Required
- Invalid limit parameter (outside 1–50 range) returns a validation error
- Service downtime on Railway hosting may cause intermittent 5xx errors

## How this service works

SEC and supplement safety data, pay per call in USDC via x402.

## Output

A JSON object containing the search query, a list of recalls (each with date, firm name, recall reason, and classification such as Class I/II/III), and a total match count. Returns up to 50 results 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": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "Ingredient, brand or product, e.g. kratom"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "kratom",
  "recalls": [
   {
    "date": "20250312",
    "firm": "Example Co",
    "reason": "Salmonella contamination",
    "classification": "Class I"
   }
  ],
  "total_matches": 12
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/supplement-recalls-search-api-f969fcc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-api-production.up.railway.app](https://www.zero.xyz/host/x402-agent-api-production.up.railway.app/llms.txt)
