List Jurisdictions
openstates_list_jurisdictionsList all jurisdictions covered by Open States — all 50 states, DC, and 5 US territories (American Samoa, Guam, Northern Mariana Islands, Puerto Rico, and the US Virgin Islands): 56 in total, returned complete in a single default call. Returns coverage metadata: latest bill update time, latest people update time, and optionally all legislative sessions with their identifiers. Use this when you need to discover valid session identifiers for a state before calling openstates_search_bills with a session filter. The legislative_sessions include option returns all historical and current sessions — always check valid session identifiers here before using them in bill searches, since formats vary widely by state (e.g., "2025", "2025-2026", "2025rs", "2025s1").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-indexed). | |
| include | No | Related data to inline. "legislative_sessions" returns all session identifiers and date ranges — required when you need to discover valid session values for bill searches. "organizations" lists the jurisdiction's legislative chambers and executive bodies, and "latest_runs" the recent scraper run history. | |
| per_page | No | Results per page (upstream maximum 52). The default call returns the complete state inventory (56) in one response by fetching and merging the pages server-side; set a smaller value only to page manually. | |
| classification | No | Filter by jurisdiction type. Use "state" (default) for all 50 states, DC, and the 5 US territories. | state |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Current page returned. | |
| error | No | Present when the call failed. Absent on success. | |
| maxPage | No | Total pages available. | |
| results | No | Jurisdictions matching the filter. | |
| pagination | No | Pagination metadata. | |
| totalCount | No | Total jurisdictions matching the filter across all pages. |