# FDA Drug Label Lookup (openFDA SPL)

> FDA Drug Label Lookup (openFDA SPL) is a paid API for AI agents from agent-utils-x402-production.revenue-agent-jw.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-18).

Looks up FDA drug label (package insert / SPL) by brand name, generic name, NDC, or set ID and returns selected label sections plus metadata

## Facts

- Endpoint: GET https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/fda/drug-label?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fda-drug-label-lookup-openfda-spl-04b1f5e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lp-nckN2rmFXPOfY6ZkhH

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 fda-drug-label-lookup-openfda-spl-04b1f5e3
```

Example prompt: Pull the FDA drug label for Ozempic — I need the indications and usage, boxed warnings, and drug interactions sections, trimmed to 2000 characters each.

## When to prefer this

Use this endpoint when you need authoritative FDA-approved drug label content (indications, dosing, warnings, contraindications, interactions, adverse reactions) for a specific drug identified by brand name, generic name, NDC, or SPL set ID. Prefer it over general web search when you need structured, regulatory-grade label data with metadata like RxCUI, application number, and NDCs. It is especially suited for clinical decision support, pharmacovigilance, compliance checks, and medical AI agents needing verifiable FDA label text.

## Known failure modes

- 400 Bad Request — invalid or missing input parameters (e.g. malformed NDC or no search term provided)
- 404 Not Found — no FDA label matches the given name, NDC, or set ID
- Drug name ambiguity — common generic names may match multiple products; the endpoint prefers the original packager's latest label
- Truncated sections — sections are trimmed to max_chars so very long warnings may be cut off; use a larger max_chars or request fewer sections
- openFDA API unavailability — upstream outage may cause failures

## How this service works

FDA drug label (package insert, SPL) lookup via openFDA by brand or generic name, NDC or set ID; prefers the original packager's latest label. Useful for indications, dosing, boxed warnings, contraindications, interactions and adverse reactions. Returns label metadata (brand, generic, manufacturer, application number, NDCs, RxCUI) and selected sections trimmed to max_chars, plus DailyMed link and retrievedAt. Errors: 400 invalid input, 404 no label.

## Output

Returns a JSON object with label metadata (brand name, generic name, manufacturer, application number, NDCs, RxCUI, effective date), selected label sections trimmed to the requested character limit, a DailyMed link for the full label, and a retrievedAt timestamp. Sections are keyed by their SPL field names (e.g. indications_and_usage, boxed_warning, drug_interactions). Returns HTTP 400 for invalid input and 404 when no label is found.

## 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": {
      "ndc": {
       "type": "string",
       "description": "product or package NDC"
      },
      "name": {
       "type": "string",
       "description": "brand or generic name"
      },
      "set_id": {
       "type": "string",
       "description": "SPL set id (UUID)"
      },
      "sections": {
       "type": "string",
       "description": "comma-separated section keys, e.g. boxed_warning,indications_and_usage,drug_interactions"
      },
      "max_chars": {
       "type": "integer",
       "maximum": 10000,
       "minimum": 200,
       "description": "per section, default 1500"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "label": {
   "brandName": [
    "Lipitor"
   ],
   "genericName": [
    "ATORVASTATIN CALCIUM"
   ],
   "effectiveDate": "2024-04-15",
   "applicationNumber": [
    "NDA020702"
   ]
  },
  "sections": {
   "indications_and_usage": "LIPITOR is indicated ..."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fda-drug-label-lookup-openfda-spl-04b1f5e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-utils-x402-production.revenue-agent-jw.workers.dev](https://www.zero.xyz/host/agent-utils-x402-production.revenue-agent-jw.workers.dev/llms.txt)
