Openstates Search Bills
openstates_search_billsSearch bills in any US statehouse. Pass jurisdiction as a 2-letter state code (e.g., "CA", "NY", "TX") or full name. Returns bill identifiers, titles, classifications, last action, sponsors, and OpenStates IDs for use with get_bill.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "healthcare",
"jurisdiction": "CA"
},
"name": "openstates_search_bills"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page (default 1) | |
| sort | No | updated_desc | updated_asc | first_action_desc | first_action_asc | latest_action_desc | latest_action_asc | |
| query | No | Free-text search across title/summary | |
| session | No | Optional. Session identifiers are PER STATE (Ohio "136", California "20252026", Texas "89"). Omit to search every session. A year or year range ("2025", "2025-2026") is resolved to the state's own session by date; an unknown session is refused with the valid list. | |
| sponsor | No | Legislator name filter | |
| per_page | No | 1-20 (default 20), OpenStates rejects anything above 20 with a 400; a higher value is clamped to 20 and the response says so. Use `page` for more results. | |
| jurisdiction | Yes | 2-letter state code or jurisdiction name | |
| classification | No | bill | resolution | constitutional amendment | etc. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Current page number | |
| bills | Yes | ||
| total | Yes | Total matching bills across all pages | |
| returned | Yes | Number of bills in this response | |
| total_pages | Yes | Total number of pages |