# House — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> 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.

**Category:** Government & Public Data | **Website:** [www.house.texas.gov/videos](https://www.house.texas.gov/videos) | **Docs:** [parse.bot/marketplace/4ed5688e-0c46-4087-80b1-48ef979036c6/house-texas-gov-api](https://parse.bot/marketplace/4ed5688e-0c46-4087-80b1-48ef979036c6/house-texas-gov-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-house-texas-gov-api-4ed5688e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_broadcast_schedule

Returns all currently scheduled, live, and completed broadcast events from the Texas House of Representatives video page. Each event includes title, date, time, computed UTC start time, status, location, channel, type, and video page URL. Results are returned as a single unpaginated list of all events the site currently publishes.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-house-texas-gov-api-4ed5688e/get_broadcast_schedule \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_schedule

Returns scheduled, live, and completed broadcast events from the Texas House of Representatives video page. Each event includes title, date, time, computed UTC start time, status, a nested location object (room and channel), type, video page URL, and the m3u8 HLS stream URL when a video is available. When the optional date parameter is provided, only events on that date are returned; otherwise all currently published events are returned as a single unpaginated list.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | No | Filter events to a specific date. Accepts YYYY-MM-DD (e.g. 2026-08-17) or YYYYMMDD (e.g. 20260817) format. When omitted, all events are returned. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-house-texas-gov-api-4ed5688e/get_schedule \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>"}'
```
