clinicaltrials-database
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseClinicalTrials.gov Database
ClinicalTrials.gov Database
Overview
概述
ClinicalTrials.gov is a comprehensive registry of clinical studies conducted worldwide, maintained by the U.S. National Library of Medicine. Access API v2 to search for trials, retrieve detailed study information, filter by various criteria, and export data for analysis. The API is public (no authentication required) with rate limits of ~50 requests per minute, supporting JSON and CSV formats.
ClinicalTrials.gov是由美国国家医学图书馆维护的全球综合性临床试验注册库。通过API v2可搜索试验、检索详细研究信息、按多种条件筛选并导出数据用于分析。该API为公开接口(无需身份验证),速率限制约为每分钟50次请求,支持JSON和CSV格式。
When to Use This Skill
适用场景
This skill should be used when working with clinical trial data in scenarios such as:
- Patient matching - Finding recruiting trials for specific conditions or patient populations
- Research analysis - Analyzing clinical trial trends, outcomes, or study designs
- Drug/intervention research - Identifying trials testing specific drugs or interventions
- Geographic searches - Locating trials in specific locations or regions
- Sponsor/organization tracking - Finding trials conducted by specific institutions
- Data export - Extracting clinical trial data for further analysis or reporting
- Trial monitoring - Tracking status updates or results for specific trials
- Eligibility screening - Reviewing inclusion/exclusion criteria for trials
当你需要处理临床试验数据时,可使用本技能,例如:
- 患者匹配 - 为特定病症或患者群体寻找正在招募的试验
- 研究分析 - 分析临床试验趋势、结果或研究设计
- 药物/干预研究 - 识别测试特定药物或干预手段的试验
- 地域搜索 - 定位特定地区的临床试验
- 申办方/机构追踪 - 查找特定机构开展的试验
- 数据导出 - 提取临床试验数据以进行进一步分析或报告
- 试验监控 - 追踪特定试验的状态更新或结果
- 资格筛查 - 查看试验的纳入/排除标准
Quick Start
快速开始
Basic Search Query
基础搜索查询
Search for clinical trials using the helper script:
bash
cd scientific-databases/clinicaltrials-database/scripts
python3 query_clinicaltrials.pyOr use Python directly with the library:
requestspython
import requests
url = "https://clinicaltrials.gov/api/v2/studies"
params = {
"query.cond": "breast cancer",
"filter.overallStatus": "RECRUITING",
"pageSize": 10
}
response = requests.get(url, params=params)
data = response.json()
print(f"Found {data['totalCount']} trials")使用辅助脚本搜索临床试验:
bash
cd scientific-databases/clinicaltrials-database/scripts
python3 query_clinicaltrials.py或直接使用Python的库:
requestspython
import requests
url = "https://clinicaltrials.gov/api/v2/studies"
params = {
"query.cond": "breast cancer",
"filter.overallStatus": "RECRUITING",
"pageSize": 10
}
response = requests.get(url, params=params)
data = response.json()
print(f"Found {data['totalCount']} trials")Retrieve Specific Trial
检索特定试验
Get detailed information about a trial using its NCT ID:
python
import requests
nct_id = "NCT04852770"
url = f"https://clinicaltrials.gov/api/v2/studies/{nct_id}"
response = requests.get(url)
study = response.json()通过NCT ID获取某一试验的详细信息:
python
import requests
nct_id = "NCT04852770"
url = f"https://clinicaltrials.gov/api/v2/studies/{nct_id}"
response = requests.get(url)
study = response.json()Access specific modules
访问特定模块
title = study['protocolSection']['identificationModule']['briefTitle']
status = study['protocolSection']['statusModule']['overallStatus']
undefinedtitle = study['protocolSection']['identificationModule']['briefTitle']
status = study['protocolSection']['statusModule']['overallStatus']
undefinedCore Capabilities
核心功能
1. Search by Condition/Disease
1. 按病症/疾病搜索
Find trials studying specific medical conditions or diseases using the parameter.
query.condExample: Find recruiting diabetes trials
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
condition="type 2 diabetes",
status="RECRUITING",
page_size=20,
sort="LastUpdatePostDate:desc"
)
print(f"Found {results['totalCount']} recruiting diabetes trials")
for study in results['studies']:
protocol = study['protocolSection']
nct_id = protocol['identificationModule']['nctId']
title = protocol['identificationModule']['briefTitle']
print(f"{nct_id}: {title}")Common use cases:
- Finding trials for rare diseases
- Identifying trials for comorbid conditions
- Tracking trial availability for specific diagnoses
使用参数查找针对特定病症或疾病的试验。
query.cond示例:寻找正在招募的糖尿病试验
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
condition="type 2 diabetes",
status="RECRUITING",
page_size=20,
sort="LastUpdatePostDate:desc"
)
print(f"Found {results['totalCount']} recruiting diabetes trials")
for study in results['studies']:
protocol = study['protocolSection']
nct_id = protocol['identificationModule']['nctId']
title = protocol['identificationModule']['briefTitle']
print(f"{nct_id}: {title}")常见使用场景:
- 寻找罕见病相关试验
- 识别针对合并症的试验
- 追踪特定诊断对应的可用试验
2. Search by Intervention/Drug
2. 按干预手段/药物搜索
Search for trials testing specific interventions, drugs, devices, or procedures using the parameter.
query.intrExample: Find Phase 3 trials testing Pembrolizumab
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
intervention="Pembrolizumab",
status=["RECRUITING", "ACTIVE_NOT_RECRUITING"],
page_size=50
)使用参数查找测试特定干预手段、药物、设备或流程的试验。
query.intr示例:寻找测试Pembrolizumab的3期试验
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
intervention="Pembrolizumab",
status=["RECRUITING", "ACTIVE_NOT_RECRUITING"],
page_size=50
)Filter by phase in results
在结果中按试验阶段筛选
phase3_trials = [
study for study in results['studies']
if 'PHASE3' in study['protocolSection'].get('designModule', {}).get('phases', [])
]
**Common use cases:**
- Drug development tracking
- Competitive intelligence for pharmaceutical companies
- Treatment option research for cliniciansphase3_trials = [
study for study in results['studies']
if 'PHASE3' in study['protocolSection'].get('designModule', {}).get('phases', [])
]
**常见使用场景:**
- 药物研发追踪
- 制药企业竞争情报收集
- 临床医生的治疗方案研究3. Geographic Search
3. 地域搜索
Find trials in specific locations using the parameter.
query.locnExample: Find cancer trials in New York
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
condition="cancer",
location="New York",
status="RECRUITING",
page_size=100
)使用参数查找特定地区的试验。
query.locn示例:寻找纽约的癌症试验
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
condition="cancer",
location="New York",
status="RECRUITING",
page_size=100
)Extract location details
提取地点详情
for study in results['studies']:
locations_module = study['protocolSection'].get('contactsLocationsModule', {})
locations = locations_module.get('locations', [])
for loc in locations:
if 'New York' in loc.get('city', ''):
print(f"{loc['facility']}: {loc['city']}, {loc.get('state', '')}")
**Common use cases:**
- Patient referrals to local trials
- Geographic trial distribution analysis
- Site selection for new trialsfor study in results['studies']:
locations_module = study['protocolSection'].get('contactsLocationsModule', {})
locations = locations_module.get('locations', [])
for loc in locations:
if 'New York' in loc.get('city', ''):
print(f"{loc['facility']}: {loc['city']}, {loc.get('state', '')}")
**常见使用场景:**
- 患者转诊至本地试验
- 临床试验地域分布分析
- 新试验的研究地点选择4. Search by Sponsor/Organization
4. 按申办方/机构搜索
Find trials conducted by specific organizations using the parameter.
query.sponsExample: Find trials sponsored by NCI
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
sponsor="National Cancer Institute",
page_size=100
)使用参数查找特定机构开展的试验。
query.spons示例:寻找NCI赞助的试验
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
sponsor="National Cancer Institute",
page_size=100
)Extract sponsor information
提取申办方信息
for study in results['studies']:
sponsor_module = study['protocolSection']['sponsorCollaboratorsModule']
lead_sponsor = sponsor_module['leadSponsor']['name']
collaborators = sponsor_module.get('collaborators', [])
print(f"Lead: {lead_sponsor}")
if collaborators:
print(f" Collaborators: {', '.join([c['name'] for c in collaborators])}")
**Common use cases:**
- Tracking institutional research portfolios
- Analyzing funding organization priorities
- Identifying collaboration opportunitiesfor study in results['studies']:
sponsor_module = study['protocolSection']['sponsorCollaboratorsModule']
lead_sponsor = sponsor_module['leadSponsor']['name']
collaborators = sponsor_module.get('collaborators', [])
print(f"Lead: {lead_sponsor}")
if collaborators:
print(f" Collaborators: {', '.join([c['name'] for c in collaborators])}")
**常见使用场景:**
- 追踪机构研究项目组合
- 分析资助机构的优先级
- 识别合作机会5. Filter by Study Status
5. 按试验状态筛选
Filter trials by recruitment or completion status using the parameter.
filter.overallStatusValid status values:
- - Currently recruiting participants
RECRUITING - - Not yet open for recruitment
NOT_YET_RECRUITING - - Only enrolling by invitation
ENROLLING_BY_INVITATION - - Active but no longer recruiting
ACTIVE_NOT_RECRUITING - - Temporarily halted
SUSPENDED - - Stopped prematurely
TERMINATED - - Study has concluded
COMPLETED - - Withdrawn prior to enrollment
WITHDRAWN
Example: Find recently completed trials with results
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
condition="alzheimer disease",
status="COMPLETED",
sort="LastUpdatePostDate:desc",
page_size=50
)使用参数按招募或完成状态筛选试验。
filter.overallStatus有效状态值:
- - 正在招募参与者
RECRUITING - - 尚未开放招募
NOT_YET_RECRUITING - - 仅通过邀请招募
ENROLLING_BY_INVITATION - - 试验进行中但不再招募
ACTIVE_NOT_RECRUITING - - 暂时中止
SUSPENDED - - 提前终止
TERMINATED - - 试验已结束
COMPLETED - - 招募前撤回
WITHDRAWN
示例:寻找近期完成且有结果的试验
python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
condition="alzheimer disease",
status="COMPLETED",
sort="LastUpdatePostDate:desc",
page_size=50
)Filter for trials with results
筛选有结果的试验
trials_with_results = [
study for study in results['studies']
if study.get('hasResults', False)
]
print(f"Found {len(trials_with_results)} completed trials with results")
undefinedtrials_with_results = [
study for study in results['studies']
if study.get('hasResults', False)
]
print(f"Found {len(trials_with_results)} completed trials with results")
undefined6. Retrieve Detailed Study Information
6. 检索详细研究信息
Get comprehensive information about specific trials including eligibility criteria, outcomes, contacts, and locations.
Example: Extract eligibility criteria
python
from scripts.query_clinicaltrials import get_study_details
study = get_study_details("NCT04852770")
eligibility = study['protocolSection']['eligibilityModule']
print(f"Eligible Ages: {eligibility.get('minimumAge')} - {eligibility.get('maximumAge')}")
print(f"Eligible Sex: {eligibility.get('sex')}")
print(f"\nInclusion Criteria:")
print(eligibility.get('eligibilityCriteria'))Example: Extract contact information
python
from scripts.query_clinicaltrials import get_study_details
study = get_study_details("NCT04852770")
contacts_module = study['protocolSection']['contactsLocationsModule']获取特定试验的全面信息,包括资格标准、试验结果、联系方式和地点。
示例:提取资格标准
python
from scripts.query_clinicaltrials import get_study_details
study = get_study_details("NCT04852770")
eligibility = study['protocolSection']['eligibilityModule']
print(f"Eligible Ages: {eligibility.get('minimumAge')} - {eligibility.get('maximumAge')}")
print(f"Eligible Sex: {eligibility.get('sex')}")
print(f"\nInclusion Criteria:")
print(eligibility.get('eligibilityCriteria'))示例:提取联系信息
python
from scripts.query_clinicaltrials import get_study_details
study = get_study_details("NCT04852770")
contacts_module = study['protocolSection']['contactsLocationsModule']Overall contacts
总联系方式
if 'centralContacts' in contacts_module:
for contact in contacts_module['centralContacts']:
print(f"Contact: {contact.get('name')}")
print(f"Phone: {contact.get('phone')}")
print(f"Email: {contact.get('email')}")
if 'centralContacts' in contacts_module:
for contact in contacts_module['centralContacts']:
print(f"Contact: {contact.get('name')}")
print(f"Phone: {contact.get('phone')}")
print(f"Email: {contact.get('email')}")
Study locations
研究地点
if 'locations' in contacts_module:
for location in contacts_module['locations']:
print(f"\nFacility: {location.get('facility')}")
print(f"City: {location.get('city')}, {location.get('state')}")
if location.get('status'):
print(f"Status: {location['status']}")
undefinedif 'locations' in contacts_module:
for location in contacts_module['locations']:
print(f"\nFacility: {location.get('facility')}")
print(f"City: {location.get('city')}, {location.get('state')}")
if location.get('status'):
print(f"Status: {location['status']}")
undefined7. Pagination and Bulk Data Retrieval
7. 分页与批量数据检索
Handle large result sets efficiently using pagination.
Example: Retrieve all matching trials
python
from scripts.query_clinicaltrials import search_with_all_results通过分页高效处理大量结果。
示例:检索所有匹配的试验
python
from scripts.query_clinicaltrials import search_with_all_resultsGet all trials (automatically handles pagination)
获取所有试验(自动处理分页)
all_trials = search_with_all_results(
condition="rare disease",
status="RECRUITING"
)
print(f"Retrieved {len(all_trials)} total trials")
**Example: Manual pagination with control**
```python
from scripts.query_clinicaltrials import search_studies
all_studies = []
page_token = None
max_pages = 10 # Limit to avoid excessive requests
for page in range(max_pages):
results = search_studies(
condition="cancer",
page_size=1000, # Max page size
page_token=page_token
)
all_studies.extend(results['studies'])
# Check for next page
page_token = results.get('pageToken')
if not page_token:
break
print(f"Retrieved {len(all_studies)} studies across {page + 1} pages")all_trials = search_with_all_results(
condition="rare disease",
status="RECRUITING"
)
print(f"Retrieved {len(all_trials)} total trials")
**示例:手动控制分页**
```python
from scripts.query_clinicaltrials import search_studies
all_studies = []
page_token = None
max_pages = 10 # 限制页数以避免过多请求
for page in range(max_pages):
results = search_studies(
condition="cancer",
page_size=1000, # 最大页面容量
page_token=page_token
)
all_studies.extend(results['studies'])
# 检查是否有下一页
page_token = results.get('pageToken')
if not page_token:
break
print(f"Retrieved {len(all_studies)} studies across {page + 1} pages")8. Data Export to CSV
8. 导出数据至CSV
Export trial data to CSV format for analysis in spreadsheet software or data analysis tools.
Example: Export to CSV file
python
from scripts.query_clinicaltrials import search_studies将试验数据导出为CSV格式,以便在电子表格或数据分析工具中使用。
示例:导出至CSV文件
python
from scripts.query_clinicaltrials import search_studiesRequest CSV format
请求CSV格式
results = search_studies(
condition="heart disease",
status="RECRUITING",
format="csv",
page_size=1000
)
results = search_studies(
condition="heart disease",
status="RECRUITING",
format="csv",
page_size=1000
)
Save to file
保存至文件
with open("heart_disease_trials.csv", "w") as f:
f.write(results)
print("Data exported to heart_disease_trials.csv")
**Note:** CSV format returns a string instead of JSON dictionary.with open("heart_disease_trials.csv", "w") as f:
f.write(results)
print("Data exported to heart_disease_trials.csv")
**注意:** CSV格式返回的是字符串而非JSON字典。9. Extract and Summarize Study Information
9. 提取并总结研究信息
Extract key information for quick overview or reporting.
Example: Create trial summary
python
from scripts.query_clinicaltrials import get_study_details, extract_study_summary提取关键信息以快速概览或生成报告。
示例:生成试验摘要
python
from scripts.query_clinicaltrials import get_study_details, extract_study_summaryGet details and extract summary
获取详情并提取摘要
study = get_study_details("NCT04852770")
summary = extract_study_summary(study)
print(f"NCT ID: {summary['nct_id']}")
print(f"Title: {summary['title']}")
print(f"Status: {summary['status']}")
print(f"Phase: {', '.join(summary['phase'])}")
print(f"Enrollment: {summary['enrollment']}")
print(f"Last Update: {summary['last_update']}")
print(f"\nBrief Summary:\n{summary['brief_summary']}")
undefinedstudy = get_study_details("NCT04852770")
summary = extract_study_summary(study)
print(f"NCT ID: {summary['nct_id']}")
print(f"Title: {summary['title']}")
print(f"Status: {summary['status']}")
print(f"Phase: {', '.join(summary['phase'])}")
print(f"Enrollment: {summary['enrollment']}")
print(f"Last Update: {summary['last_update']}")
print(f"\nBrief Summary:\n{summary['brief_summary']}")
undefined10. Combined Query Strategies
10. 组合查询策略
Combine multiple filters for targeted searches.
Example: Multi-criteria search
python
from scripts.query_clinicaltrials import search_studies结合多个筛选条件进行精准搜索。
示例:多条件搜索
python
from scripts.query_clinicaltrials import search_studiesFind Phase 2/3 immunotherapy trials for lung cancer in California
寻找加利福尼亚州针对肺癌的2/3期免疫疗法试验
results = search_studies(
condition="lung cancer",
intervention="immunotherapy",
location="California",
status=["RECRUITING", "NOT_YET_RECRUITING"],
page_size=100
)
results = search_studies(
condition="lung cancer",
intervention="immunotherapy",
location="California",
status=["RECRUITING", "NOT_YET_RECRUITING"],
page_size=100
)
Further filter by phase
进一步按试验阶段筛选
phase2_3_trials = [
study for study in results['studies']
if any(phase in ['PHASE2', 'PHASE3']
for phase in study['protocolSection'].get('designModule', {}).get('phases', []))
]
print(f"Found {len(phase2_3_trials)} Phase 2/3 immunotherapy trials")
undefinedphase2_3_trials = [
study for study in results['studies']
if any(phase in ['PHASE2', 'PHASE3']
for phase in study['protocolSection'].get('designModule', {}).get('phases', []))
]
print(f"Found {len(phase2_3_trials)} Phase 2/3 immunotherapy trials")
undefinedResources
资源
scripts/query_clinicaltrials.py
scripts/query_clinicaltrials.py
Comprehensive Python script providing helper functions for common query patterns:
- - Search for trials with various filters
search_studies() - - Retrieve full information for a specific trial
get_study_details() - - Automatically paginate through all results
search_with_all_results() - - Extract key information for quick overview
extract_study_summary()
Run the script directly for example usage:
bash
python3 scripts/query_clinicaltrials.py全面的Python脚本,为常见查询模式提供辅助函数:
- - 使用多种筛选条件搜索试验
search_studies() - - 检索特定试验的完整信息
get_study_details() - - 自动分页获取所有结果
search_with_all_results() - - 提取关键信息以快速概览
extract_study_summary()
直接运行脚本查看示例用法:
bash
python3 scripts/query_clinicaltrials.pyreferences/api_reference.md
references/api_reference.md
Detailed API documentation including:
- Complete endpoint specifications
- All query parameters and valid values
- Response data structure and modules
- Common use cases with code examples
- Error handling and best practices
- Data standards (ISO 8601 dates, CommonMark markdown)
Load this reference when working with unfamiliar API features or troubleshooting issues.
详细的API文档,包括:
- 完整的端点规范
- 所有查询参数及有效值
- 响应数据结构和模块
- 带代码示例的常见使用场景
- 错误处理和最佳实践
- 数据标准(ISO 8601日期格式、CommonMark标记语言)
当使用不熟悉的API功能或排查问题时,可参考此文档。
Best Practices
最佳实践
Rate Limit Management
速率限制管理
The API has a rate limit of approximately 50 requests per minute. For bulk data retrieval:
- Use maximum page size (1000) to minimize requests
- Implement exponential backoff on rate limit errors (429 status)
- Add delays between requests for large-scale data collection
python
import time
import requests
def search_with_rate_limit(params):
try:
response = requests.get("https://clinicaltrials.gov/api/v2/studies", params=params)
response.raise_for_status()
return response.json()
except requests.exceptions.HTTPError as e:
if e.response.status_code == 429:
print("Rate limited. Waiting 60 seconds...")
time.sleep(60)
return search_with_rate_limit(params) # Retry
raise该API的速率限制约为每分钟50次请求。对于批量数据检索:
- 使用最大页面容量(1000)以减少请求次数
- 遇到速率限制错误(429状态码)时实现指数退避
- 大规模数据收集时在请求间添加延迟
python
import time
import requests
def search_with_rate_limit(params):
try:
response = requests.get("https://clinicaltrials.gov/api/v2/studies", params=params)
response.raise_for_status()
return response.json()
except requests.exceptions.HTTPError as e:
if e.response.status_code == 429:
print("Rate limited. Waiting 60 seconds...")
time.sleep(60)
return search_with_rate_limit(params) # 重试
raiseData Structure Navigation
数据结构导航
The API response has a nested structure. Key paths to common information:
- NCT ID:
study['protocolSection']['identificationModule']['nctId'] - Title:
study['protocolSection']['identificationModule']['briefTitle'] - Status:
study['protocolSection']['statusModule']['overallStatus'] - Phase:
study['protocolSection']['designModule']['phases'] - Eligibility:
study['protocolSection']['eligibilityModule'] - Locations:
study['protocolSection']['contactsLocationsModule']['locations'] - Interventions:
study['protocolSection']['armsInterventionsModule']['interventions']
API响应采用嵌套结构。常见信息的关键路径:
- NCT ID:
study['protocolSection']['identificationModule']['nctId'] - 标题:
study['protocolSection']['identificationModule']['briefTitle'] - 状态:
study['protocolSection']['statusModule']['overallStatus'] - 试验阶段:
study['protocolSection']['designModule']['phases'] - 资格标准:
study['protocolSection']['eligibilityModule'] - 地点:
study['protocolSection']['contactsLocationsModule']['locations'] - 干预手段:
study['protocolSection']['armsInterventionsModule']['interventions']
Error Handling
错误处理
Always implement proper error handling for network requests:
python
import requests
try:
response = requests.get(url, params=params, timeout=30)
response.raise_for_status()
data = response.json()
except requests.exceptions.HTTPError as e:
print(f"HTTP error: {e.response.status_code}")
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
except ValueError as e:
print(f"JSON decode error: {e}")始终为网络请求实现适当的错误处理:
python
import requests
try:
response = requests.get(url, params=params, timeout=30)
response.raise_for_status()
data = response.json()
except requests.exceptions.HTTPError as e:
print(f"HTTP error: {e.response.status_code}")
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
except ValueError as e:
print(f"JSON decode error: {e}")Handling Missing Data
缺失数据处理
Not all trials have complete information. Always check for field existence:
python
undefined并非所有试验都有完整信息。访问字段前始终检查是否存在:
python
undefinedSafe navigation with .get()
使用.get()安全导航
phases = study['protocolSection'].get('designModule', {}).get('phases', [])
enrollment = study['protocolSection'].get('designModule', {}).get('enrollmentInfo', {}).get('count', 'N/A')
phases = study['protocolSection'].get('designModule', {}).get('phases', [])
enrollment = study['protocolSection'].get('designModule', {}).get('enrollmentInfo', {}).get('count', 'N/A')
Check before accessing
访问前检查
if 'resultsSection' in study:
# Process results
pass
undefinedif 'resultsSection' in study:
# 处理结果
pass
undefinedTechnical Specifications
技术规格
- Base URL:
https://clinicaltrials.gov/api/v2 - Authentication: Not required (public API)
- Rate Limit: ~50 requests/minute per IP
- Response Formats: JSON (default), CSV
- Max Page Size: 1000 studies per request
- Date Format: ISO 8601
- Text Format: CommonMark Markdown for rich text fields
- API Version: 2.0 (released March 2024)
- API Specification: OpenAPI 3.0
For complete technical details, see .
references/api_reference.md- 基础URL:
https://clinicaltrials.gov/api/v2 - 身份验证: 无需(公开API)
- 速率限制: 每IP约50次请求/分钟
- 响应格式: JSON(默认)、CSV
- 最大页面容量: 每次请求1000项研究
- 日期格式: ISO 8601
- 文本格式: 富文本字段使用CommonMark标记语言
- API版本: 2.0(2024年3月发布)
- API规范: OpenAPI 3.0
完整技术细节请查看。
references/api_reference.md