# Polyform Drug Brief API

> Polyform Drug Brief API is a paid API for AI agents from api.polyform.org, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-10).

Returns a brief drug profile for a given drug name or RxCUI, including its generic name and top adverse reactions from FDA FAERS data

## Facts

- Endpoint: GET https://api.polyform.org/v1/health/drug-brief?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polyform-drug-brief-api-d44aa149
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2OubipdEhXz1Cel1-n6AV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability polyform-drug-brief-api-d44aa149
```

Example prompt: Can you pull up the drug brief for atorvastatin — I need its RxCUI, generic name, and the top adverse reactions reported to the FDA?

## When to prefer this

Choose this endpoint when you need a fast, no-account drug safety lookup — particularly the generic name and top FDA-reported adverse reactions — without provisioning API keys or subscriptions. Ideal for AI agents that need pay-per-use drug data on demand via USDC micropayment on Base (x402 protocol). Prefer this over full clinical databases when a concise drug brief is sufficient and cost-per-call economics matter.

## Known failure modes

- Drug name not recognized — returns error or empty result if the queried drug cannot be matched
- Payment failure — if the x402 micropayment of $0.05 USDC is not completed, request is rejected
- Invalid query parameters — malformed or missing required fields return a 400-level error
- Rate or network issues — transient failures on the Base blockchain payment layer may cause timeouts

## How this service works

Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.

## Output

A JSON object containing the drug's RxCUI identifier, its generic name, and an array of top adverse reactions each with the reaction term and number of FDA FAERS reports (e.g. {rxcui: '83367', generic: 'atorvastatin', topAdverseReactions: [{term: 'FATIGUE', reports: 14405}]}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rxcui": "83367",
  "generic": "atorvastatin",
  "topAdverseReactions": [
   {
    "term": "FATIGUE",
    "reports": 14405
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polyform-drug-brief-api-d44aa149/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.polyform.org](https://www.zero.xyz/host/api.polyform.org/llms.txt)
