W

Workers · FDA Enforcement

by Workers

GETBase

$0.01

per call · USD Coin on Base

FDA recall and enforcement records across drug, device and food, normalised into one shape with classification, reason, distribution scope and firm. Queryable by firm, product, classification and date. One product type returning nothing never fails the call — the three openFDA endpoints are independent and a gap in one is not a gap in the others.

Endpoint

GET https://x402-filings.datalayer.workers.dev/v1/fda/enforcement

5

Calls / 30d

3

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402-filings.datalayer.workers.dev/v1/fda/enforcement", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-filings.datalayer.workers.dev/v1/fda/enforcement?classification=Class+I&end=2026-08-15&firm=Pfizer&limit=25&product=drug&search=contamination&start=2025-08-15" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 25,
  "firmSummary": [
    {
      "firm": "Example Pharma Inc",
      "recalls": 4,
      "worstClassification": "Class I"
    }
  ],
  "problems": [],
  "recalls": [
    {
      "classification": "Class I",
      "distribution": {
        "scope": "nationwide",
        "states": []
      },
      "firm": "Example Pharma Inc",
      "productType": "drug",
      "quantity": "12,400 bottles",
      "reason": "Failed dissolution specifications",
      "reportDate": "2026-07-02",
      "rootCause": "manufacturing",
      "status": "Ongoing"
    }
  ]
}

Payment details

Pay to0x917e635b83f0dd7e8172c55ec4eebb28b734ca85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Workers & similar services