PeaceIsActive APIpeaceisactive.com ↗
Access live government feed links for all 50 US states plus federal feeds (House, Senate, Supreme Court, C-SPAN) via a single state-based endpoint.
What is the PeaceIsActive API?
The PeaceIsActive.com API exposes government live stream data across all 50 US states through a single endpoint, get_live_feeds_by_state. Each response includes state legislature feed entries with names, descriptions, and links, plus a consistent set of US federal feed entries covering the House, Senate, Supreme Court, and C-SPAN — returning a combined payload of both state_feeds and federal_feeds arrays.
curl -X GET 'https://api.parse.bot/scraper/1f04476a-aed1-4f6a-a914-b4f3481f2209/get_live_feeds_by_state?state=TX' \ -H 'X-API-Key: $PARSE_API_KEY'
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 peaceisactive-com-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: Peace Is Active Government Live Feeds — look up feeds for a state."""
from parse_apis.peaceisactive_com_api import PeaceIsActive, InvalidState
client = PeaceIsActive()
# Fetch live government feed info for Texas
try:
tx = client.state_feeds.get(state="TX")
except InvalidState:
print("Invalid state abbreviation provided")
raise
print(f"{tx.state} ({tx.state_abbreviation})")
# Show state legislature feeds with their streaming links
for feed in tx.state_feeds:
print(f" [{feed.section}] {feed.name}: {feed.description}")
for link in feed.links:
print(f" -> {link.text}: {link.url}")
# Show federal feeds applicable to this state
for feed in tx.federal_feeds:
print(f" [{feed.section}] {feed.name}: {feed.description}")
for link in feed.links:
print(f" -> {link.text}: {link.url}")
print("exercised: state_feeds.get")
Returns live government feed information for a US state identified by its 2-letter abbreviation. Includes the state's legislature live feed links and descriptions, plus US federal government feed links (House, Senate, Supreme Court, C-SPAN) that are relevant to all states. Each feed entry contains the institution name, a description of what coverage is available, and the URLs where live streams can be accessed.
| Param | Type | Description |
|---|---|---|
| staterequired | string | 2-letter US state abbreviation (e.g. 'CA', 'NY', 'TX'). Case-insensitive. |
{
"type": "object",
"fields": {
"state": "Full state name",
"state_feeds": "Array of state legislature feed entries, each with name, description, links, and section",
"federal_feeds": "Array of US federal government feed entries applicable to all states",
"state_abbreviation": "2-letter state abbreviation, uppercased"
},
"sample": {
"data": {
"state": "Texas",
"state_feeds": [
{
"name": "Texas",
"links": [
{
"url": "https://house.texas.gov",
"text": "house.texas.gov"
},
{
"url": "https://senate.texas.gov",
"text": "senate.texas.gov"
}
],
"section": "State Legislature Live Feeds (Full 50-State Directory)",
"description": "house.texas.gov and senate.texas.gov – Chamber and committee webcasts."
}
],
"federal_feeds": [
{
"name": "U.S. House of Representatives",
"links": [
{
"url": "https://live.house.gov",
"text": "live.house.gov"
}
],
"section": "United States Federal Government Live Feeds",
"description": "Live floor proceedings at live.house.gov and C-SPAN 1."
},
{
"name": "U.S. Senate",
"links": [
{
"url": "https://www.senate.gov/floor/",
"text": "senate.gov/floor"
}
],
"section": "United States Federal Government Live Feeds",
"description": "Live floor webcasts at senate.gov/floor and C-SPAN 2."
},
{
"name": "U.S. Supreme Court",
"links": [
{
"url": "https://www.supremecourt.gov",
"text": "supremecourt.gov"
}
],
"section": "United States Federal Government Live Feeds",
"description": "Live audio during argument sessions at supremecourt.gov ."
},
{
"name": "C-SPAN",
"links": [
{
"url": "https://www.c-span.org",
"text": "c-span.org"
}
],
"section": "United States Federal Government Live Feeds",
"description": "Coverage across all three branches and committee hearings at c-span.org ."
}
],
"state_abbreviation": "TX"
},
"status": "success"
}
}About the PeaceIsActive API
What the API Returns
The get_live_feeds_by_state endpoint accepts a 2-letter US state abbreviation via the state parameter (case-insensitive) and returns structured data from PeaceIsActive.com's 50-state directory of legislature live streams. The response identifies the full state name in state, the normalized state_abbreviation, and two arrays: state_feeds and federal_feeds.
State and Federal Feed Arrays
state_feeds contains entries specific to the requested state's legislature — each entry includes a name, a description, one or more links to the live stream, and a section label that categorizes the feed (for example, the House or Senate chamber for that state). federal_feeds contains entries that apply uniformly to every state: live stream links for the US House of Representatives, US Senate, Supreme Court, and C-SPAN channels. These federal entries follow the same structure as state entries.
Coverage and Inputs
Every request requires a valid 2-letter state abbreviation (e.g., CA, NY, TX). The API covers all 50 states as catalogued on PeaceIsActive.com. Because both state and federal feeds are returned in each call, a single request gives you the full picture of what live government proceedings are available for a given state and its federal counterparts.
The PeaceIsActive API is a managed, monitored endpoint for peaceisactive.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when peaceisactive.com 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 peaceisactive.com 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.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Build a state-by-state civic dashboard showing live legislature stream links using
state_feedsentries. - Aggregate
federal_feedslinks once and display House, Senate, Supreme Court, and C-SPAN streams in a unified viewer. - Notify users when a specific state chamber's feed is listed by polling
state_feedsname and section fields. - Power a civics education app that surfaces live government feeds relevant to a student's home state.
- Index legislature stream metadata — names, descriptions, links — for a searchable directory of government video sources.
- Cross-reference
sectionlabels across states to compare which chambers publish public live feeds.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 200 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
| Team | $300/mo | 20,000 | 300 req/min |
| Company | $1,000/mo | 100,000 | 500 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.
Does PeaceIsActive.com have an official developer API?+
What does the `state_feeds` array include, and how is it different from `federal_feeds`?+
state_feeds contains live feed entries specific to the legislature of the requested state — each with a name, description, links, and a section label indicating the chamber or body. federal_feeds contains the same structure but covers US federal bodies (House, Senate, Supreme Court, C-SPAN) and is identical regardless of which state you query.