Open States GraphQL API
The Open States GraphQL API (v2) provides programmatic access to US state legislative data through a flexible GraphQL interface. The API exposes data covering all 50 states, Washington DC, and Puerto Rico, including bills, legislators, committees, jurisdictions, legislative sessions, and voting records. Queries support filtering by jurisdiction, session, chamber, subject, sponsor, and date, as well as geolocation-based legislator lookups using latitude and longitude coordinates.
Overview
Open States GraphQL API is a GraphQL API specification published by Open States on the APIs.io network.
The Open States GraphQL API (v2) provides programmatic access to US state legislative data through a flexible GraphQL interface. The API exposes data covering all 50 states, Washington DC, and Puerto Rico, including bills, legislators, committees, jurisdictions, legislative sessions, and voting records. Queries support filtering by jurisdiction, session, chamber, subject, sponsor, and date, as well as geolocation-based legislator lookups using latitude and longitude coordinates.
The GraphQL endpoint is available at https://openstates.org/graphql/. documentation is published at https://docs.openstates.org/graphql/.
The specification includes 3 reference links.
Tagged areas include Government, Legislative Data, Civic Technology, State Legislature, and Bills.
Endpoint
References
- Documentation https://docs.openstates.org/graphql/
- GettingStarted https://docs.openstates.org/api-v3/
- Reference https://github.com/openstates/openstates.org/tree/main/graphapi