← HIVE/402 market

X402 · Clinical Trials

NCT ID, title, status, phase, enrollment, sponsor, conditions. Pay 0.001 USDC on Base.

price
0.0010 USDC
rail
Base
facilitator
OMNIGATE
method
GET
endpoint https://mcp-x402.onrender.com/x402/clinical-trials
payTo 0x5bbd32e0478e49a7540ef2d760e0b0f9aa6328b2
asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
indexed 2026-10-25T20:10:49.000Z

Live 402 challenge

Hits the real endpoint without paying and shows exactly what it demands. Nothing is charged.

Pay from your agent

import { wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

const signer = privateKeyToAccount(process.env.BUYER_PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(signer) }] });

const res = await pay("https://mcp-x402.onrender.com/x402/clinical-trials", { method: "GET" });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));

Example input

{
  "term": "diabetes",
  "status": "RECRUITING",
  "rows": 10
}

Example output

{
  "source": "clinicaltrials.gov/api/v2",
  "query": {
    "term": "cancer",
    "condition": "",
    "status": "RECRUITING"
  },
  "total": 10,
  "count": 10,
  "trials": [
    {
      "nct_id": "NCT06412172",
      "title": "The Natural History and Biological Study of Pulmonary Recurrent Respiratory Papi",
      "status": "RECRUITING",
      "phase": "",
      "enrollment": 100,
      "conditions": [
        "…",
        "…"
      ],
      "sponsor": "Massachusetts General Hospital",
      "start_date": "2024-04-15",
      "completion_date": "2026-04-14",
      "summary": "Recurrent respiratory papillomatosis (RRP) is an orphan disease that affects app",
      "url": "https://clinicaltrials.gov/study/NCT06412172"
    },
    {
      "nct_id": "NCT05504772",
      "title": "Precision Medicine for Every Child With Cancer",
      "status": "RECRUITING",
      "phase": "",
      "enrollment": 3500,
      "conditions": [
        "…",
        "…"
      ],
      "sponsor": "Australian & New Zealand Children's Haematology/Oncology Group",
      "start_date": "2022-12-16",
      "completion_date": "2025-07",
      "summary": "To improve outcomes for childhood cancer patients through the implementation of ",
      "url": "https://clinicaltrials.gov/study/NCT05504772"
    }
  ],
  "_disclaimer": "Clinical trial reference data. Not medical advice."
}