List the hospitals that file a payer
list_payer_hospitalsThe hospitals that file a payer across all codes, optionally in one state, paginated: plan_count, payer_rate_rows and filed_rate_count per hospital. Includes total_count. For one payer's rates for a specific code use list_code_payer_hospitals. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.
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": {
"payer_slug": "<payer_slug>"
},
"name": "list_payer_hospitals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional case-insensitive hospital-name search. | |
| state | No | Optional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected as INVALID_ARGUMENT. | |
| order_by | No | Defaults to PAYER_HOSPITAL_ORDER_RATE_ROWS_DESC. | |
| page_size | No | Defaults/caps at 500. | |
| page_token | No | Opaque next_page_token from a previous response; only valid with the same request fields. | |
| payer_slug | Yes | A payer_slug from list_payers or list_code_payers, e.g. "aetna". |