US Opinions (Batch)
get_us_opinions_batchFetch up to 20 US court opinions by opinion ID in one call, as HTML or text, while flagging missing, unavailable, or deferred items without charging for them.
Instructions
Read up to 20 opinions by opinionIds in one call, as html or text, in the order sent. An id that matches none is in notFound and one with no text is in bodyUnavailable; neither is charged. Opinions past the 2,000,000 character limit are listed in deferred, not charged: ask for those again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"opinionIds": "<opinionIds>"
},
"name": "get_us_opinions_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | `html` (our markup) or plain `text`, the same two formats as `GET /us/opinions/{opinionId}`. | html |
| opinionIds | Yes | Up to 100 ids in the array, of which at most 20 distinct: a repeated id is answered once. More distinct ids than that is a 422 with `errors[]`, never charged. | |
| Idempotency-Key | No | Optional, 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and request replays the original 2xx for 24 hours without charging again; the same key with a different request is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||