80trust / 100
Drug Enforcement
by Maxwell x402 in Other
x402 APIPassing, checked 5 h ago
FDA drug recalls (enforcement reports) from openFDA, newest first: matches product, firm, reason, brand or generic name. Each recall has its number, class (I-III), status, reason, firm, dates, distribution and quantity. ?q=valsartan; 10 by default, up to 25 with &limit=. Answers are cached for up to 24 hours.
GET https://api.maxwellinternational.ai/v1/openfda/drug/enforcement
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 77 ms typical, 77 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/drug/enforcement?q=valsartan"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%2Fdrug%2Fenforcement
const res = await pay("https://api.maxwellinternational.ai/v1/openfda/drug/enforcement?q=valsartan");
console.log(await res.json());Example input
{
"q": "valsartan"
}Example output
{
"count": 10,
"fetchedAt": "2026-10-05T09:28:41.825Z",
"kind": "drug_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": 48
},
"terms": "https://open.fda.gov/terms/"
},
"notice": "Do not rely on openFDA to make decisions regarding medical care. Always speak...",
"query": "valsartan",
"results": [
{
"classification": "Class II",
"code_info": "Lot AV5913C, Expiry: 6/2027",
"distribution_pattern": "US Nationwide",
"product_description": "Diovan (valsartan) 160 mg, 90 tablets, Rx only, Manufactured by: Patheon Manu...",
"product_quantity": null,
"reason_for_recall": "Failed Dissolution Specifications",
"recall_initiation_date": "20260804",
"recall_number": "D-0746-2026",
"recalling_firm": "Novartis Pharmaceuticals Corporation",
"report_date": "20260819",
"status": "Ongoing",
"termination_date": null
}
],
"source": "https://api.fda.gov/drug/enforcement.json",
"total": 48
}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 | 77 ms | $0.005 |