Skill
Search Trials By Condition
search_trials_by_conditionSearch clinical trials by medical condition(s).
This tool allows you to search for clinical trials based on a list of medical conditions.
Input:
conditions: A list of strings, where each string is a medical condition to search for. The search will find trials related to any of the specified conditions. Example:['cancer', 'diabetes']max_studies: The maximum number of studies to return. Defaults to 50.fields: A list of specific fields to return in the results. If not provided, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus, HasResults).
$0.01/call
Flat rate
Clinical Trials
When to Use
Use this tool when you need to search clinical trials by medical condition(s).
this tool allows you to search for clinical trials based on a list of medical conditions.
input:
conditions: a list of strings, where each string is a medical condition to search for. the search will find trials related to any of the specified conditions. example:['cancer', 'diabetes']max_studies: the maximum number of studies to return. defaults to 50.fields: a list of specific fields to return in the results. if not provided, returns search_tool_defaults (9 essential fields: nctid, brieftitle, acronym, condition, phase, interventionname, leadsponsorname, overallstatus, hasresults).. This is part of the Clinical Trials provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 11+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("clinical-trials/search_trials_by_condition")xpay_run— Execute:xpay_run("clinical-trials/search_trials_by_condition", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
conditions | array | Yes | Medical conditions to search for |
fields | string | No | Specific fields to return |
max_studies | integer | No | Maximum number of studies to return |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Clinical Trials (all tools) — 12 tools
- Search Trials By Intervention — $0.01/call
- Search Trials By Sponsor — $0.01/call
- Search Trials By Acronym — $0.01/call
- Search Trials By Nct Ids — $0.01/call
- Search Trials Combined — $0.01/call
Links
- Tool page: https://xpay.tools/clinical-trials/search-trials-by-condition/
- Provider: https://xpay.tools/clinical-trials/
- All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("clinical-trials/search_trials_by_condition")// 2. Execute
xpay_run("clinical-trials/search_trials_by_condition", { ...inputs })Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
conditions | array | Yes | Medical conditions to search for |
fields | string | No | Specific fields to return |
max_studies | integer | No | Maximum number of studies to return |
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/clinical-trials/search-trials-by-condition/SKILL.md
CLI
npx @xpaysh/cli install clinical-trials/search-trials-by-condition
Manual
curl -o SKILL.md https://xpay.tools/skills/clinical-trials/search-trials-by-condition/SKILL.md
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Clinical Trials

