W

Workers · Official Clinicaltrials Search

by Workers

POSTBase

$0.01

per call · USD Coin on Base

Find recently updated ClinicalTrials.gov study identifiers, titles and registry status for a condition, with the registry processing date. No medical conclusion.

Endpoint

POST https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/clinicaltrials-search

1

Calls / 30d

1

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/clinicaltrials-search", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "condition": "asthma",
    "limit": 5
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/clinicaltrials-search" \
  -H "Content-Type: application/json" \
  -d '{"condition":"asthma","limit":5}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "observed_at": "2026-09-06T00:00:00Z",
  "result": {
    "freshness": {
      "cacheAgeSeconds": 0,
      "maximumCacheSeconds": 0,
      "recordAgeIsNotRetrievalAge": true,
      "retrievedAt": "2026-09-06T00:00:00Z",
      "state": "CURRENT_RETRIEVAL"
    },
    "normalizedResult": [],
    "observedAt": "2026-09-06T00:00:00Z",
    "provenance": {
      "attribution": "ClinicalTrials.gov, US National Library of Medicine",
      "documentationUrl": "https://clinicaltrials.gov/data-api/api",
      "license": "ClinicalTrials.gov terms; bounded factual study metadata only",
      "limitations": [
        "Illustrative empty result; no live data claim."
      ],
      "modifications": "Selected factual fields, normalized names and bounded result count; no source ownership claimed.",
      "termsUrl": "https://clinicaltrials.gov/about-site/terms-conditions",
      "truncated": false,
      "upstreamCalls": 1
    },
    "query": {
      "condition": "asthma",
      "limit": 5
    },
    "rawSourceIdentifiers": [],
    "source": "ClinicalTrials.gov",
    "sourceProcessedAt": null,
    "sourceUpdatedAt": null,
    "sourceUrl": "https://clinicaltrials.gov"
  },
  "route": "clinicaltrials-search"
}

Payment details

Pay to0x25e8245f07d5e4873987293dad666afbe56a9608
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Workers & similar services