80trust / 100

Voter Turnout Predict

by gov.halowerk.com in Weather & location

x402 APIPassing, checked 3 h ago

Applies a fixed, published logistic equation to aggregate caller-supplied features and reports an estimated turnout range. It is an untrained scenario heuristic, not a calibrated election forecast, individual propensity score, or basis for voter targeting.

POST https://gov.halowerk.com/v1/voter-turnout-predict

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
121 ms typical, 139 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://gov.halowerk.com/v1/voter-turnout-predict" \
  -H "content-type: application/json" \
  -d '{"eligible_voters":12000,"participation_trend_percentage_points":2.5,"prior_turnout_rate":0.38,"proposal_count":4,"reminders_per_voter":2,"voting_window_days":7}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fgov.halowerk.com%2Fv1%2Fvoter-turnout-predict
const res = await pay("https://gov.halowerk.com/v1/voter-turnout-predict", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"eligible_voters":12000,"participation_trend_percentage_points":2.5,"prior_turnout_rate":0.38,"proposal_count":4,"reminders_per_voter":2,"voting_window_days":7}),
});
console.log(await res.json());

Example input

{
  "eligible_voters": 12000,
  "participation_trend_percentage_points": 2.5,
  "prior_turnout_rate": 0.38,
  "proposal_count": 4,
  "reminders_per_voter": 2,
  "voting_window_days": 7
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402128 ms$0.003
7 h agoPassed402139 ms$0.003
10 h agoPassed402132 ms$0.003
14 h agoPassed402152 ms$0.003
18 h agoPassed402103 ms$0.003
21 h agoPassed402105 ms$0.003
25 h agoPassed402107 ms$0.003
28 h agoPassed402116 ms$0.003
34 h agoPassed402121 ms$0.003