Discover/palegis API
live

palegis APIpalegis.us ↗

Get real-time session status and schedule data for the Pennsylvania House and Senate chambers via the palegis.us API. Returns date, time, status, and live feed info.

Endpoint health
verified 3d ago
get_schedule
1/1 passing latest checkself-healing
Endpoints
1
Updated
2mo ago

What is the palegis API?

The palegis.us API provides one endpoint — get_schedule — that returns 8 structured fields describing the current or next session of the Pennsylvania General Assembly's House or Senate chamber. Each response includes session status, date and time, location, session type, and whether a live feed is currently available, making it straightforward to track when either chamber is in session or scheduled to reconvene.

This call costs1 credit / call— charged only on success
Try it
Date to check livestream availability for, in YYYYMMDD format (e.g. 20260909). Defaults to today's date if omitted.
The legislative chamber to get session info for.
→ api.parse.bot/scraper/7450d1fe-7a53-480d-a39e-0c96afd6e686/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/7450d1fe-7a53-480d-a39e-0c96afd6e686/get_schedule?chamber=house' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace palegis-us-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: PA General Assembly session schedule lookup."""
from parse_apis.palegis_us_api import PaLegis, Chamber, InvalidChamber

client = PaLegis()

# Fetch the current session schedule for the Senate chamber.
senate = client.schedules.get(chamber=Chamber.SENATE)
print(f"Senate: {senate.status} — {senate.date} at {senate.time}")
if senate.location:
    print(f"  Location: {senate.location}")
if senate.session_type:
    print(f"  Session type: {senate.session_type}")
print(f"  Live feed available: {senate.has_live_feed}")
print(f"  Livestream available: {senate.livestream_available}")

# Fetch the House schedule and compare.
house = client.schedules.get(chamber=Chamber.HOUSE)
print(f"\nHouse: {house.status} — {house.date} at {house.time}")
print(f"  Status text: {house.status_text}")

# Demonstrate error handling for an invalid chamber value.
try:
    client.schedules.get(chamber="invalid")
except InvalidChamber as e:
    print(f"\nCaught expected error: {e.message}")

print("\nexercised: schedules.get (senate) / schedules.get (house) / InvalidChamber")
All endpoints · 1 totalmissing one? ·

Returns the current session status and schedule for the specified chamber of the Pennsylvania General Assembly. Includes the session status (e.g. will_reconvene, in_session), the next session date and time, any session type or location remarks, whether a live feed link is available on the session page, and whether a livestream is available for the specified date. Makes one request to the chamber's session page.

Input
ParamTypeDescription
datestringDate to check livestream availability for, in YYYYMMDD format (e.g. 20260909). Defaults to today's date if omitted.
chamberrequiredstringThe legislative chamber to get session info for.
Response
{
  "type": "object",
  "fields": {
    "date": "Date of the next or current session (e.g. 'Wednesday September 9, 2026')",
    "time": "Time of the next or current session (e.g. '5:45 PM')",
    "status": "Current session status: will_reconvene, in_session, adjourned, or unknown",
    "chamber": "The chamber queried (house or senate)",
    "location": "Session location if specified (e.g. 'Congress Hall, Philadelphia'), null otherwise",
    "status_text": "Full status text as displayed on the page",
    "session_type": "Type of session if specified (e.g. 'Voting Session*'), null otherwise",
    "has_live_feed": "Whether a live feed link is available on the session page",
    "livestream_available": "Whether a livestream is available for the queried date (true if the queried date matches the scheduled session date and a live feed link exists)"
  },
  "sample": {
    "data": {
      "date": "Wednesday September 9, 2026",
      "time": "5:45 PM",
      "status": "will_reconvene",
      "chamber": "house",
      "location": "Congress Hall, Philadelphia",
      "status_text": "The House will reconvene on Wednesday September 9, 2026 at 5:45 PM Voting Session* (Congress Hall, Philadelphia)",
      "session_type": "Voting Session*",
      "has_live_feed": true
    },
    "status": "success"
  }
}

About the palegis API

What the API Returns

The get_schedule endpoint accepts a single required parameter, chamber, set to either house or senate. It returns the session status as one of four normalized values: will_reconvene, in_session, adjourned, or unknown. Alongside the machine-readable status, the status_text field carries the full human-readable string as displayed on the source page, useful when you need exact legislative language.

Session Date, Time, and Location

The date field returns the next or current session date in a long-form format (e.g., Monday September 28, 2026), and time returns the corresponding start time (e.g., 1:00 PM). If the session is held at a non-standard location, the location field will carry that detail — such as Congress Hall, Philadelphia — otherwise it returns null. The session_type field similarly captures labeled session categories like Voting Session* when specified, or null when absent.

Live Feed Availability

The boolean has_live_feed field indicates whether a live stream link is currently available for the session. This lets applications surface a live feed prompt only when the chamber is actively broadcasting, without polling an external video source independently.

Coverage Scope

The API covers both chambers of the Pennsylvania General Assembly — House and Senate — for current session schedule data. It does not expose committee-level schedules, bill tracking, vote records, or historical session archives. The data reflects the active session schedule as currently published.

Reliability & maintenanceVerified

The palegis API is a managed, monitored endpoint for palegis.us — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when palegis.us changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official palegis.us API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Display a real-time session status badge on a civic engagement dashboard showing whether the PA House or Senate is currently in session
  • Send automated alerts to constituents or lobbyists when status changes to in_session for either chamber
  • Surface the next session date and time in a legislative calendar app targeting Pennsylvania policy professionals
  • Conditionally show a live stream link in a news or media app based on the has_live_feed flag
  • Track non-standard session location values to notify stakeholders of off-campus legislative activity
  • Log session_type values over time to distinguish voting sessions from other session categories
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does the Pennsylvania General Assembly offer an official developer API?+
The Pennsylvania General Assembly does not publish an official developer API for session schedule data. The palegis.us website (palegis.us) is the authoritative public-facing source, and this Parse API exposes its schedule data in a structured format.
What does the `status` field actually distinguish?+
The status field returns one of four normalized values: will_reconvene (chamber has adjourned but has a future session scheduled), in_session (currently meeting), adjourned (no future session date currently posted), or unknown (status cannot be determined from available data). The status_text field always carries the original display string for reference.
Does the API return committee meeting schedules or individual bill information?+
Not currently. The API covers chamber-level floor session schedule data — status, date, time, location, session type, and live feed availability — for the House and Senate. Committee schedules, bill text, vote records, and legislator information are not included. You can fork this API on Parse and revise it to add endpoints targeting those parts of palegis.us.
How current is the session schedule data?+
The API reflects the schedule as currently published on palegis.us. The Pennsylvania General Assembly updates its published schedule on an ongoing basis, but session dates and times can change due to adjournments or procedural decisions. Callers building time-sensitive applications should poll the endpoint regularly rather than caching results for extended periods.
Can I retrieve historical session dates or past schedule data?+
Not currently. The get_schedule endpoint returns only the current or next upcoming session for the specified chamber. Historical session records are not exposed. You can fork this API on Parse and revise it to add an endpoint targeting any archived schedule pages palegis.us publishes.
Page content last updated . Spec covers 1 endpoint from palegis.us.
Related APIs in Government PublicSee all →
legis.ga.gov API
Watch the Georgia General Assembly in real-time by checking the livestream schedule for committee meetings, floor sessions, and other legislative events with complete broadcast information. Plan your viewing by accessing current schedules and staying up-to-date on when sessions are scheduled to air.
ilga.gov API
Check the Illinois House of Representatives' current session status, upcoming hearings, and official bulletins to stay informed about legislative activities. Plan your civic engagement or track legislative proceedings with real-time schedule information from the state's general assembly.
nyassembly.gov API
Check the New York State Assembly's live and upcoming event schedule to stay informed about legislative sessions, hearings, and broadcasts. Access current meeting times, dates, and events directly from the official broadcasting system.
malegislature.gov API
Check the live stream schedule for Massachusetts legislative sessions on any date to find when the General Court is broadcasting. Plan your viewing of state senate and house proceedings directly from the official legislature website.
sg001-harmony.sliq.net API
Check the upcoming livestream schedule for Colorado General Assembly sessions and committee meetings directly from their Harmony video system. Find event details like dates, times, and session information to plan when to watch legislative proceedings live.
flsenate.gov API
Watch the Florida Senate's daily livestream schedule to find out when legislative sessions and committee meetings are being broadcast. Plan your viewing by checking the current day's scheduled video broadcasts and their times.
civicstream.tv API
Watch live government proceedings from state legislatures, city councils, and national feeds directly through Civic Stream. Check the schedule to plan when you want to tune into your elected representatives at work.
house.texas.gov API
Watch live legislative events from the Texas House of Representatives by accessing the broadcast schedule for committee hearings and other proceedings. Plan your viewing by retrieving detailed information about upcoming livestreams and their scheduled times.