# OpenFDA Food Enforcement Recalls Search

> OpenFDA Food Enforcement Recalls Search is a paid API for AI agents from project-api-gamma-sable.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Search and retrieve FDA food enforcement recall records via a paid OpenFDA proxy, returning slim JSON results plus a UI link.

## Facts

- Endpoint: GET https://project-api-gamma-sable.vercel.app/paid/openfda/food-enforcement?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openfda-food-enforcement-recalls-search-edb9b7b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FrqWyXj7Trnd8wTWtQVOy

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-food-enforcement-recalls-search-edb9b7b2
```

Example prompt: Search the FDA food enforcement database for recalls related to 'peanut butter' and show me the first 5 results.

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to FDA food enforcement recall data with minimal overhead. Prefer it over direct OpenFDA API calls when operating in an x402 payment-enabled agent environment on Base, or when you want a simplified slim JSON response with a built-in UI link. Ideal for compliance checks, food safety monitoring, or enriching product data with recall history.

## Known failure modes

- HTTP 402 if payment is not provided or USDC balance is insufficient
- Empty items array if search term matches no records
- Invalid or missing 'search' parameter returns an error
- Rate limiting or upstream OpenFDA unavailability may cause 5xx errors
- Malformed query string may return unexpected or empty results

## How this service works

Paid public-data feeds. Unpaid requests return HTTP 402. Prices are USDC on Base.

## Output

Returns a slim JSON object containing a list of matching FDA food enforcement recall items and a uiLink for further browsing. Each item includes recall details sourced directly from the OpenFDA food enforcement dataset.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "search"
     ],
     "properties": {
      "skip": {
       "type": "string",
       "description": "Result skip"
      },
      "limit": {
       "type": "string",
       "description": "Max results"
      },
      "search": {
       "type": "string",
       "description": "Search term (alias of q)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "what": "openFDA food enforcement recalls (slim JSON + uiLink)",
  "items": [],
  "source": "/paid/openfda/food-enforcement"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openfda-food-enforcement-recalls-search-edb9b7b2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from project-api-gamma-sable.vercel.app](https://www.zero.xyz/host/project-api-gamma-sable.vercel.app/llms.txt)
