---
name: "xpay-clinical-trials-get-trial-details-batched"
description: "Retrieve detailed clinical trial records in batches to reduce payload during discovery.

Accepts a list of NCT IDs and fetches details in batches (default 10).
Preserves the order of input NCT IDs in the returned list.
Use this after search tools which return a minimal field set.

Input:
  - `nct_ids`: List of NCT IDs to retrieve in batches.
  - `fields`: Specific fields to return. If not provided, returns DETAIL_TOOL_DEFAULTS
              (25 comprehensive fields covering: NCTId, BriefTitle, OfficialTitle, Acronym, Condition,
              Keyword, Phase, OverallStatus, InterventionType, InterventionName, InterventionDescription,
              ArmGroupLabel, ArmGroupType, ArmGroupDescription, EligibilityCriteria, MinimumAge, MaximumAge,
              Sex, PrimaryOutcomeMeasure, SecondaryOutcomeMeasure, BriefSummary, LocationFacility,
              LocationCountry, LeadSponsorName, CollaboratorName, HasResults).
  - `batch_size`: Number of trials to fetch per API call (default 10)."
version: "1.0.0"
price: "$0.01/call"
provider: "Clinical Trials"
---

# Get Trial Details Batched

Retrieve detailed clinical trial records in batches to reduce payload during discovery.

Accepts a list of NCT IDs and fetches details in batches (default 10).
Preserves the order of input NCT IDs in the returned list.
Use this after search tools which return a minimal field set.

Input:
  - `nct_ids`: List of NCT IDs to retrieve in batches.
  - `fields`: Specific fields to return. If not provided, returns DETAIL_TOOL_DEFAULTS
              (25 comprehensive fields covering: NCTId, BriefTitle, OfficialTitle, Acronym, Condition,
              Keyword, Phase, OverallStatus, InterventionType, InterventionName, InterventionDescription,
              ArmGroupLabel, ArmGroupType, ArmGroupDescription, EligibilityCriteria, MinimumAge, MaximumAge,
              Sex, PrimaryOutcomeMeasure, SecondaryOutcomeMeasure, BriefSummary, LocationFacility,
              LocationCountry, LeadSponsorName, CollaboratorName, HasResults).
  - `batch_size`: Number of trials to fetch per API call (default 10).

**Provider:** Clinical Trials
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to retrieve detailed clinical trial records in batches to reduce payload during discovery.

accepts a list of nct ids and fetches details in batches (default 10).
preserves the order of input nct ids in the returned list.
use this after search tools which return a minimal field set.

input:
  - `nct_ids`: list of nct ids to retrieve in batches.
  - `fields`: specific fields to return. if not provided, returns detail_tool_defaults
              (25 comprehensive fields covering: nctid, brieftitle, officialtitle, acronym, condition,
              keyword, phase, overallstatus, interventiontype, interventionname, interventiondescription,
              armgrouplabel, armgrouptype, armgroupdescription, eligibilitycriteria, minimumage, maximumage,
              sex, primaryoutcomemeasure, secondaryoutcomemeasure, briefsummary, locationfacility,
              locationcountry, leadsponsorname, collaboratorname, hasresults).
  - `batch_size`: number of trials to fetch per api call (default 10).. This is part of the Clinical Trials provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 11+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
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/get_trial_details_batched")`
2. **`xpay_run`** — Execute: `xpay_run("clinical-trials/get_trial_details_batched", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `nct_ids` | array | Yes | NCT IDs to retrieve in batches of 10 |
| `fields` | string | No | Specific fields to return for detailed view |
| `batch_size` | integer | No | Batch size for each API call |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Clinical Trials (all tools)](https://xpay.tools/skills/clinical-trials/SKILL.md) — 12 tools
- [Search Trials By Condition](https://xpay.tools/skills/clinical-trials/search-trials-by-condition/SKILL.md) — $0.01/call
- [Search Trials By Intervention](https://xpay.tools/skills/clinical-trials/search-trials-by-intervention/SKILL.md) — $0.01/call
- [Search Trials By Sponsor](https://xpay.tools/skills/clinical-trials/search-trials-by-sponsor/SKILL.md) — $0.01/call
- [Search Trials By Acronym](https://xpay.tools/skills/clinical-trials/search-trials-by-acronym/SKILL.md) — $0.01/call
- [Search Trials By Nct Ids](https://xpay.tools/skills/clinical-trials/search-trials-by-nct-ids/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/clinical-trials/get-trial-details-batched/
- Provider: https://xpay.tools/clinical-trials/
- All tools: https://xpay.tools/explore
