80trust / 100
Food Enforcement
by Maxwell x402 in Other
x402 APIPassing, checked 5 h ago
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.
GET https://api.maxwellinternational.ai/v1/openfda/food/enforcement
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 270 ms typical, 270 ms slowest 5%
- Last check
- 5 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/openfda/food/enforcement?q=listeria"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Fopenfda%2Ffood%2Fenforcement
const res = await pay("https://api.maxwellinternational.ai/v1/openfda/food/enforcement?q=listeria");
console.log(await res.json());Example input
{
"q": "listeria"
}Example output
{
"count": 10,
"fetchedAt": "2026-10-05T07:36:46.386Z",
"kind": "food_enforcement",
"match": true,
"meta": {
"disclaimer": "Do not rely on openFDA to make decisions regarding medical care. While we mak...",
"last_updated": "2026-09-23",
"license": "https://open.fda.gov/license/",
"results": {
"limit": 10,
"skip": 0,
"total": 7494
},
"terms": "https://open.fda.gov/terms/"
},
"notice": "Do not rely on openFDA to make decisions regarding medical care. Always speak...",
"query": "listeria",
"results": [
{
"classification": "Class I",
"code_info": "LOT 00000ZRAA1 EXP 08/15/2026 LOT 00000ZUAD2 EXP 08/18/2026",
"distribution_pattern": "Florida",
"product_description": "Mon Sire Brie, soft-ripened French cheese, 1 kg, packed in carboard carton an...",
"product_quantity": "22 cases (44 units)",
"reason_for_recall": "The firm was notified by their Brie Cheese supplier that sample results revea...",
"recall_initiation_date": "20260825",
"recall_number": "H-1388-2026",
"recalling_firm": "Optimus Inc. d/b/a/ Markys Caviar",
"report_date": "20260923",
"status": "Ongoing",
"termination_date": null
}
],
"source": "https://api.fda.gov/food/enforcement.json",
"total": 7494
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 270 ms | $0.005 |