> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valyu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Clinical Trials API for AI Agents - Search 500K+ Studies

> Access ClinicalTrials.gov data through one API. Search 500K+ clinical studies with protocols, eligibility, outcomes, and results for AI agents and healthcare research.

Search 500K+ clinical studies from ClinicalTrials.gov through Valyu's unified API. Access study designs, eligibility criteria, outcomes, and results.

## Dataset Overview

| Property      | Value                            |
| ------------- | -------------------------------- |
| **Source ID** | `valyu/valyu-clinical-trials`    |
| **Size**      | 500K+ trials                     |
| **Coverage**  | All therapeutic areas and phases |
| **Updates**   | Real-time                        |
| **Data Type** | Structured and unstructured      |

## What You Get

* **Study protocols** - Detailed study designs and methodologies
* **Eligibility criteria** - Inclusion/exclusion criteria for patient matching
* **Outcome measures** - Primary and secondary endpoints
* **Results data** - Published outcomes and adverse events
* **Status tracking** - Recruiting, completed, terminated status
* **Sponsor information** - Organizations funding and conducting trials

## Quick Start

<CodeGroup>
  ```python Python theme={null}
  from valyu import Valyu

  valyu = Valyu()

  response = valyu.search(
      "Phase 3 clinical trials for Alzheimer's disease immunotherapy",
      search_type="proprietary",
      included_sources=["valyu/valyu-clinical-trials"],
      max_num_results=10
  )

  for result in response.results:
      print(f"Title: {result.title}")
      print(f"URL: {result.url}")
      print(f"Content: {result.content[:400]}...")
  ```

  ```javascript JavaScript theme={null}
  import { Valyu } from "valyu-js";

  const valyu = new Valyu();

  const response = await valyu.search(
    "Phase 3 clinical trials for Alzheimer's disease immunotherapy",
    {
      searchType: "proprietary",
      includedSources: ["valyu/valyu-clinical-trials"],
      maxNumResults: 10
    }
  );

  response.results.forEach((result) => {
    console.log(`Title: ${result.title}`);
    console.log(`URL: ${result.url}`);
    console.log(`Content: ${result.content.slice(0, 400)}...`);
  });
  ```
</CodeGroup>

## Trial Phases

| Phase       | Description                       | Typical Use                     |
| ----------- | --------------------------------- | ------------------------------- |
| **Phase 1** | Safety and dosing in small groups | Early drug development tracking |
| **Phase 2** | Efficacy and side effects         | Pipeline analysis               |
| **Phase 3** | Large-scale effectiveness         | Near-approval drug monitoring   |
| **Phase 4** | Post-market surveillance          | Safety and real-world evidence  |

## Use Cases

* **Drug development** - Track pipeline progress and competitor trials
* **Patient recruitment** - Match patients to eligible trials
* **Competitive intelligence** - Monitor competitor clinical programs
* **Investment research** - Assess biotech pipeline value
* **Medical research** - Find relevant studies for literature reviews

## Combine with Drug Data

Pair clinical trials with drug databases for comprehensive research:

```python theme={null}
response = valyu.search(
    "GLP-1 receptor agonist weight loss outcomes",
    search_type="proprietary",
    included_sources=[
        "valyu/valyu-clinical-trials",
        "valyu/valyu-pubmed",
        "valyu/valyu-drugbank"
    ],
    max_num_results=20
)
```

## Related Data Sources

<CardGroup cols={2}>
  <Card title="PubMed" icon="book-medical" href="/sources/pubmed">
    37M+ biomedical papers
  </Card>

  <Card title="ChEMBL" icon="atom" href="/sources/chembl">
    2.5M+ bioactive molecules
  </Card>
</CardGroup>
