---
name: "xpay-courtlistener-get-case-documents"
description: "🔒 PREMIUM ACCESS REQUIRED | EXPERIMENTAL: Retrieve case documents from PACER with full text extraction. Access orders, motions, briefs, and opinions. Note: This function requires CourtListener premium API access and is experimental - may not work with basic API keys."
version: "1.0.0"
price: "$0.01/call"
provider: "CourtListener"
---

# Get Case Documents

🔒 PREMIUM ACCESS REQUIRED | EXPERIMENTAL: Retrieve case documents from PACER with full text extraction. Access orders, motions, briefs, and opinions. Note: This function requires CourtListener premium API access and is experimental - may not work with basic API keys.

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

## When to Use

Use this tool when you need to 🔒 premium access required | experimental: retrieve case documents from pacer with full text extraction. access orders, motions, briefs, and opinions. note: this function requires courtlistener premium api access and is experimental - may not work with basic api keys.. This is part of the CourtListener provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 13+ 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("courtlistener/get_case_documents")`
2. **`xpay_run`** — Execute: `xpay_run("courtlistener/get_case_documents", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | number | No | Maximum number of documents to return |
| `docket_id` | string | Yes | Docket ID to get documents for |
| `include_text` | boolean | No | Include extracted full text content (may be large) |
| `document_type` | string | No | Type of documents to retrieve |

## 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

- [CourtListener (all tools)](https://xpay.tools/skills/courtlistener/SKILL.md) — 14 tools
- [Search Cases By Problem](https://xpay.tools/skills/courtlistener/search-cases-by-problem/SKILL.md) — $0.01/call
- [Get Case Details](https://xpay.tools/skills/courtlistener/get-case-details/SKILL.md) — $0.01/call
- [Find Similar Precedents](https://xpay.tools/skills/courtlistener/find-similar-precedents/SKILL.md) — $0.01/call
- [Analyze Case Outcomes](https://xpay.tools/skills/courtlistener/analyze-case-outcomes/SKILL.md) — $0.01/call
- [Get Judge Analysis](https://xpay.tools/skills/courtlistener/get-judge-analysis/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/courtlistener/get-case-documents/
- Provider: https://xpay.tools/courtlistener/
- All tools: https://xpay.tools/explore
