# Harriscountytx — 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.

> Access official Harris County government data including election results, county services and facilities like parks and libraries, public notices, and Commissioners Court meeting schedules. Stay informed about local government activities and find information about Harris County services all in one place.

**Category:** Government & Public Data | **Website:** [harriscountytx.gov/](https://harriscountytx.gov/) | **Docs:** [parse.bot/marketplace/388545fe-cde0-44d4-b321-8c3f5240fdc7/harriscountytx-gov-api](https://parse.bot/marketplace/388545fe-cde0-44d4-b321-8c3f5240fdc7/harriscountytx-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-harriscountytx-gov-api-388545fe/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_commissioners_court_calendar

Retrieve the Harris County Commissioners Court meeting calendar from the Legistar system. Returns meeting events ordered by date descending, including date, time, location, agenda file URL, and meeting details. Each event includes full Legistar metadata.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of meetings to retrieve. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-harriscountytx-gov-api-388545fe/get_commissioners_court_calendar \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>"}'
```

### get_county_services

Retrieve Harris County facilities and services such as parks, libraries, community centers, senior centers, and county annexes from ArcGIS. Returns feature attributes including names, addresses, and service-type-specific fields. Supports offset-based pagination for large result sets.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of results to return. |
| `offset` | integer | No | Result offset for pagination. |
| `service_type` | string | No | Type of service. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-harriscountytx-gov-api-388545fe/get_county_services \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","offset":"<integer>","service_type":"<string>"}'
```

### get_election_results

Fetch election results for a specific Harris County election and party. Returns contest-level results including candidate names, vote counts by type (absentee, early voting, election day), and percentages. Each contest contains arrays of candidates with parallel arrays for vote breakdowns. Results are cumulative and timestamped with last-update time.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `election_code` | string | No | Election code identifying a specific election (e.g. '0326' for March 2026 Primary). |
| `party` | string | No | Party code. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-harriscountytx-gov-api-388545fe/get_election_results \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"election_code":"<string>","party":"<string>"}'
```

### get_public_notices

Extract recent public notices from the Harris County homepage and the County Clerk's Commissioners Court exceptions archive. Returns notice titles, links, and source attribution. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-harriscountytx-gov-api-388545fe/get_public_notices \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
