# Clinical Trials Search & NCT Lookup

> Clinical Trials Search & NCT Lookup is a paid API for AI agents from api.boscolabs.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-13).

Search ClinicalTrials.gov for clinical trials by condition, drug, sponsor, phase, or status, and look up specific trials by NCT ID with full metadata.

## Facts

- Endpoint: POST https://api.boscolabs.dev/v1/clinical-trials?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clinical-trials-search-nct-lookup-a4ec907d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gz3ipaxPxhYYD-4saqdc-

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-trials-search-nct-lookup-a4ec907d -d '<json body>'
```

Example prompt: Find me up to 20 currently recruiting Phase 3 clinical trials for non-small cell lung cancer sponsored by AstraZeneca, and show me the start dates, enrollment numbers, and whether results have been posted.

## When to prefer this

Use this endpoint when you need structured, up-to-date clinical trial data sourced directly from the official ClinicalTrials.gov registry, especially when searching by condition, drug, sponsor, phase, or status, or when looking up specific trials by NCT ID. It is preferable to general web search because it returns structured fields (enrollment, dates, status, results flag) in a consistent schema per trial, billed only on delivered rows with no charge on empty results.

## Known failure modes

- No results found for the query returns empty result with no charge
- Invalid NCT ID format returns a validation error
- Unsupported phase or status enum value causes a 400-level error
- Query too broad may hit maxResults cap and truncate results
- Network or upstream ClinicalTrials.gov availability issues may cause timeout errors

## How this service works

Clinical trials search and NCT lookup from ClinicalTrials.gov: status, phase, sponsor, conditions, interventions, enrollment, start and primary completion dates, countries and results. Typical call $0.005: $0.004 per trial, min $0.005. upto: pay only for delivered rows; exact: pays the quote (default 10 rows; set maxResults). Nothing is settled on an error or empty result. By Bosco Labs: official sources, source link per row.

## Output

Returns a list of clinical trial records from ClinicalTrials.gov, each containing: NCT ID, trial title, overall status, phase, lead sponsor, conditions studied, interventions used, enrollment count, start date, primary completion date, participating countries, whether results are posted, and a direct source link to ClinicalTrials.gov. Summary or full detail level is configurable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "phase": {
   "type": "array",
   "items": {
    "enum": [
     "EARLY_PHASE1",
     "PHASE1",
     "PHASE2",
     "PHASE3",
     "PHASE4",
     "NA"
    ],
    "type": "string"
   },
   "description": "Trial phases to include, any of EARLY_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4, NA, e.g. [\"PHASE3\"]"
  },
  "detail": {
   "enum": [
    "summary",
    "full"
   ],
   "type": "string",
   "default": "summary",
   "description": "\"summary\" (default): the compact dossier"
  },
  "nctIds": {
   "type": "array",
   "items": {
    "type": "string",
    "pattern": "^\\s*([Nn][Cc][Tt])?\\s*\\d{1,8}\\s*$"
   },
   "maxItems": 100,
   "description": "ClinicalTrials.gov identifiers to look up, NCT + 8 digits, e.g. [\"NCT05813925\"]"
  },
  "status": {
   "type": "array",
   "items": {
    "enum": [
     "RECRUITING",
     "NOT_YET_RECRUITING",
     "ENROLLING_BY_INVITATION",
     "ACTIVE_NOT_RECRUITING",
     "COMPLETED",
     "SUSPENDED",
     "TERMINATED",
     "WITHDRAWN",
     "UNKNOWN",
     "AVAILABLE",
     "NO_LONGER_AVAILABLE",
     "TEMPORARILY_NOT_AVAILABLE",
     "APPROVED_FOR_MARKETING",
     "WITHHELD"
    ],
    "type": "string"
   },
   "description": "Overall recruitment status of the trial, e.g. [\"RECRUITING\", \"NOT_YET_RECRUITING\"]"
  },
  "sponsor": {
   "type": "string",
   "pattern": "^[^\\[\\]{}<>\\r\\n]*$",
   "description": "Lead sponsor organisation, e.g. \"Novo Nordisk\" (matches \"Novo Nordisk A/S\")"
  },
  "condition": {
   "type": "string",
   "description": "Condition or disease to search for, e.g. \"obesity\" or \"non-small cell lung cancer\""
  },
  "hasResults": {
   "type": "boolean",
   "description": "true = only trials with results posted on ClinicalTrials.gov; false = only trials without"
  },
  "maxResults": {
   "type": "integer",
   "default": 10,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of trials (rows) to return in search mode, e.g. 20"
  },
  "startDateTo": {
   "type": "string",
   "pattern": "^(\\d{4}(-\\d{2}(-\\d{2})?)?)?$",
   "description": "Latest trial start date, YYYY-MM-DD, e.g. \"2025-12-31\""
  },
  "intervention": {
   "type": "string",
   "description": "Drug, biologic, device or procedure name, e.g. \"semaglutide\" or \"semaglutide OR tirzepatide\""
  },
  "startDateFrom": {
   "type": "string",
   "pattern": "^(\\d{4}(-\\d{2}(-\\d{2})?)?)?$",
   "description": "Earliest trial start date (actual or planned), YYYY-MM-DD, YYYY-MM or YYY
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clinical-trials-search-nct-lookup-a4ec907d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.boscolabs.dev](https://www.zero.xyz/host/api.boscolabs.dev/llms.txt)
