xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
Clinical Trials logo

Search Trials By Condition

search_trials_by_condition

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).

$0.01/call
Flat rate
Clinical Trials
Raw SKILL.mdTool Page

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:

  1. xpay_details — Get full input schema: xpay_details("clinical-trials/search_trials_by_condition")
  2. xpay_run — Execute: xpay_run("clinical-trials/search_trials_by_condition", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
conditionsarrayYesMedical conditions to search for
fieldsstringNoSpecific fields to return
max_studiesintegerNoMaximum number of studies to return

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to 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
ParameterTypeRequiredDescription

conditions

array
Yes

Medical conditions to search for

fields

stringNo

Specific fields to return

max_studies

integerNo

Maximum number of studies to return

Related Tools from Clinical Trials
Search Trials By Intervention — $0.01Search Trials By Sponsor — $0.01Search Trials By Acronym — $0.01Search Trials By Nct Ids — $0.01Search Trials Combined — $0.01Get Trial Details — $0.01Get Trial Details Batched — $0.01Analyze Trial Phases — $0.01
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

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service