How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Open States bills API

The bills API from Open States — 3 operation(s) for bills.

Open States bills API is one of 7 APIs that Open States publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Bills. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a GitHub repository.

This API exposes 3 operations across 3 paths, and defines 26 schemas. It is described by OpenAPI 3.0.2, at version 2021.11.12.

Requests are made against the base URL https://v3.openstates.org/.

3 operations 3 paths 26 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.2
API Version
2021.11.12
Base URL
https://v3.openstates.org/
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

bills 3
GET
/bills
Bills Search
bills_search_bills_get 18 params → 200422
GET
/bills/ocd-bill/{openstates_bill_id}
Bill Detail By Id
bill_detail_by_id_bills_ocd_bill__openstates_bill_id__get 4 params → 200422
GET
/bills/{jurisdiction}/{session}/{bill_id}
Bill Detail
bill_detail_bills__jurisdiction___session___bill_id__get 6 params → 200422

Schemas 26

The contract defines 26 schemas that model the data the API accepts and returns. The most detailed are Bill (26 properties), VoteEvent (11 properties), BillSponsorship (7 properties), BillAction (7 properties). Each schema is shown below with its type and property counts.

BillDocumentLink
object
2 properties 2 required
VoteEvent
object
11 properties 10 required
Link
object
2 properties 1 required
BillSortOption
string
An enumeration.
Bill
object
26 properties 9 required
BillTitle
object
2 properties 2 required
HTTPValidationError
object
1 property
BillActionRelatedEntity
object
4 properties 2 required
BillList
object
2 properties 2 required
PaginationMeta
object
4 properties 4 required
CompactJurisdiction
object
3 properties 3 required
PersonVote
object
4 properties 3 required
RelatedBill
object
3 properties 3 required
BillAbstract
object
2 properties 2 required
CurrentRole
object
4 properties 2 required
BillInclude
string
An enumeration.
ValidationError
object
3 properties 3 required
BillAction
object
7 properties 6 required
OrgClassification
string
An enumeration.
JurisdictionClassification
string
An enumeration.
BillSponsorship
object
7 properties 5 required
VoteCount
object
2 properties 2 required
CompactPerson
object
4 properties 3 required
BillDocumentOrVersion
object
5 properties 5 required
BillIdentifier
object
1 property 1 required
Organization
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openstates-bills-api-openapi.yml Raw ↑

Other APIs Open States publishes across the network.

Open States GraphQL API (v2 - Deprecated)
Open States committees API
Open States events API
Open States jurisdictions API
Open States Metrics API
Open States people API
Where this information came from

This is an independent, third-party profile of Open States bills API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.