FDA device adverse events (MAUDE)
GET /api/device-adverse-eventsSummarize 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. Send GET /api/device-adverse-events with no required fields (7 optional) and pay $0.004 per call over x402 or MPP (there is no free tier). It returns a JSON object with query, totalReports, eventTypes, topProblems, recentReports and 7 more.
Counts cover every matching report; the report list is a capped sample and says so. Optional since date. Live FDA data, no key.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
device | string | no | Generic device name as reported, e.g. insulin pump |
brand | string | no | Brand name as reported |
productCode | string | no | Three-letter FDA product code, e.g. LZG |
manufacturer | string | no | Device manufacturer name as reported |
since | string | no | Only reports received on or after this date (YYYY-MM-DD) |
limit | number | no | Newest reports to list, 0-10 (default 5) |
problems | number | no | Top device problems to rank, 1-25 (default 10) |
Example request
curl -i "https://agent402.tools/api/device-adverse-events?device=insulin+pump&limit=3"
Without payment this returns HTTP 402 Payment Required with the exact price for device-adverse-events; any x402 v2 or MPP client pays it and retries.
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)"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
query | object | yes | 5 fields: device, brand, productCode, manufacturer, since |
totalReports | number | yes | 171622 |
eventTypes | array of objects | yes | 3 items in the example |
topProblems | array of objects | yes | 1 item in the example |
recentReports | array of objects | yes | 1 item in the example |
returned | number | yes | 1 |
matched | number | yes | 171622 |
complete | boolean | yes | false |
truncated | boolean | yes | true |
maxExcerptChars | number | yes | 280 |
disclaimer | string | yes | openFDA data is unvalidated and is not medical advice; do not rely on it to m... |
source | string | yes | api.fda.gov (openFDA device adverse events, public domain) |
From an MCP client
catalog.call {
"slug": "device-adverse-events",
"params": {
"device": "insulin pump",
"limit": 3
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for device-adverse-events; the stdio package pays it from a wallet or from an AGENT402_CREDITS_KEY issued earlier. Local install: npx -y agent402-mcp.
Errors and behavior
- Every field is optional. An input the tool rejects returns an HTTP 4xx whose body carries
error,tool,expected,requiredandexample. - A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
POSTwith a JSON body to /api/device-adverse-events is served as this GET, with the body as the input. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
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(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/device-adverse-events?device=insulin+pump&limit=3");
Related tools
FDA 510(k) device clearances
GET /api/device-510kSearch FDA 510(k) premarket clearances (openFDA) by applicant, three-letter product code, K number or device name.
FDA medical device recalls
GET /api/device-recallsSearch FDA medical-device recall / enforcement records (openFDA): recalling firm, classification (Class I/II/III).
FDA drug adverse events
GET /api/drug-adverse-eventsTop reported adverse reactions for a drug from the FDA FAERS database (openFDA), ranked by report count - a fast read.
FDA drug recalls
GET /api/drug-recallsSearch FDA drug recall / enforcement records (openFDA): recalling firm, classification (Class I/II/III), reason.
FDA food recalls
GET /api/food-recallsSearch FDA food recall / enforcement records (openFDA): recalling firm, classification, reason (allergen, contamination.
FDA drug label lookup
GET /api/drug-labelFDA drug labeling (openFDA SPL) by brand or generic name, or by NDC: boxed warning, indications and usage, dosage.