# ScriptMasterLabs OpenFDA Drug Label API

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

Queries the OpenFDA drug label database for prescribing information, warnings, and drug details, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/openfda-drug-label?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-openfda-drug-label-api-5928a2d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JHxQgd7c3B1LZwrlKQzfa

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-api-5928a2d6
```

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

## When to prefer this

Choose this endpoint when you need official FDA drug label data (indications, warnings, dosage, contraindications) in a pay-per-call model settled in USDC on Base via the x402 protocol — particularly useful for AI agents or crypto-native applications that need lightweight, metered access to regulatory drug data without a traditional API key subscription.

## Known failure modes

- Drug name not found in OpenFDA database returns empty results or 404
- Vague or misspelled query returns unrelated drug labels
- OpenFDA upstream API downtime causes request failure
- Missing required query parameter 'q' returns a schema validation error
- Rate limits or payment failure over x402 protocol returns 402 Payment Required

## 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, and drug interactions, sourced directly from the OpenFDA labels database.

## 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-api-5928a2d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
