Discover/capitol.texas.gov API
live

capitol.texas.gov APIcapitol.texas.gov

Access Texas Legislature bill data, legislator info, and committee rosters via API. Covers bill actions, stages, member contact details, and committee membership.

Endpoints
7
Updated
22d ago
Try it
Filter by chamber: 'house', 'senate', or 'both'.
Session type: '2' for 2nd Called, '1' for 1st Called, 'R' for Regular.
Legislature number (e.g., '89' for the 89th Legislature).
api.parse.bot/scraper/3fe7d5ac-53e1-4c15-9eb6-edbebcf8f29b/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/3fe7d5ac-53e1-4c15-9eb6-edbebcf8f29b/search_bills?chamber=house&session=R&legislature=89' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Search for bills in the Texas Legislature for a given session. Returns the first 25 results with total count. Use get_bill_actions or get_bill_stages for individual bill details.

Input
ParamTypeDescription
chamberstringFilter by chamber: 'house', 'senate', or 'both'.
sessionstringSession type: '2' for 2nd Called, '1' for 1st Called, 'R' for Regular.
legislaturestringLegislature number (e.g., '89' for the 89th Legislature).
Response
{
  "type": "object",
  "fields": {
    "bills": "array of bill objects with bill_id, bill_number, and author",
    "total": "integer total number of matching bills",
    "chamber": "string chamber filter used",
    "session": "string session type used",
    "legislature": "string legislature number used",
    "results_shown": "integer number of bills returned in this response"
  },
  "sample": {
    "data": {
      "bills": [
        {
          "author": "",
          "bill_id": "HB1",
          "bill_number": "HB 1"
        },
        {
          "author": "",
          "bill_id": "HB2",
          "bill_number": "HB 2"
        }
      ],
      "total": 347,
      "chamber": "house",
      "session": "2",
      "legislature": "89",
      "results_shown": 25
    },
    "status": "success"
  }
}

About the capitol.texas.gov API

The capitol.texas.gov API exposes 7 endpoints covering Texas Legislature data across bills, legislators, and committees. Use search_bills to query active or historical sessions by chamber and legislature number, retrieve step-by-step action histories with journal page references via get_bill_actions, and pull committee rosters with member roles through get_committee_members. Response fields include bill identifiers, legislative stage status, district numbers, and official legislator website URLs.

Bills and Legislative Progress

search_bills returns up to 25 results per call with a total count, filtering by chamber ('house', 'senate', or 'both'), session ('R' for Regular, '1' for 1st Called, '2' for 2nd Called), and legislature number (e.g., '89'). Each result includes bill_id, bill_number, and author. For deeper detail, get_bill_actions returns a chronological array of actions with description, comment, date, time, and journal_page references. get_bill_stages returns the same bill's progress through named legislative stages, each with a stage_number, status, and date, useful for tracking how far a bill has advanced.

Legislators and Contact Data

get_legislators lists all current members for a given chamber with name, member_code, chamber code, and district. The member_code value feeds into get_legislator_info, which returns the legislator's full name with title, district, official website URL, and a committees array listing all committee assignments by name. The legislature parameter lets you query across sessions.

Committees and Membership

get_committees returns the full list of committees for a given chamber and session, including name, committee_code, and chamber code. The total field tells you how many committees exist in that configuration. Pass a committee_code to get_committee_members to retrieve each member's name, role (Chair, Vice Chair, or Member), and member_code. The response also includes the committee_name and a leg_sess string combining legislature and session codes for reference.

Common use cases
  • Track a specific Texas bill through all legislative stages using get_bill_stages and alert when status changes.
  • Build a legislator contact directory with district numbers and official website URLs from get_legislator_info.
  • Map committee assignments for every House or Senate member by combining get_legislators with get_legislator_info.
  • Audit legislative activity by pulling journal page references from get_bill_actions for a given session.
  • Compare committee rosters across Regular and Called sessions using get_committees with different session values.
  • Identify which legislators chair committees by filtering role fields returned by get_committee_members.
  • Monitor all bills authored in a specific chamber during a called session using search_bills with session and chamber filters.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does the Texas Legislature have an official developer API?+
The Texas Legislature Online (capitol.texas.gov) does not publish an official public developer API with documented endpoints, authentication, or versioning.
What does `search_bills` return and how many results does it include?+
search_bills returns up to 25 bill objects per call, each with bill_id, bill_number, and author. The total field tells you the full count of matching bills for the query, and you can filter by chamber, session, and legislature number. There is currently no offset or page parameter to retrieve results beyond the first 25. You can fork the API on Parse and revise it to add pagination support.
Does the API return the full text or PDF of a bill?+
No. The API covers bill metadata, action history, and stage progress — fields like description, comment, date, and journal_page — but not bill document text or PDF links. You can fork the API on Parse and revise it to add an endpoint that retrieves bill text documents.
Can I retrieve voting records or roll call data for a bill?+
Not currently. The endpoints cover bill actions and stages, legislator details, and committee membership. Voting records and roll call tallies are not included in any response. You can fork the API on Parse and revise it to add an endpoint targeting that data.
What is the `leg_sess` field and how is it formatted?+
leg_sess is a combined string of the legislature number and session code returned by get_bill_actions, get_bill_stages, and get_committee_members. For example, the 89th Legislature Regular Session would appear as '89R'. It is used as a single reference key rather than two separate fields.
Page content last updated . Spec covers 7 endpoints from capitol.texas.gov.
Related APIs in Government PublicSee all →
identify.plantnet.org API
Identify and explore plant species by searching through Pl@ntNet's comprehensive botanical database to access detailed information like taxonomic families, genera, species descriptions, photos, and community observations. Track plant distributions, view contribution trends, and discover expert contributors within the platform's collaborative plant identification community.
data.lime.bike API
Access real-time availability data for Lime bikes and scooters, including station locations, vehicle status, system alerts, and geofencing zones across multiple cities. Monitor micromobility inventory and service information to find nearby vehicles or plan your trips effectively.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
mahatenders.gov.in API
Access Maharashtra government tenders from mahatenders.gov.in, browsing them by closing date or by organization with full tender details and pagination support. Find and review procurement opportunities across different government departments in one place.