Skip to content
Fourohtwo

openFDA drug adverse events

api.agent-data.workers.dev/api/v1/science/drugevents

openFDA drug adverse events: reaction counts by drug. Returns FAERS adverse event reaction counts for a drug and the total number of reports. Reports are unverified and do not prove causation.

BaseSolanaAnswering
GEThttps://api.agent-data.workers.dev/api/v1/science/drugevents

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.agent-data.workers.dev/api/v1/science/drugevents?drug=ibuprofen");
console.log(await res.json());

Example input

{
  "drug": "ibuprofen"
}

More from Crypto & Web Data API for AgentsProvider status