Skip to content

FDA device adverse events (MAUDE)

$0.004 per callUSDC via x402GET /api/device-adverse-events

Summarize FDA medical device adverse event reports (openFDA MAUDE) for a device name, brand, product code or manufacturer: total matching reports, counts by event type (death, injury, malfunction)...

Category: Live public dataTags: fda device adverse-events maude mdr medical-device safety openfda

Try in playground →

Details

Summarize FDA medical device adverse event reports (openFDA MAUDE) for a device name, brand, product code or manufacturer: total matching reports, counts by event type (death, injury, malfunction), the most reported device problems, and the newest reports with date, event type, device, manufacturer, problems and a short excerpt of the event description. Counts cover every matching report; the report list is a capped sample and says so. Optional since date. Live FDA data, no key.

Parameters

NameTypeRequiredDescription
devicestringnoGeneric device name as reported, e.g. insulin pump Up to 100 characters. The example sends insulin pump.
brandstringnoBrand name as reported Up to 100 characters.
productCodestringnoThree-letter FDA product code, e.g. LZG Up to 3 characters.
manufacturerstringnoDevice manufacturer name as reported Up to 100 characters.
sincestringnoOnly reports received on or after this date (YYYY-MM-DD)
limitnumbernoNewest reports to list, 0-10 (default 5) The example sends 3.
problemsnumbernoTop device problems to rank, 1-25 (default 10)

Example request

curl -i "https://agent402.tools/api/device-adverse-events?device=insulin+pump&limit=3"

Watch a call get paid

RequestGET /api/device-adverse-events
402$0.004 USDC
SignPAYMENT-SIGNATURE
Settleon 14 chains
Answer200 OK
ReceiptAgent402-ReceiptEd25519

Example response

{
  "query": {
    "device": "insulin pump",
    "brand": null,
    "productCode": null,
    "manufacturer": null,
    "since": null
  },
  "totalReports": 171622,
  "eventTypes": [
    {
      "eventType": "Malfunction",
      "reports": 120000
    },
    {
      "eventType": "Injury",
      "reports": 50000
    },
    {
      "eventType": "Death",
      "reports": 300
    }
  ],
  "topProblems": [
    {
      "problem": "Unintended Movement",
      "reports": 41009
    }
  ],
  "recentReports": [
    {
      "reportNumber": "2032227-2026-01234",
      "mdrReportKey": "21000000",
      "dateReceived": "2026-10-01",
      "dateOfEvent": "2026-09-20",
      "eventType": "Malfunction",
      "brandName": "EXAMPLE PUMP",
      "genericName": "INSULIN PUMP",
      "manufacturer": "Example Medical",
      "productCode": "LZG",
      "deviceClass": "2",
      "problems": [
        "Unintended Movement"
      ],
      "excerpt": "IT WAS REPORTED THAT THE PUMP ...",
      "excerptChars": 640,
      "excerptTruncated": true
    }
  ],
  "returned": 1,
  "matched": 171622,
  "complete": false,
  "truncated": true,
  "maxExcerptChars": 280,
  "disclaimer": "openFDA data is unvalidated and is not medical advice; do not rely on it to make decisions regarding medical care.",
  "source": "api.fda.gov (openFDA device adverse events, public domain)",
  "credit": "Data provided by the U.S. Food and Drug Administration (https://open.fda.gov)."
}
FieldTypeAlways presentIn the example
queryobjectyes5 fields: device, brand, productCode, manufacturer, since
totalReportsnumberyes171622
eventTypesarray of objectsyes3 items in the example
topProblemsarray of objectsyes1 item in the example
recentReportsarray of objectsyes1 item in the example
returnednumberyes1
matchednumberyes171622
completebooleanyesfalse
truncatedbooleanyestrue
maxExcerptCharsnumberyes280
disclaimerstringyesopenFDA data is unvalidated and is not medical advice; do not rely on it to m...
sourcestringyesapi.fda.gov (openFDA device adverse events, public domain)
creditstringyesData provided by the U.S. Food and Drug Administration (https://open.fda.gov).

From an MCP client

catalog.call {
  "slug": "device-adverse-events",
  "params": {
    "device": "insulin pump",
    "limit": 3
  }
}

Hosted connector (https://agent402.tools/mcp): paid in the call. Stdio package (npx -y agent402-mcp@0.17.2): pays from a wallet or an AGENT402_CREDITS_KEY issued earlier.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.({ maxAmountPerPayment: "$0.004" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.AGENT_KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/device-adverse-events?device=insulin+pump&limit=3");

Get a wallet or run npx -y agent402-mcp@0.17.2 wallet new.

The quote (Python)

import base64, json, urllib.error, urllib.request

req = urllib.request.Request("https://agent402.tools/api/device-adverse-events?device=insulin+pump&limit=3", method="GET", headers={})
try:
    urllib.request.urlopen(req)
except urllib.error.HTTPError as e:
    quote = json.loads(base64.b64decode(e.headers["PAYMENT-REQUIRED"]))
    print(e.code, [(a["network"], a["amount"]) for a in quote["accepts"]])  # the price, per chain, in base units

Related tools