---
title: "Search clinical trials"
method: POST
path: "/api/v1/search_clinical_trials"
tags: ["life"]
---

# Search clinical trials

`POST /api/v1/search_clinical_trials`

## Request

- Base URL: `https://scholarmuse.ai`
- URL: `https://scholarmuse.ai/api/v1/search_clinical_trials`
- Auth: HTTP bearer

Search the ClinicalTrials.gov registry by condition, intervention, phase, recruitment status and country. Returns NCT id, title, status, phase, conditions, interventions, sponsor, enrollment, dates, primary outcomes and the registry URL. Use it to find or verify registered studies. Registry data for research, not medical advice or a recommendation to enrol.

Discipline pack: life. Cost: 2 credits per successful call.

## Request body

- object
  - `condition` string: Disease or condition, e.g. "heart failure".
  - `intervention` string: Drug, device or procedure, e.g. "semaglutide".
  - `phase` integer: Trial phase: 1, 2, 3 or 4.
  - `status` string: Overall status: recruiting, not_yet_recruiting, active_not_recruiting, completed, terminated, suspended, withdrawn, enrolling_by_invitation or unknown.
  - `country` string: Country with a study site, in English, e.g. "Germany" or "United States".
  - `query` string: Free text for anything else (sponsor, outcome, NCT id, keywords).
  - `limit` integer: Results to return (default 10).

## Response `200`

The tool result.

- ToolResult
  - `summary` string, required
  - `billing` CreditStatus
    - `creditsRemaining` integer, nullable, required: Spendable, unexpired balance at checkedAt; null if refresh failed. Credits reserved by pending figures are excluded.
    - `status` 'ok' | 'low' | 'empty' | 'unavailable', required
    - `lowBalanceThreshold` integer, required
    - `topUpUrl` string, uri, required
    - `pricingUrl` string, uri, required
    - `checkedAt` string, date-time, required
    - `notice` string
  - `records` Record[]
    - `id` string, required
    - `type` string, required
    - `source` string, required
    - `title` string
    - `url` string
    - `license` string
    - `attribution` string
    - `retrievedAt` string, date-time, required
    - `data` object, required
  - `partial` boolean
  - `failedSources` object[]
    - `source` string
    - `error` string
  - `files` object[]
    - `name` string
    - `url` string
    - `mimeType` string
  - `extra` object
  - `credits_used` number, required
  - `call_id` string, required

## Other responses

- `400`: The call failed and was not charged.
- `401`: The call failed and was not charged.
- `402`: The call failed and was not charged.
- `429`: The call failed and was not charged.
- `502`: The call failed and was not charged.

---

[API](https://skmtc.dev/scholarmuse/apis/scholarmuse-rest-api.md) · [All operations](https://skmtc.dev/scholarmuse/apis/scholarmuse-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scholarmuse/apis/scholarmuse-rest-api/revisions/beafd92e4bfb?raw)
