curl --request POST \
--url https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition": "Breast Cancer",
"intervention": "Pembrolizumab",
"page_size": 3
}
'import requests
url = "https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search"
payload = {
"condition": "Breast Cancer",
"intervention": "Pembrolizumab",
"page_size": 3
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({condition: 'Breast Cancer', intervention: 'Pembrolizumab', page_size: 3})
};
fetch('https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'condition' => 'Breast Cancer',
'intervention' => 'Pembrolizumab',
'page_size' => 3
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search"
payload := strings.NewReader("{\n \"condition\": \"Breast Cancer\",\n \"intervention\": \"Pembrolizumab\",\n \"page_size\": 3\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"condition\": \"Breast Cancer\",\n \"intervention\": \"Pembrolizumab\",\n \"page_size\": 3\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"condition\": \"Breast Cancer\",\n \"intervention\": \"Pembrolizumab\",\n \"page_size\": 3\n}"
response = http.request(request)
puts response.read_body{
"api_url": "https://clinicaltrials.gov/api/v2/studies?query.cond=Breast%20Cancer&query.intr=Pembrolizumab&fields=NCTId,BriefTitle,OfficialTitle,Acronym,OverallStatus,WhyStopped,StudyType,Phase,Condition,InterventionName,InterventionType,LeadSponsorName,LeadSponsorClass,StartDateStruct,PrimaryCompletionDateStruct,CompletionDateStruct,StudyFirstPostDateStruct,LastUpdatePostDateStruct,EnrollmentInfo,HasResults,LocationCountry&countTotal=true&pageSize=3",
"next_page_token": "ZVNj7o2Elu8o3lpwUd7_5bbumpOQJJxsY_Cl1Pg",
"observed_at_ms": 1790705160120,
"source_url": "https://clinicaltrials.gov/search?cond=Breast%20Cancer&intr=Pembrolizumab",
"studies": [
{
"acronym": null,
"brief_title": "Safety and Efficacy of p53 Gene Therapy Combined With Immune Checkpoint Inhibitors in Solid Tumors.",
"completion_date": {
"date": "2022-12-31",
"type": "ESTIMATED"
},
"conditions": [
"Solid Tumor",
"Lymphoma"
],
"countries": [
"United States"
],
"enrollment": {
"count": 40,
"type": "ESTIMATED"
},
"has_results": false,
"interventions": [
{
"name": "Ad-p53",
"type": "DRUG"
}
],
"last_update_post_date": {
"date": "2020-06-09",
"type": "ACTUAL"
},
"lead_sponsor": {
"class": "INDUSTRY",
"name": "MultiVir, Inc."
},
"nct_id": "NCT03544723",
"official_title": "A Phase 2, Multi-Center, Open Label Study to Evaluate Adenoviral p53 (Ad-p53) in Combination With Immune Checkpoint Inhibitor Therapy in Patients With Recurrent or Metastatic Head and Neck Squamous Cell Carcinoma and Other Tumors Approved for Anti-PD-1 or Anti-PD-L1 Therapy",
"overall_status": "UNKNOWN",
"phases": [
"PHASE2"
],
"primary_completion_date": {
"date": "2022-06-30",
"type": "ESTIMATED"
},
"source_url": "https://clinicaltrials.gov/study/NCT03544723",
"start_date": {
"date": "2018-10-01",
"type": "ACTUAL"
},
"study_first_post_date": {
"date": "2018-06-04",
"type": "ACTUAL"
},
"study_type": "INTERVENTIONAL",
"why_stopped": null
},
{
"acronym": null,
"brief_title": "A Phase II Study Evaluating the Efficacy and Safety of Pembrolizumab in Combination With Chemotherapy as Neoadjuvant Therapy for Triple-negative Breast Cancer",
"completion_date": {
"date": "2024-06-01",
"type": "ESTIMATED"
},
"conditions": [
"Breast Cancer"
],
"countries": [
"China"
],
"enrollment": {
"count": 26,
"type": "ESTIMATED"
},
"has_results": false,
"interventions": [
{
"name": "Pembrolizumab",
"type": "DRUG"
},
{
"name": "Paclitaxel",
"type": "DRUG"
},
{
"name": "Epirubicin",
"type": "DRUG"
},
{
"name": "Cyclophosphamide",
"type": "DRUG"
}
],
"last_update_post_date": {
"date": "2023-01-12",
"type": "ACTUAL"
},
"lead_sponsor": {
"class": "OTHER",
"name": "Cancer Institute and Hospital, Chinese Academy of Medical Sciences"
},
"nct_id": "NCT05681728",
"official_title": "A Phase II Study Evaluating the Efficacy and Safety of Pembrolizumab in Combination With Chemotherapy as Neoadjuvant Therapy for Triple-negative Breast Cancer",
"overall_status": "UNKNOWN",
"phases": [
"PHASE2"
],
"primary_completion_date": {
"date": "2024-02-01",
"type": "ESTIMATED"
},
"source_url": "https://clinicaltrials.gov/study/NCT05681728",
"start_date": {
"date": "2022-02-01",
"type": "ACTUAL"
},
"study_first_post_date": {
"date": "2023-01-12",
"type": "ACTUAL"
},
"study_type": "INTERVENTIONAL",
"why_stopped": null
},
{
"acronym": null,
"brief_title": "A Study of LY3435151 in Participants With Solid Tumors",
"completion_date": {
"date": "2020-03-05",
"type": "ACTUAL"
},
"conditions": [
"Solid Tumor",
"Triple-negative Breast Cancer",
"Gastric Adenocarcinoma",
"Head and Neck Squamous Cell Carcinoma",
"Cervical Carcinoma",
"High Grade Serous Ovarian Carcinoma",
"Hepatocellular Carcinoma",
"Undifferentiated Pleomorphic Sarcoma",
"Leiomyosarcoma"
],
"countries": [
"United States",
"Japan"
],
"enrollment": {
"count": 2,
"type": "ACTUAL"
},
"has_results": true,
"interventions": [
{
"name": "LY3435151",
"type": "DRUG"
},
{
"name": "Pembrolizumab",
"type": "DRUG"
}
],
"last_update_post_date": {
"date": "2021-08-31",
"type": "ACTUAL"
},
"lead_sponsor": {
"class": "INDUSTRY",
"name": "Eli Lilly and Company"
},
"nct_id": "NCT04099277",
"official_title": "A Phase 1a/1b Study of LY3435151 Administered to Patients With Advanced Solid Tumors",
"overall_status": "TERMINATED",
"phases": [
"PHASE1"
],
"primary_completion_date": {
"date": "2020-03-05",
"type": "ACTUAL"
},
"source_url": "https://clinicaltrials.gov/study/NCT04099277",
"start_date": {
"date": "2019-10-28",
"type": "ACTUAL"
},
"study_first_post_date": {
"date": "2019-09-23",
"type": "ACTUAL"
},
"study_type": "INTERVENTIONAL",
"why_stopped": "Study terminated due to strategic business decision by Eli Lilly and Company."
}
],
"total_count": 339
}Search
Discover NCT numbers for a topic before calling study or study_dates; list trials by sponsor, status or location.
curl --request POST \
--url https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition": "Breast Cancer",
"intervention": "Pembrolizumab",
"page_size": 3
}
'import requests
url = "https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search"
payload = {
"condition": "Breast Cancer",
"intervention": "Pembrolizumab",
"page_size": 3
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({condition: 'Breast Cancer', intervention: 'Pembrolizumab', page_size: 3})
};
fetch('https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'condition' => 'Breast Cancer',
'intervention' => 'Pembrolizumab',
'page_size' => 3
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search"
payload := strings.NewReader("{\n \"condition\": \"Breast Cancer\",\n \"intervention\": \"Pembrolizumab\",\n \"page_size\": 3\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"condition\": \"Breast Cancer\",\n \"intervention\": \"Pembrolizumab\",\n \"page_size\": 3\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"condition\": \"Breast Cancer\",\n \"intervention\": \"Pembrolizumab\",\n \"page_size\": 3\n}"
response = http.request(request)
puts response.read_body{
"api_url": "https://clinicaltrials.gov/api/v2/studies?query.cond=Breast%20Cancer&query.intr=Pembrolizumab&fields=NCTId,BriefTitle,OfficialTitle,Acronym,OverallStatus,WhyStopped,StudyType,Phase,Condition,InterventionName,InterventionType,LeadSponsorName,LeadSponsorClass,StartDateStruct,PrimaryCompletionDateStruct,CompletionDateStruct,StudyFirstPostDateStruct,LastUpdatePostDateStruct,EnrollmentInfo,HasResults,LocationCountry&countTotal=true&pageSize=3",
"next_page_token": "ZVNj7o2Elu8o3lpwUd7_5bbumpOQJJxsY_Cl1Pg",
"observed_at_ms": 1790705160120,
"source_url": "https://clinicaltrials.gov/search?cond=Breast%20Cancer&intr=Pembrolizumab",
"studies": [
{
"acronym": null,
"brief_title": "Safety and Efficacy of p53 Gene Therapy Combined With Immune Checkpoint Inhibitors in Solid Tumors.",
"completion_date": {
"date": "2022-12-31",
"type": "ESTIMATED"
},
"conditions": [
"Solid Tumor",
"Lymphoma"
],
"countries": [
"United States"
],
"enrollment": {
"count": 40,
"type": "ESTIMATED"
},
"has_results": false,
"interventions": [
{
"name": "Ad-p53",
"type": "DRUG"
}
],
"last_update_post_date": {
"date": "2020-06-09",
"type": "ACTUAL"
},
"lead_sponsor": {
"class": "INDUSTRY",
"name": "MultiVir, Inc."
},
"nct_id": "NCT03544723",
"official_title": "A Phase 2, Multi-Center, Open Label Study to Evaluate Adenoviral p53 (Ad-p53) in Combination With Immune Checkpoint Inhibitor Therapy in Patients With Recurrent or Metastatic Head and Neck Squamous Cell Carcinoma and Other Tumors Approved for Anti-PD-1 or Anti-PD-L1 Therapy",
"overall_status": "UNKNOWN",
"phases": [
"PHASE2"
],
"primary_completion_date": {
"date": "2022-06-30",
"type": "ESTIMATED"
},
"source_url": "https://clinicaltrials.gov/study/NCT03544723",
"start_date": {
"date": "2018-10-01",
"type": "ACTUAL"
},
"study_first_post_date": {
"date": "2018-06-04",
"type": "ACTUAL"
},
"study_type": "INTERVENTIONAL",
"why_stopped": null
},
{
"acronym": null,
"brief_title": "A Phase II Study Evaluating the Efficacy and Safety of Pembrolizumab in Combination With Chemotherapy as Neoadjuvant Therapy for Triple-negative Breast Cancer",
"completion_date": {
"date": "2024-06-01",
"type": "ESTIMATED"
},
"conditions": [
"Breast Cancer"
],
"countries": [
"China"
],
"enrollment": {
"count": 26,
"type": "ESTIMATED"
},
"has_results": false,
"interventions": [
{
"name": "Pembrolizumab",
"type": "DRUG"
},
{
"name": "Paclitaxel",
"type": "DRUG"
},
{
"name": "Epirubicin",
"type": "DRUG"
},
{
"name": "Cyclophosphamide",
"type": "DRUG"
}
],
"last_update_post_date": {
"date": "2023-01-12",
"type": "ACTUAL"
},
"lead_sponsor": {
"class": "OTHER",
"name": "Cancer Institute and Hospital, Chinese Academy of Medical Sciences"
},
"nct_id": "NCT05681728",
"official_title": "A Phase II Study Evaluating the Efficacy and Safety of Pembrolizumab in Combination With Chemotherapy as Neoadjuvant Therapy for Triple-negative Breast Cancer",
"overall_status": "UNKNOWN",
"phases": [
"PHASE2"
],
"primary_completion_date": {
"date": "2024-02-01",
"type": "ESTIMATED"
},
"source_url": "https://clinicaltrials.gov/study/NCT05681728",
"start_date": {
"date": "2022-02-01",
"type": "ACTUAL"
},
"study_first_post_date": {
"date": "2023-01-12",
"type": "ACTUAL"
},
"study_type": "INTERVENTIONAL",
"why_stopped": null
},
{
"acronym": null,
"brief_title": "A Study of LY3435151 in Participants With Solid Tumors",
"completion_date": {
"date": "2020-03-05",
"type": "ACTUAL"
},
"conditions": [
"Solid Tumor",
"Triple-negative Breast Cancer",
"Gastric Adenocarcinoma",
"Head and Neck Squamous Cell Carcinoma",
"Cervical Carcinoma",
"High Grade Serous Ovarian Carcinoma",
"Hepatocellular Carcinoma",
"Undifferentiated Pleomorphic Sarcoma",
"Leiomyosarcoma"
],
"countries": [
"United States",
"Japan"
],
"enrollment": {
"count": 2,
"type": "ACTUAL"
},
"has_results": true,
"interventions": [
{
"name": "LY3435151",
"type": "DRUG"
},
{
"name": "Pembrolizumab",
"type": "DRUG"
}
],
"last_update_post_date": {
"date": "2021-08-31",
"type": "ACTUAL"
},
"lead_sponsor": {
"class": "INDUSTRY",
"name": "Eli Lilly and Company"
},
"nct_id": "NCT04099277",
"official_title": "A Phase 1a/1b Study of LY3435151 Administered to Patients With Advanced Solid Tumors",
"overall_status": "TERMINATED",
"phases": [
"PHASE1"
],
"primary_completion_date": {
"date": "2020-03-05",
"type": "ACTUAL"
},
"source_url": "https://clinicaltrials.gov/study/NCT04099277",
"start_date": {
"date": "2019-10-28",
"type": "ACTUAL"
},
"study_first_post_date": {
"date": "2019-09-23",
"type": "ACTUAL"
},
"study_type": "INTERVENTIONAL",
"why_stopped": "Study terminated due to strategic business decision by Eli Lilly and Company."
}
],
"total_count": 339
}Request contract
- Method and path: POST /apis/v1/clinicaltrials-gov/clinical-trials/search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/clinicaltrials-gov/clinical-trials/search
{
"operationId": "clinicaltrials-gov.clinical-trials.search",
"method": "POST",
"path": "/apis/v1/clinicaltrials-gov/clinical-trials/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"condition": "Breast Cancer",
"intervention": "Pembrolizumab",
"page_size": 3
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"advanced_filter": {
"description": "Essie filter expression applied after the query (filter.advanced), e.g. AREA[StartDateType]ESTIMATED.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"agg_filters": {
"description": "Facet filters as the site encodes them (aggFilters), e.g. \"phase:3,status:rec\". Pattern: ^[a-zA-Z]+:[a-zA-Z0-9_ ]+(,[a-zA-Z]+:[a-zA-Z0-9_ ]+)*$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"condition": {
"description": "Condition or disease (query.cond), e.g. \"Breast Cancer\". Essie syntax allowed.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"intervention": {
"description": "Intervention or treatment (query.intr), e.g. \"Pembrolizumab\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"location": {
"description": "Location terms: city, state, country or facility (query.locn), e.g. \"Boston\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"near": {
"additionalProperties": true,
"description": "Only studies with a site within the radius of the coordinate (filter.geo=distance(lat,lon,radius)).",
"type": "object",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"page_size": {
"default": 10,
"description": "Studies per page (the API accepts up to 1000; capped at 100 here).\n\nProvider reference: minimum 1; maximum 100; default 10.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100,
"min": 1
}
},
"page_token": {
"description": "next_page_token from the previous page. Send the same query parameters again. Pattern: ^[A-Za-z0-9_-]+$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"sort": {
"description": "Sort by a field piece with optional direction, e.g. \"LastUpdatePostDate:desc\", or \"@relevance\" (default when a query is given). Pattern: ^(@relevance|[A-Za-z][A-Za-z0-9]*(:(asc|desc))?)$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"sponsor": {
"description": "Sponsor or collaborator name (query.spons), e.g. \"Merck\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"status": {
"description": "Overall status filter (filter.overallStatus); any of the listed values matches.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"term": {
"description": "Other terms searched across the record (query.term). Accepts Essie expressions such as AREA[StartDate]RANGE[2025-01-01,MAX].",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"title": {
"description": "Words in the brief or official title, or acronym (query.titles).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
Search the registry (GET /api/v2/studies). Filter by condition, intervention, sponsor, location, title, free-text Essie expression, overall status, distance from a coordinate or an advanced Essie filter. Returns one page of study summaries with raw date structs (date + ACTUAL/ESTIMATED type) and a page token for the next page. Repeat every query parameter with page_token to continue.
The response contains the tool result directly.
The provider identifies studies as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
acronym | string | |
brief_title | string | |
completion_date | object | A registry date struct; null when the record (or the requested subset) has no such date. |
conditions | string[] | |
countries | string[] | Distinct site countries in registry order. |
enrollment | object | |
has_results | boolean | |
interventions | object[] | |
last_update_post_date | object | A registry date struct; null when the record (or the requested subset) has no such date. |
lead_sponsor | object | |
nct_id | string | |
official_title | string | |
overall_status | string | |
phases | string[] | Empty for observational studies and studies without a phase. |
primary_completion_date | object | A registry date struct; null when the record (or the requested subset) has no such date. |
source_url | string | |
start_date | object | A registry date struct; null when the record (or the requested subset) has no such date. |
study_first_post_date | object | A registry date struct; null when the record (or the requested subset) has no such date. |
study_type | string | |
why_stopped | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.