# Foundry ClinicalTrials Cohort Status

> Foundry ClinicalTrials Cohort Status is a paid API for AI agents from foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-14).

Checks current status and update dates for up to 3 clinical trials on ClinicalTrials.gov and compares them against previously known status/date baselines.

## Facts

- Endpoint: POST https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/clinicaltrials-cohort-status
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-clinicaltrials-cohort-status-ee4da9fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CsWbQp46xCdl2S4tlLf2X

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 foundry-clinicaltrials-cohort-status-ee4da9fe -d '<json body>'
```

Example prompt: Check the current ClinicalTrials.gov status for NCT00110383 — last I saw it was 'Recruiting' as of 2024-03-15. Has the status or update date changed?

## When to prefer this

Use this endpoint when you need to compare current ClinicalTrials.gov study status against a known historical baseline — particularly for monitoring, alerting, or due-diligence workflows. It is purpose-built for cohort-level change detection (1-3 studies per call) and provides explicit source provenance, license attribution, and structured comparison flags that raw ClinicalTrials.gov API calls do not. Prefer it over generic web scraping when you need machine-readable status-change signals with auditable data lineage and pay-per-call pricing rather than a subscription.

## Known failure modes

- Invalid NCT ID format (must match ^NCT\d{8}$) returns a validation error
- Study not found on ClinicalTrials.gov returns null fields with UNKNOWN comparison values
- Submitting more than 3 studies in one request returns a schema validation error
- ClinicalTrials.gov API unavailability may result in failed upstream call
- Null previous_status or previous_update_date causes UNKNOWN comparison outcomes rather than an error

## How this service works

Pay-per-request evidence and data tools: CSV validation and reconciliation, DNS/email configuration evidence, and bounded official weather, earthquake, vehicle, company and study records. Exact USDC prices, explicit JSON contracts and source provenance. No mailbox, ownership, medical or safety guarantees.

## Output

Returns for each submitted NCT ID: the current overall status, current last-update date, a status_comparison field (e.g. CHANGED, UNCHANGED, UNKNOWN), an update_comparison field, normalized study metadata (title, phases, study type, start/completion dates), and full source provenance including retrieval timestamp, source URL, license info, and upstream call count from ClinicalTrials.gov.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "studies": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "nct_id",
     "previous_status",
     "previous_update_date"
    ],
    "properties": {
     "nct_id": {
      "type": "string",
      "pattern": "^NCT\\d{8}$"
     },
     "previous_status": {
      "anyOf": [
       {
        "type": "string",
        "maxLength": 200
       },
       {
        "type": "null"
       }
      ]
     },
     "previous_update_date": {
      "anyOf": [
       {
        "type": "string",
        "maxLength": 200
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "maxItems": 3,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "route": "clinicaltrials-cohort-status",
  "result": {
   "studies": [
    {
     "nct_id": "NCT00110383",
     "evidence": {
      "query": {
       "nct_id": "NCT00110383"
      },
      "source": "ClinicalTrials.gov",
      "freshness": {
       "state": "CURRENT_RETRIEVAL",
       "retrievedAt": "2026-09-06T00:00:00Z",
       "cacheAgeSeconds": 0,
       "maximumCacheSeconds": 0,
       "recordAgeIsNotRetrievalAge": true
      },
      "sourceUrl": "https://clinicaltrials.gov",
      "observedAt": "2026-09-06T00:00:00Z",
      "provenance": {
       "license": "ClinicalTrials.gov terms; bounded factual study metadata only",
       "termsUrl": "https://clinicaltrials.gov/about-site/terms-conditions",
       "truncated": false,
       "attribution": "ClinicalTrials.gov, US National Library of Medicine",
       "limitations": [
        "Synthetic example only; identifiers and null values illustrate fields, not a live observation."
       ],
       "modifications": "Selected factual fields, normalized names and bounded result count; no source ownership claimed.",
       "upstreamCalls": 1,
       "documentationUrl": "https://clinicaltrials.gov/data-api/api"
      },
      "sourceUpdatedAt": null,
      "normalizedResult": [
       {
        "nctId": "NCT00110383",
        "title": null,
        "phases": [],
        "sourceUrl": "https://clinicaltrials.gov/study/NCT00110383",
        "startDate": null,
        "studyType": null,
        "overallStatus": null,
        "completionDate": null,
        "lastUpdatePostDate": null
       }
      ],
      "sourceProcessedAt": null,
      "rawSourceIdentifiers": []
     },
     "current_status": null,
     "status_comparison": "UNKNOWN",
     "update_comparison": "UNKNOWN",
     "current_update_date": null
    }
   ],
   "observedAt": "2026-09-06T00:00:00Z",
   "limitations": [
    "Synthetic example only; unknown baselines are not changes."
   ]
  },
  "observed_at": "2026-09-06T00:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-clinicaltrials-cohort-status-ee4da9fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev](https://www.zero.xyz/host/foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/llms.txt)
