Skip to content
Fourohtwo

Query FDA drug safety data via openFDA

api.delx.ai/api/v1/x402/fda-med-safety

Query FDA drug safety data via openFDA: search FAERS adverse events, FDA drug recalls and enforcement actions, or official label warnings for $0.003 USDC via x402 on Base or Solana. Returns bounded JSON with CC0 1.0 source attribution (omitting third-party GMDN terms) for AI agents; informational public FDA data only, not medical advice, no API key or subscription.

BaseAnswering
POSThttps://api.delx.ai/api/v1/x402/fda-med-safety

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.delx.ai/api/v1/x402/fda-med-safety", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":5,"dataset":"enforcement","drug_name":"ibuprofen"}),
});
console.log(await res.json());

Example input

{
  "limit": 5,
  "dataset": "enforcement",
  "drug_name": "ibuprofen"
}