ready-made APIby Michael Murphy

Citizens Count NH Politics & Elections

citizenscount.org

Browse New Hampshire candidates, officeholders, elections and results, bills by topic with sponsors and status, elected officials by town, policy topics, voter guides, news and site search from Citizens Count.

Writ CloudRESTMCPwebhookschedule2 credits / call

No website sign-in or persona needed. Free to install. Try any function below with your own values, no account: 10 free credits a day per device. Cloud calls after that use your own credits. Pricing →

The name citizenscount.org belongs to its owner. This API is not affiliated with, endorsed by or sponsored by citizenscount.org. You are responsible for how you use it.

Functions included in this API

01 · Functions15 functions

The form is the docs.

Choose a function, fill in its inputs, and run it: the answer comes back from the live site, with your values. Without an account you get 10 free credits a day per device for this; install the listing in Writ to keep calling it.

15 functionschoose one to explore
01get_candidate_listFull A-Z list of Citizens Count NH candidate and officeholder profiles (all pages of /candidate fetched and merged). Returns total and candidates[{name, slug, url}].02get_candidate_profileDetailed profile of one candidate/officeholder by slug (/candidate/{slug}): name, slug, url, party, current_office (office currently served, null if none), running_for, positions[{issue, stance, description (source, e.g. 'Citizens Count Issue Survey, 2024'), question}].03get_elected_officialsCurrent elected officials browsable by office category (from /elected-officials 'Or browse by office'): categories[{name, url, term}].04get_elected_officials_by_townCurrently elected officials representing one NH town/ward (/nh/{county}/{town}, Elected Officials section): town, town_name, representatives[{name, slug, office, url}] at federal, state and county/district level.05get_elections_listUpcoming elections and recent election results tracked by Citizens Count (/elections): elections[{name, url, slug, status ('upcoming' | 'recent_results')}].06get_election_resultsResults of one election by slug (/elections/{slug}, all result pages merged): election, title, date, results[{race, candidate, candidate_slug, party, percentage (% vote as shown), result ('Won!' or null)}]. The site publishes % of vote, not raw vote counts. Upcoming elections return an empty results07get_bills_listPaginated list of NH bill summaries (/bills, 25 per page), optionally filtered by topic slug: page, topic, bills[{bill_number, slug, url, status ('Became Law?' column), description}], last_page, has_more.08get_bill_detailFull details of one NH bill by slug (/bills/{slug}): url, slug, title (bill number), description, became_law, summary, sponsor, sponsors[{name, slug, party}], status, status_detail, last_updated, topics.09get_topics_listAll policy topics covered by Citizens Count (/topic): topics[{name, slug}]. A topic slug filters get_bills_list.10get_nh_towns_listAll NH towns, cities and wards with their county/town slugs (/nh): total, towns[{name, slug, url}]. The slug feeds get_elected_officials_by_town.11get_topic_detailOne policy topic by slug (/topic/{slug}): slug, url, title, content (topic overview text), related_bills (critical bills as 'NUMBER (YEAR) description' strings), related_bill_slugs, articles[{title, url}], briefs[{title, url}].12search_siteSite-wide keyword search across Citizens Count (/search?keywords=): query, page, results[{title, url, type, snippet}], has_more. Optional page (0-indexed).13get_voter_informationVoter education guides (/how-to/vote): title (section title, 'Voter Information'), url, intro, articles[{title, url}] (how to register, vote absentee, vote on Election Day, research candidates, ...).14get_articles_listPaginated discussion topics and news stories from /latest-discussion (latest comment per entry): page, articles[{title, url, snippet (comment excerpt), author (commenter)}], has_more.15get_article_detailFull text of one article/news story or issue brief by path (/news/... or /issues/...; a full citizenscount.org URL also works): url, title, date (news date, or 'last edited' date for briefs), author (briefs), content (body text).
When a call does not work
No key · GET

AI assistants and tools that can only open a URL can call it with no key: one URL per function, its inputs in the query string. Each call spends the free keyless allowance, 10 credits a day per IP address.

GET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_candidate_listGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_candidate_profile&slug=kelly-ayotteGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_elected_officialsGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_elected_officials_by_town&town_slug=sullivan%2FacworthGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_elections_listGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_election_results&slug=2026-nh-gubernatorial-primaryGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_bills_list&page=0&topic=gunsGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_bill_detail&slug=cacr-10-2026GET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_topics_listGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_nh_towns_listGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_topic_detail&slug=gunsGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=search_site&query=voting&page=0GET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_voter_informationGET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_articles_list&page=0GET https://api.usewrit.app/api/marketplace/listings/citizens-count-nh-politics-elections/run?function_name=get_article_detail&slug=%2Fnews%2Fshould-new-hampshire-allow-hunting-air-rifle
02 · Checks and timingsmeasured per function

Built to be called again.

Every function was called on the live site before this API was published, and keeps being measured. The numbers are the listing’s own.

—typical callnot measured yet
—measured runsacross 15 functions
—daily checks passedchecks start with the first install
—buyer runs succeededno counted buyer runs yet
functionmedian · 95th percentilemedianruns
get_candidate_list Not measured —
get_candidate_profile Not measured —
get_elected_officials Not measured —
get_elected_officials_by_town Not measured —
get_elections_list Not measured —
get_election_results Not measured —
get_bills_list Not measured —
get_bill_detail Not measured —
get_topics_list Not measured —
get_nh_towns_list Not measured —
get_topic_detail Not measured —
search_site Not measured —
get_voter_information Not measured —
get_articles_list Not measured —
get_article_detail Not measured —
Checked daily No daily check results published yet. Checks begin with the first install; no pass rate is claimed.
Repaired when it breaks A function that fails its check is re-tested and rebuilt. Installed copies receive the update; you redeploy nothing.
Buyer runs counted No counted buyer runs published yet; uptime counts real buyers’ runs only. Writ service status →

Historical measurements from the public listing, refreshed Dec 4, 2026. Timing samples are not an uptime claim or a guarantee for your next call.

03 · Your copyyour account

Install your copy. Call it your way.

2 credits
Priced per cloud call.

The listing’s base price is 2 credits per call. Longer runs, residential traffic and CAPTCHA solving can add usage. A site or Writ failure is free; your own input or login failures can be billable. Full usage rates →

cloud
No computer to keep running.

Marketplace copies execute in Writ Cloud, in your own account. Requirements and prices are checked before you use the listing.

REST · MCP
Every way to call it, at once.

Use your API key, connect an assistant, set a schedule with email or webhook delivery, or export answers as a dataset.

read-only
It only reads.

The published functions read data from the source website. No website sign-in or persona is needed for this listing.

private copy
Your account, your usage.

Your installed copy belongs to your account. Its underlying recipe stays sealed with its creator; no creator credentials are included.

04 · Or build your ownwebsite → API

Missing a function? Describe it.

Give Writ a website and say what you want. It builds and tests the API for your task.

On your computeryour machine

Build it in Writ Desktop and run it from your own IP. Execution on your machine costs 0 credits.

Get Writ Desktop →
In Writ Cloudcloud

Keep your API online without leaving your computer running. Cloud calls start at 2 credits, or 20 with a browser.

Build an API →
05 · More ready-madeAll APIs →
06 · Questions
Does Citizens Count have an API?
This page is an independent API and MCP server for citizenscount.org: Writ built it on the site’s public pages and tests it, and it has 15 functions you can call today. It is not an official Citizens Count product. For an official API, check Citizens Count’s own developer pages.
How do I use the Citizens Count API from Claude, ChatGPT or Cursor?
Install it in Writ, then add Writ’s MCP server (https://api.usewrit.app/mcp) to Claude, ChatGPT, Cursor or any MCP client: your assistant can run this API’s functions and read the results. From your own code, call the same functions over REST with a Writ API key.
How much does a call to the Citizens Count API cost?
2 credits per call, charged only when the call succeeds. New accounts start with 1,000 free credits, then 500 a month on the Free plan, no card.