# Maxwell x402 — FDA Food Enforcement Records

> Maxwell x402 — FDA Food Enforcement Records is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-01).

Retrieves FDA food enforcement action records (recalls, market withdrawals, safety alerts) from the openFDA food enforcement dataset

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/openfda/food/enforcement?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-x402-fda-food-enforcement-records-7f2f9f33
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Dgky8CFK0JLVZBdBpL5Ug

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 maxwell-x402-fda-food-enforcement-records-7f2f9f33
```

Example prompt: Can you pull FDA food enforcement records for peanut butter recalls from openFDA — I want to see recent enforcement actions and the reason for recall?

## When to prefer this

Choose this endpoint when you need programmatic access to FDA food enforcement data (recalls, withdrawals, safety alerts) without setting up your own openFDA integration. It is ideal for AI agents that need food safety lookups in a pay-per-call model without API key management. Prefer this over direct openFDA calls when operating in an x402 micropayment workflow or when you want a cached/proxied response for lower latency.

## Known failure modes

- Invalid or unsupported query parameters return an error or empty results
- Rate limiting or payment failures return 402 or 429 status
- openFDA upstream unavailability may cause 503 or timeout errors
- Malformed query syntax returns a 400 bad request
- No matching records for a specific search returns empty results array

## How this service works

FDA food recalls (enforcement reports) from openFDA, newest first: matches product, firm or reason. Each recall has its number, class (I-III), status, reason, firm, dates, distribution and quantity. ?q=listeria; 10 by default, up to 25 with &limit=. Answers are cached for up to 24 hours.

## Output

Returns JSON with FDA food enforcement records including product descriptions, recall classifications (Class I/II/III), reason for recall, recalling firm details, distribution patterns, recall initiation dates, and status. Response is paginated and follows the openFDA response envelope format.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-x402-fda-food-enforcement-records-7f2f9f33/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
