# Biomedical Intelligence API – Drug & Clinical Trial Lookup

> Biomedical Intelligence API – Drug & Clinical Trial Lookup is a paid API for AI agents from agy-x402-gateway.omega-x402-edge.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-12-02).

Looks up FDA safety data, clinical trial counts, and ChEMBL compound records for a given drug or compound, optionally filtered by medical condition.

## Facts

- Endpoint: GET https://agy-x402-gateway.omega-x402-edge.workers.dev/api/v1/biomed-intel?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/biomedical-intelligence-api-drug-clinical-trial-lookup-616893b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gUXY9AYZzU9lCL5XaIZGv

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 biomedical-intelligence-api-drug-clinical-trial-lookup-616893b8
```

Example prompt: Can you pull up the FDA safety info, boxed warning status, and clinical trial counts for semaglutide filtered to obesity — show me up to 5 results?

## When to prefer this

Use this endpoint when you need a fast, aggregated biomedical snapshot combining FDA safety flags, adverse event volumes, clinical trial counts, and ChEMBL compound identifiers for a specific drug — especially when you want all three sources in a single pay-per-call request without managing separate API integrations. Prefer this over direct FDA or ClinicalTrials.gov APIs when you need low-latency aggregation and are comfortable with micropayment settlement via USDC on Base or Solana.

## Known failure modes

- Drug name not found in any source — returns empty arrays and zero counts
- Invalid or misspelled drug name — may return no ChEMBL or FDA matches
- Limit parameter outside 1-10 range — may default or return error
- Upstream API unavailability (FDA, ClinicalTrials.gov, ChEMBL) — partial or failed response
- Payment not settled — x402 payment required before data is returned

## How this service works

24/7 Edge pay-per-call biomedical, multi-chain token/escrow/wallet forensics, clean web extraction, and x402 verification APIs settled via USDC on Base and Solana.

## Output

Returns a JSON object containing the queried drug name and parameters, FDA safety data (boxed warning boolean, adverse event report count), clinical trial summary (total count and study list), ChEMBL compound records (ChEMBL ID, preferred name), and a retrieval timestamp. License notices for underlying data sources are also included.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "drug": {
       "type": "string",
       "description": "Drug or compound generic/brand name (e.g. semaglutide)"
      },
      "limit": {
       "type": "string",
       "description": "Max results (1-10, default 5)"
      },
      "condition": {
       "type": "string",
       "description": "Optional condition filter (e.g. obesity)"
      }
     }
    },
    "discoverable": {
     "type": "boolean"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "fda_safety",
      "clinical_trials",
      "chembl_compounds",
      "retrieved_at"
     ],
     "properties": {
      "query": {
       "type": "object"
      },
      "fda_safety": {
       "type": "object"
      },
      "retrieved_at": {
       "type": "string"
      },
      "clinical_trials": {
       "type": "object"
      },
      "_license_notices": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "chembl_compounds": {
       "type": "array",
       "items": {
        "type": "object"
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": {
   "drug": "semaglutide",
   "limit": 5,
   "condition": "obesity"
  },
  "fda_safety": {
   "boxed_warning": true,
   "adverse_event_reports": 24150
  },
  "retrieved_at": "2026-11-05T00:00:00.000Z",
  "clinical_trials": {
   "studies": [],
   "total_count": 142
  },
  "chembl_compounds": [
   {
    "chembl_id": "CHEMBL2108724",
    "pref_name": "SEMAGLUTIDE"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/biomedical-intelligence-api-drug-clinical-trial-lookup-616893b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agy-x402-gateway.omega-x402-edge.workers.dev](https://www.zero.xyz/host/agy-x402-gateway.omega-x402-edge.workers.dev/llms.txt)
