curl -X POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-adverse-events \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"drug_name": "Ozempic",
"limit": 3
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/lookup/product-drug-adverse-events", {
method: "POST",
headers: {
"Content-Type": "application/json",
"payment-signature": paymentProof,
},
body: JSON.stringify({
"drug_name": "Ozempic",
"limit": 3
}),
});
const result = await agent.tool('lookup/product-drug-adverse-events', {
drug_name: 'Ozempic',
limit: 3
});
console.log(result.data.result);
console.log(result.data.evidence);
{
"success": true,
"data": {
"request_id": "uuid",
"receipt_id": "rcpt_...",
"status": "completed",
"tool": "product_drug_adverse_events",
"result": {
"drug_name": "Ozempic",
"reactions": [
{
"reaction": "Nausea",
"reports": 9751
},
{
"reaction": "Off label use",
"reports": 6949
},
{
"reaction": "Vomiting",
"reports": 6341
}
]
},
"evidence": {
"source": "US Food and Drug Administration",
"source_kind": "public",
"retrieved_at": "2026-10-13T12:00:00.000Z",
"as_of": "2026-07-30"
}
}
}
Lookups
Drug Adverse Events
List the reactions most often named in adverse event reports sent to the US Food and Drug Administration for a drug, each with its number of reports.
POST
/
v1
/
tools
/
lookup
/
product-drug-adverse-events
curl -X POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-adverse-events \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"drug_name": "Ozempic",
"limit": 3
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/lookup/product-drug-adverse-events", {
method: "POST",
headers: {
"Content-Type": "application/json",
"payment-signature": paymentProof,
},
body: JSON.stringify({
"drug_name": "Ozempic",
"limit": 3
}),
});
const result = await agent.tool('lookup/product-drug-adverse-events', {
drug_name: 'Ozempic',
limit: 3
});
console.log(result.data.result);
console.log(result.data.evidence);
{
"success": true,
"data": {
"request_id": "uuid",
"receipt_id": "rcpt_...",
"status": "completed",
"tool": "product_drug_adverse_events",
"result": {
"drug_name": "Ozempic",
"reactions": [
{
"reaction": "Nausea",
"reports": 9751
},
{
"reaction": "Off label use",
"reports": 6949
},
{
"reaction": "Vomiting",
"reports": 6341
}
]
},
"evidence": {
"source": "US Food and Drug Administration",
"source_kind": "public",
"retrieved_at": "2026-10-13T12:00:00.000Z",
"as_of": "2026-07-30"
}
}
}
List the reactions most often named in the adverse event reports sent to the US Food and Drug Administration for a drug, from a drug name matched against the product name on the reports. A name of several words is matched as a phrase. Each reaction is the source’s term with the number of reports that name it, most reported first. A drug with no reports gives an empty list. The total number of reports is not given. A report does not show that the drug caused the reaction, the reports are unverified, and the source says its data must not be relied on for decisions about medical care.
Authentication
Requires x402 payment in thepayment-signature header.
Request Body
string
required
The drug’s name as it appears on the reports, for example Ozempic or metformin. 2 to 100 characters.
integer
The most reactions to return. Default 10. From 1 to 25. Defaults to
10.Response (200 OK)
Top-level envelope:success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status:
completedstring
Always
product_drug_adverse_eventsobject
The answer, described under Result below
object
Where the answer came from and when
string
The public body the data comes from. Always
US Food and Drug Administration.string
public when the data comes from a public body, commercial otherwisestring
When the lookup was made, as an ISO 8601 UTC time
string
When the source says the fact was last updated, or
null when the source gives no dateResult
Nested underdata.result.
string
The drug name as given.
object[]
The reactions named in the reports, most reported first. Empty when no report names the drug.
string
The reaction, in the source’s term, in sentence case.
number
How many reports name the reaction.
curl -X POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-adverse-events \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"drug_name": "Ozempic",
"limit": 3
}'
const response = await fetch("https://win.oneshotagent.com/v1/tools/lookup/product-drug-adverse-events", {
method: "POST",
headers: {
"Content-Type": "application/json",
"payment-signature": paymentProof,
},
body: JSON.stringify({
"drug_name": "Ozempic",
"limit": 3
}),
});
const result = await agent.tool('lookup/product-drug-adverse-events', {
drug_name: 'Ozempic',
limit: 3
});
console.log(result.data.result);
console.log(result.data.evidence);
{
"success": true,
"data": {
"request_id": "uuid",
"receipt_id": "rcpt_...",
"status": "completed",
"tool": "product_drug_adverse_events",
"result": {
"drug_name": "Ozempic",
"reactions": [
{
"reaction": "Nausea",
"reports": 9751
},
{
"reaction": "Off label use",
"reports": 6949
},
{
"reaction": "Vomiting",
"reports": 6341
}
]
},
"evidence": {
"source": "US Food and Drug Administration",
"source_kind": "public",
"retrieved_at": "2026-10-13T12:00:00.000Z",
"as_of": "2026-07-30"
}
}
}
Price: $0.005 per lookup. See Pricing for every tool.
Notes
- Results return inline. The finished job stays available at
/v1/requests/{request_id}