# StatePulse Toll Cost Estimator

> StatePulse Toll Cost Estimator is a paid API for AI agents from statepulse-api.hahavoid0.workers.dev, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-14).

Estimates the toll cost in USD for a given US state, returning a confidence interval for the estimate

## Facts

- Endpoint: POST https://statepulse-api.hahavoid0.workers.dev/transit/toll-cost
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/statepulse-toll-cost-estimator-c361d90b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__E-IhJJRNVHGczaxp71Bu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability statepulse-toll-cost-estimator-c361d90b -d '<json body>'
```

Example prompt: What's the estimated toll cost for driving through New York — give me the dollar amount and how confident you are in that estimate.

## When to prefer this

Use this endpoint when an agent needs a quick, pay-per-call toll cost estimate for a specific US state without requiring a full route or map API integration. Ideal for travel budget planning, route cost summaries, or enriching trip itineraries with toll expense data. Best suited for agents that need a lightweight, no-API-key solution with crypto micro-payment billing via x402 on Base.

## Known failure modes

- State not supported — 'supported: false' returned with no cost estimate
- Invalid or unrecognized state code in request body — likely 4xx error
- Payment failure via x402/USDC — request blocked before processing
- Ambiguous route context causing low-confidence or null estimate
- Service unavailable on Cloudflare Workers edge — 5xx response

## How this service works

50 pay-per-call tools for AI agents: live telemetry, environmental, transit, blockchain, network/security and finance utilities. x402 USDC on Base, no API key.

## Output

A JSON object containing the US state code, an estimated toll cost in USD (e.g. $6.40), a supported boolean indicating whether toll data is available for that state, and a confidence interval label such as 'medium' or 'high'.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "state": "NY",
   "estimated_toll_usd": 6.4,
   "confidence_interval": "medium"
  },
  "supported": true,
  "confidence": "medium"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/statepulse-toll-cost-estimator-c361d90b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from statepulse-api.hahavoid0.workers.dev](https://www.zero.xyz/host/statepulse-api.hahavoid0.workers.dev/llms.txt)
