Government Legal
Texas Legislature Online logo

Texas Legislature Online API

capitol.texas.gov

Texas Legislature Online - bills, bill history, committee meetings, and subject reports.

Actions
11
Category
Government Legal
Login
Not required
Output
JSON

Call the Texas Legislature Online API

Submit a task, then poll the job until it settles. This example runs act_capitol_texas_gov_bill_history_detail.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_capitol_texas_gov_bill_history_detail",
    "params": {
      "leg_sess": "892",
      "bill_id": "HB1"
    }
  }'

11 actions on capitol.texas.gov

Read

  • Bill History Details

    act_capitol_texas_gov_bill_history_detailread2 credits / call

    Returns a bill's full history, status, authors, and caption for a session.

    leg_sess
    string · required
    bill_id
    string · required
  • Bill Report Categories

    act_capitol_texas_gov_reports_bills_by_indexread1 credit / call

    Returns bill report categories by subject, author, and more for a session.

  • Bills by Subject Index

    act_capitol_texas_gov_bills_by_subject_indexread2 credits / call

    Returns the subject category index with links to per-subject bill reports for a session.

    leg_sess
    string · required
    subject_category
    string · required
  • Bills by Subject Report

    act_capitol_texas_gov_bills_by_subject_reportread2 credits / call

    Returns bills filed under one subject code for a session with title and bill rows.

    leg_sess
    string · required
    subject_code
    string · required
  • Committee Meeting Schedule

    act_capitol_texas_gov_committee_meeting_schedule_documentread2 credits / call

    Returns a committee meeting's hearing notice with agenda, time, and location.

    schedule_doc_filename
    string · required
  • Committee Meetings Listing

    act_capitol_texas_gov_committee_meetings_listingread2 credits / call

    Returns a committee's scheduled meetings with notice, minutes, and witness-list links.

    leg
    string · required
    chamber
    string · required
    committee_code
    string · required
  • Filed House Bills Listing

    act_capitol_texas_gov_filed_house_bills_listingread2 credits / call

    Returns filed House bills with author, sponsor, last action, caption, and history links.

    leg_sess
    string · required
    report_id
    string · required
  • General Reports Index

    act_capitol_texas_gov_general_reports_indexread1 credit / call

    Returns available general report types for a legislative session.

  • House Committees Listing

    act_capitol_texas_gov_house_committees_listingread1 credit / call

    Returns House committees with names, codes, and subcommittee flags.

    chamber
    string · required
  • Legislation Navigation Menu

    act_capitol_texas_gov_legislation_nav_menuread1 credit / call

    Returns the legislation menu with bill lookup, reports, and vote info links.

  • Legislature Homepage

    act_capitol_texas_gov_legislature_homepageread1 credit / call

    Returns the homepage with current session context and available sessions.

Texas Legislature Online API questions

Is there an API for Texas Legislature Online?
Texas Legislature Online does not offer a public data API for this, but Anakin Wire provides 11 maintained endpoints for capitol.texas.gov. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Texas Legislature Online data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when capitol.texas.gov changes its markup, Anakin updates the action.
Do I need a Texas Legislature Online account?
No. Every Texas Legislature Online action listed here runs anonymously — no account and no credentials required.
What does the Texas Legislature Online API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Government Legal APIs

All Government Legal sites