---
title: Clinical Trials Search API
slug: clinical-trials-search
url: https://apyhub.com/martin10291/service/clinical-trials-search
provider: Martin Petrov
categories: [Retrieval Kit]
tags: [clinical-trials, clinicaltrials-gov, study-search, medical-research, trial-discovery]
auth: api_key
version: 1.0
service_type: sync
endpoints: 1
atoms: 100
mcp: true
---

# Clinical Trials Search API

Clinical Trials Search API filters ClinicalTrials.gov studies by query, status, sponsor, location, condition, or intervention. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/martin10291/clinical-trials-search` | What it does Searches ClinicalTrials.gov studies using the filters provided in the request body and… | 100 |

## Endpoint reference

### Clinical Trials Search - ClinicalTrials.gov studies

`POST https://api.eu.apyhub.com/martin10291/clinical-trials-search` · 100 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `query` | body | string | no | Free-text search |
| `status` | body | string | no | Overall status One of: RECRUITING, NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED, TERMINATED. Example: `RECRUITING`. |
| `sponsor` | body | string | no | Sponsor, e.g. Pfizer |
| `location` | body | string | no | Location, e.g. Germany |
| `maxItems` | body | integer | no | Max results (1-50) Default: `20`. Example: `10`. |
| `condition` | body | string | no | Condition, e.g. diabetes Example: `obesity`. |
| `intervention` | body | string | no | Drug or intervention, e.g. semaglutide Example: `semaglutide`. |

#### Quickstart

Search clinical trials by a free-text query. This minimal example sends just the required search body.

```bash
curl -X POST "https://api.eu.apyhub.com/martin10291/clinical-trials-search" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query":"obesity"}'
```

#### What you'll get back

Returns a JSON object with `billed` as an integer, `count` as an integer, and `items` as an array of trial objects.

Each item may include fields such as `url`, `nctId`, `title`, `phases`, `status`, `sponsor`, `countries`, `startDate`, `studyType`, `conditions`, `enrollment`, `lastUpdate`, `interventions`, and `completionDate`.

```json
{
  "billed": 1,
  "count": 1,
  "items": [
    {
      "nctId": "NCT01234567",
      "title": "Study of Semaglutide in Adults With Obesity",
      "status": "RECRUITING"
    }
  ]
}
```

## About

## What it does

The Clinical Trials Search API returns matching ClinicalTrials.gov studies from one request. Send a body with `query`, `status`, `sponsor`, `location`, `condition`, `intervention`, and `maxItems` when you want to narrow the search. `status` accepts values like `RECRUITING` and `COMPLETED`. `maxItems` is 1 to 100, and its default is 20.

You get a JSON result with the billed rows, the total row count, and a list of study records. Each record can include the study link, NCT ID, title, phases, status, sponsor, countries, start date, study type, conditions, enrollment, last update, interventions, and completion date.

Teams use the Clinical Trials Search API to show trial lists in research apps and internal tools. They also use it to filter studies by sponsor, location, condition, or intervention. The API helps them sort and display trial data without working with the raw ClinicalTrials.gov site.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/martin10291/service/clinical-trials-search
