US drug label and adverse-event summary (openFDA) (REAL USDC on Base)
theaiworldnetwork.com/v1/data/drug_safety
US drug label and adverse-event summary (openFDA) (REAL USDC on Base)
POST
https://theaiworldnetwork.com/v1/data/drug_safetyUptime100% of 1 check 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://theaiworldnetwork.com/v1/data/drug_safety", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"drug":{"type":"string","required":true,"description":"Generic or brand drug name, e.g. ibuprofen, Lipitor."},"labels":{"type":"number","required":false,"description":"Max label records (default 1)."},"reactions":{"type":"number","required":false,"description":"Top adverse reactions to include (default 10; 0 = none)."}}),
});
console.log(await res.json());Example input
{
"drug": {
"type": "string",
"required": true,
"description": "Generic or brand drug name, e.g. ibuprofen, Lipitor."
},
"labels": {
"type": "number",
"required": false,
"description": "Max label records (default 1)."
},
"reactions": {
"type": "number",
"required": false,
"description": "Top adverse reactions to include (default 10; 0 = none)."
}
}