# Drug Profile Lookup by Name or NDC

> Drug Profile Lookup by Name or NDC is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.052/call, status unknown (last checked 2026-11-07).

Returns a drug profile (details, rates, and related data) for a given drug name or NDC code via a pay-per-call x402 micropayment endpoint.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/drug/profile?utm_source=zero.xyz
- Price: $0.052/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-07
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/drug-profile-lookup-by-name-or-ndc-1b0367e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cx7YEKi4lrwN2QgHcFFir

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 drug-profile-lookup-by-name-or-ndc-1b0367e7
```

Example prompt: Can you pull up the drug profile for warfarin? I need to look it up by its generic name.

## When to prefer this

Use this endpoint when you need to look up structured drug profile data by drug name (brand, generic, or active ingredient) or by NDC code, and you are operating in an x402-enabled agentic context capable of making USDC micropayments. Suitable for pharmaceutical data enrichment, medication verification, or clinical workflow automation.

## Known failure modes

- Drug name or NDC not found — returns empty result or error
- Missing required query parameter (neither drug nor ndc provided)
- Payment failure — x402 USDC micropayment not completed, returns 402
- Invalid NDC format returns error or no result
- Network timeout or server error returns failure response

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object containing drug profile information (details, rates, billing verification data, and other pharmaceutical metadata) for the requested drug name or NDC code, with a success flag.

## 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",
     "required": [],
     "properties": {
      "ndc": {
       "type": "string",
       "default": null,
       "description": "Product NDC instead of a name, e.g. 0093-1712"
      },
      "drug": {
       "type": "string",
       "default": null,
       "description": "Drug brand, generic or active-ingredient name, e.g. warfarin"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/drug-profile-lookup-by-name-or-ndc-1b0367e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
