# Clinical Trials Delta Quickstart Sample

**Use case:** 

Zero-friction sample run of the ClinicalTrials.gov + FDA Orange Book Delta Engine. Walks up to 2 pages of ClinicalTrials.gov trial-status records for a real condition filter, with delta mode on so you only get new trials and status changes since the last run. Run once to see the real event shape before a scheduled monitor.

## Input

```json
{
  "sources": [
    "clinicaltrials"
  ],
  "condition": "diabetes",
  "maxPages": 2,
  "onlyChanged": true,
  "maxRetries": 5,
  "watchlistKeywords": []
}
```

## Output

```json
{
  "data_source": {
    "label": "Data source",
    "format": "string"
  },
  "nct_id": {
    "label": "NCT ID",
    "format": "string"
  },
  "application_number": {
    "label": "Application number",
    "format": "string"
  },
  "overall_status": {
    "label": "Overall status",
    "format": "string"
  },
  "event_type": {
    "label": "Event type",
    "format": "string"
  },
  "scraped_at": {
    "label": "Scraped at (UTC)",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [ClinicalTrials.gov + FDA Orange Book - Trial Delta API](https://apify.com/stefano_seggio/clinicaltrials-orange-book-delta.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/stefano_seggio/clinicaltrials-orange-book-delta.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/stefano_seggio/clinicaltrials-orange-book-delta.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
