> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oneshotagent.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

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 the `payment-signature` header.

## Request Body

<ParamField body="drug_name" type="string" required>
  The drug's name as it appears on the reports, for example Ozempic or metformin. 2 to 100 characters.
</ParamField>

<ParamField body="limit" type="integer">
  The most reactions to return. Default 10. From 1 to 25. Defaults to `10`.
</ParamField>

<Snippet file="audit-context-params.mdx" />

## Response (200 OK)

Top-level envelope: `success` (boolean) and `data` (object). All fields below are nested under `data`.

<ResponseField name="data.request_id" type="string">
  Durable job ID for audit and lookup
</ResponseField>

<ResponseField name="data.status" type="string">
  Job status: `completed`
</ResponseField>

<ResponseField name="data.tool" type="string">
  Always `product_drug_adverse_events`
</ResponseField>

<ResponseField name="data.result" type="object">
  The answer, described under Result below
</ResponseField>

<ResponseField name="data.evidence" type="object">
  Where the answer came from and when
</ResponseField>

<ResponseField name="data.evidence.source" type="string">
  The public body the data comes from. Always `US Food and Drug Administration`.
</ResponseField>

<ResponseField name="data.evidence.source_kind" type="string">
  `public` when the data comes from a public body, `commercial` otherwise
</ResponseField>

<ResponseField name="data.evidence.retrieved_at" type="string">
  When the lookup was made, as an ISO 8601 UTC time
</ResponseField>

<ResponseField name="data.evidence.as_of" type="string">
  When the source says the fact was last updated, or `null` when the source gives no date
</ResponseField>

## Result

Nested under `data.result`.

<ResponseField name="data.result.drug_name" type="string">
  The drug name as given.
</ResponseField>

<ResponseField name="data.result.reactions" type="object[]">
  The reactions named in the reports, most reported first. Empty when no report names the drug.
</ResponseField>

<ResponseField name="data.result.reactions[].reaction" type="string">
  The reaction, in the source's term, in sentence case.
</ResponseField>

<ResponseField name="data.result.reactions[].reports" type="number">
  How many reports name the reaction.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  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
    }'
  ```

  ```javascript JavaScript theme={null}
  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
    }),
  });
  ```

  ```typescript SDK theme={null}
  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);
  ```
</RequestExample>

<ResponseExample>
  ```json Response (200) theme={null}
  {
    "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"
      }
    }
  }
  ```
</ResponseExample>

<Info>Price: \$0.005 per lookup. See [Pricing](/pricing) for every tool.</Info>

## Notes

* Results return inline. The finished job stays available at `/v1/requests/{request_id}`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.