# OpenFDA Drug Label Lookup

> OpenFDA Drug Label Lookup is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Searches the OpenFDA drug label database and returns structured drug labeling information including brand name, manufacturer, indications, and warnings.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/openfda/drug/label?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openfda-drug-label-lookup-7ebc79c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O1jiKzCLMeSz4wyqYUwHY

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 openfda-drug-label-lookup-7ebc79c5
```

Example prompt: Can you look up the FDA drug label information for ibuprofen, including its indications, warnings, and manufacturer details?

## When to prefer this

Prefer this endpoint when you need structured, FDA-sourced drug labeling data including indications, warnings, and manufacturer information. It proxies the OpenFDA drug label endpoint and adds caching, making it faster than calling OpenFDA directly. Best for agents that need drug safety, regulatory, or pharmaceutical lookup capabilities without needing to manage OpenFDA API keys.

## Known failure modes

- Drug name not found — returns empty results array with total count of 0
- Invalid query parameters — may return 400 error from underlying OpenFDA API
- OpenFDA API unavailable — upstream service timeout or 5xx error
- Rate limiting — too many requests in a short period
- Payment required — x402 micropayment not fulfilled results in 402 response

## How this service works

FDA drug labels (package inserts) by brand or generic name from openFDA, newest label first: brand, generic name, manufacturer, indications and usage, warnings, label date. ?q=ibuprofen; 5 labels by default, up to 25 with &limit=. Answers are cached for up to 24 hours. Not medical advice.

## Output

Returns a JSON object containing matched drug label records from the OpenFDA database, including brand name, generic name, manufacturer, product type, route of administration, indications and usage, warnings, set ID, and metadata such as total result count, query string, source URL, cache status, and fetch timestamp.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "terms": "https://open.fda.gov/terms/",
   "license": "https://open.fda.gov/license/",
   "results": {
    "skip": 0,
    "limit": 5,
    "total": 1171
   },
   "disclaimer": "Do not rely on openFDA to make decisions regarding medical care. While we mak...",
   "last_updated": "2026-09-25"
  },
  "cache": "hit",
  "count": 5,
  "match": true,
  "query": "ibuprofen",
  "source": "https://api.fda.gov/drug/label.json",
  "results": [
   {
    "id": "4bd1345d-d116-426e-825f-bbf29381746a",
    "brand": "Ibuprofen Dye Free",
    "route": [],
    "set_id": "00653b7c-7099-487e-9a01-e89781c21323",
    "generic": "IBUPROFEN",
    "warnings": [],
    "brand_names": [],
    "manufacturer": "CVS Pharmacy",
    "product_type": "HUMAN OTC DRUG",
    "generic_names": [],
    "substance_name": [],
    "indications_and_usage": []
   }
  ],
  "fetchedAt": "2026-09-25T14:25:43.149Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openfda-drug-label-lookup-7ebc79c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
