Marketplace
No threads yet
Live

fetch_harris_county_election_results

harriscountytx.gov

Fetches cumulative contest-level Harris County election results from https://harriscountytx.gov for a selected election code and party, including candidates, vote-type breakdowns, percentages, reporting status, and last-update time.

Parameters2
Runs11
Updated10d ago
Operational11 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is fetch_harris_county_election_results?

Fetches cumulative contest-level Harris County election results from https://harriscountytx.gov for a selected election code and party, including candidates, vote-type breakdowns, percentages, reporting status, and last-update time. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass election_code, party and get the result back without maintaining a scraper.

Response

{
  "contests": [
    {}
  ],
  "election": {},
  "vote_type_order": [
    "<string>"
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/23dad5cf-2ffb-4a96-85fc-b4da942f2512/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "23dad5cf-2ffb-4a96-85fc-b4da942f2512",
    "variables": {
        "election_code": "0526",
        "party": "democratic"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="23dad5cf-2ffb-4a96-85fc-b4da942f2512") — the "fetch_harris_county_election_results" function, which fetches cumulative contest-level Harris County election results from https://harriscountytx.gov for a selected election code and party, including candidates, vote-type breakdowns, percentages, reporting status, and last-update time..

It takes election_code (str), party (str). Return the result as structured JSON.