Ratifi API
Free, read-only access to Texas legislation as JSON: every bill, its hearings, committee votes, witness-list summaries and fiscal notes. Includes the 2027 session from the first day of pre-filing.
What’s included
- Texas bills from the 89th Legislature (2025) and the 90th (2027), updated through the day
- Actions, sponsors, subjects, companion bills, text versions and bill analyses
- Committee hearings, scheduled and held, with results
- Committee vote counts and roll-call totals
- Witness-list summaries: how many people testified for, against and on each bill, and the organizations represented
- Fiscal notes: the two-year impact on general revenue, the five-year table and the breakdown by fund
The one requirement: credit Ratifi
Wherever you show or publish the data, include this credit with a link to ratifi.us:
Data from Ratifi (ratifi.us), built by ByteMechanix.co
The data itself comes from public records: the Texas Legislature and Open States. Every response includes the credit text for you to reuse.
Using the API
Send your key in an X-API-Key header. Each key allows 5,000 requests a day, reset at midnight UTC. Lists are paginated, 25 per page by default and up to 100.
Need more? See the paid tiers, from 50,000 requests a day, with half price for nonprofits, schools and newsrooms. Check your key’s usage anytime. Manage your keys
curl -H "X-API-Key: YOUR_KEY" "https://ratifi.us/api/v1/tx/bills?session=90&topic=k-12"
| Endpoint | Returns |
|---|---|
GET /api/v1/tx/sessions | Sessions with bill counts |
GET /api/v1/tx/bills | Bills, newest updates first. Filters: session, topic, stage, q (title search), updated_since, page, per_page |
GET /api/v1/tx/bills/90/hb-101 | One bill with actions, sponsors, hearings, committee votes, witness lists, fiscal notes and text links |
GET /api/v1/tx/hearings | Committee hearings. Filters: session, from, to (dates), upcoming=1, page, per_page |
Tip: to stay in sync, request bills with updated_since set to the time of your last run.
Get a free API key
We use your email only to send notices about the API, such as changes or outages, unless you check the box above.