# Harriscountytx — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/harriscountytx/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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.beta.paywithlocus.com/api/wrapped/credits/harriscountytx/get-commissioners-court-calendar \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/harriscountytx/get-county-services \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/harriscountytx/get-election-results \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/harriscountytx/get-public-notices \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.