# ScriptMasterLabs OpenFDA Drug Label Lookup

> ScriptMasterLabs OpenFDA Drug Label Lookup is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Fetches FDA drug label information for a given drug query using the OpenFDA API, paid per-call via x402 USDC micropayment.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/openfda-drug-label
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-openfda-drug-label-lookup-947a24b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2DtwArjd3fPgDGZgtGzi_

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 scriptmasterlabs-openfda-drug-label-lookup-947a24b6
```

Example prompt: Can you pull up the official FDA drug label for ibuprofen — I need the indications, warnings, and dosage information?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to official FDA drug label data without setting up your own OpenFDA integration. Ideal for agents that need on-demand drug information with microtransaction billing via USDC on Base, rather than a subscription or self-hosted API key setup. Best when querying individual drugs by name in an automated pipeline.

## Known failure modes

- Drug not found in OpenFDA database — returns empty results or 404
- Invalid or misspelled drug name query — may return no matches
- OpenFDA API upstream downtime — service may be temporarily unavailable
- Payment failure via x402 — call not executed if USDC payment not settled
- Rate limiting or quota exceeded on upstream OpenFDA API

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns FDA drug label data for the queried drug, including fields such as indications and usage, warnings, contraindications, dosage and administration, adverse reactions, drug description, and active/inactive ingredients, sourced directly from OpenFDA.

## 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": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "example": "ibuprofen"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-openfda-drug-label-lookup-947a24b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
