# fittings Clinical Trials Search

> fittings Clinical Trials Search is a paid API for AI agents from fittings.sh, paid per call via x402, $0.00498/call, status unknown (last checked 2026-10-10).

Search ClinicalTrials.gov for registered trials by condition, intervention, sponsor, or free text, filtered by recruitment status and phase.

## Facts

- Endpoint: GET https://fittings.sh/v1/ctgov/trial-search?utm_source=zero.xyz
- Price: $0.00498/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fittings-clinical-trials-search-c183dfd2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9u4bbRDhRGAMu7guwX08Z

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 fittings-clinical-trials-search-c183dfd2
```

Example prompt: Can you find up to 20 currently RECRUITING Phase 3 clinical trials for Type 2 Diabetes involving metformin?

## When to prefer this

Choose this endpoint when you need to search the official ClinicalTrials.gov registry for structured trial data by condition, intervention, sponsor, or keyword, especially when you want to filter by recruitment status (e.g. RECRUITING) or trial phase (e.g. PHASE3). Prefer this over general web search when you need structured, authoritative registry data. Use when building patient-matching tools, competitive intelligence pipelines, or research discovery workflows.

## Known failure modes

- No results found when search terms are too specific or misspelled
- Invalid phase value returns an error (must use exact enum like PHASE3)
- Invalid status value returns an error (must use exact enum like RECRUITING)
- Limit outside 1–50 range may return an error or be clamped
- Overly broad free-text queries may return irrelevant trials
- Network or upstream ClinicalTrials.gov API unavailability causes failure

## How this service works

Search registered clinical trials by condition, intervention, sponsor or free text, filtered by recruitment status and phase.

## Output

Returns a list of clinical trial records from ClinicalTrials.gov matching the query parameters, including trial identifiers (NCT IDs), titles, conditions, interventions, sponsor names, recruitment status, trial phase, and other registry metadata. Result count is bounded by the limit parameter (1–50, default 10).

## 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",
     "required": [],
     "properties": {
      "term": {
       "type": "string",
       "description": "Free-text search across the record"
      },
      "limit": {
       "type": "number",
       "description": "1-50, default 10"
      },
      "phase": {
       "type": "string",
       "description": "One of EARLY_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4"
      },
      "status": {
       "type": "string",
       "description": "One of RECRUITING, NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, ENROLLING_BY_INVITATION, COMPLETED, SUSPENDED, TERMINATED, WITHDRAWN, AVAILABLE, NO_LONGER_AVAILABLE, TEMPORARILY_NOT_AVAILABLE, APPROVED_FOR_MARKETING, WITHHELD, UNKNOWN"
      },
      "sponsor": {
       "type": "string",
       "description": "Lead sponsor or collaborator"
      },
      "condition": {
       "type": "string",
       "description": "Condition or disease"
      },
      "intervention": {
       "type": "string",
       "description": "Drug, device or procedure"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fittings-clinical-trials-search-c183dfd2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fittings.sh](https://www.zero.xyz/host/fittings.sh/llms.txt)
