# Clinical Trial Failure Intelligence

> Clinical Trial Failure Intelligence is a paid API for AI agents from x402-filings.datalayer.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Fetches stopped clinical trials from ClinicalTrials.gov and classifies the stop reason—distinguishing true safety/efficacy failures from business, recruitment, and funding halts

## Facts

- Endpoint: GET https://x402-filings.datalayer.workers.dev/v1/health/clinical-trials
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clinical-trial-failure-intelligence-66156148
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GB1m1aT1dREi6i2-Un_R7

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 clinical-trial-failure-intelligence-66156148
```

Example prompt: Pull all stopped Phase 3 melanoma trials sponsored by Novartis—up to 50 results—and classify each stop reason so I can see which ones were actual safety or efficacy failures versus just funding or recruitment issues.

## When to prefer this

Choose this endpoint when you need to interpret why a clinical trial stopped—not just that it stopped—especially to avoid conflating business or logistical halts with scientific failures. It is the right choice for due diligence on drug pipelines, competitive intelligence on trial outcomes, or any research workflow where misreading a terminated trial as an efficacy failure would lead to wrong conclusions. Prefer it over raw ClinicalTrials.gov queries when stop-reason classification is required.

## Known failure modes

- No trials found matching the filter combination—returns empty results or zero-count cohort
- Invalid phase value (not PHASE1/PHASE2/PHASE3/PHASE4) causes parameter rejection
- Limit out of range (below 1 or above 100) causes validation error
- ClinicalTrials.gov upstream unavailability may cause delayed or failed responses
- Free-text stop reasons that are ambiguous or missing may result in unclassified records
- Payment failure or x402 protocol error prevents the call from completing

## How this service works

Stopped clinical trials with the stop reason classified. ClinicalTrials.gov records why a trial halted as free text; this reads that text and separates safety and efficacy failures from business, recruitment and funding stops, which are the ones people routinely misread as drug failures. Filter by sponsor, condition, intervention and phase, and get the cohort-level breakdown alongside the records.

## Output

A list of stopped clinical trial records from ClinicalTrials.gov, each with the free-text stop reason parsed and classified into categories: safety/efficacy failure versus business, recruitment, or funding halt. Also includes a cohort-level summary breakdown of stop reason categories across the returned records, along with trial metadata such as sponsor, condition, intervention, and phase.

## 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",
     "properties": {
      "limit": {
       "type": "integer",
       "examples": [
        25
       ],
       "description": "Max studies, 1-100. Default 25."
      },
      "phase": {
       "type": "string",
       "examples": [
        "PHASE3"
       ],
       "description": "PHASE1, PHASE2, PHASE3 or PHASE4."
      },
      "sponsor": {
       "type": "string",
       "examples": [
        "Novartis"
       ],
       "description": "Sponsor or collaborator name."
      },
      "condition": {
       "type": "string",
       "examples": [
        "melanoma"
       ],
       "description": "Condition or disease."
      },
      "stoppedOnly": {
       "type": "boolean",
       "examples": [
        true
       ],
       "description": "Only trials that were withdrawn, suspended or terminated. Default true."
      },
      "intervention": {
       "type": "string",
       "examples": [
        "pembrolizumab"
       ],
       "description": "Drug or intervention name."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clinical-trial-failure-intelligence-66156148/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-filings.datalayer.workers.dev](https://www.zero.xyz/host/x402-filings.datalayer.workers.dev/llms.txt)
