77trust / 100

Estimate

by SolarPulse in Other

x402 APIPassing, checked 4 h ago

Rooftop solar estimate for a US address: system size, monthly and annual production (NASA POWER), utility rate (EIA-861 2024), installed cost (LBNL Tracking the Sun), payback, 25-year savings and the 2026 federal credit status.

GET
https://solarpulse.waltsoft.net/v1/estimate
Price
$0.1
per call in USDC
Uptime
100%
last 30 days
Response time
599 ms
894 ms slowest 5%
Last check
Passed
4 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://solarpulse.waltsoft.net/v1/estimate

Each call costs $0.1 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://solarpulse.waltsoft.net/v1/estimate?address=200+W+Washington+St%2C+Phoenix%2C+AZ+85003

Parameters

ParameterTypeRequiredDescription
addressstringNoUS street address (or use lat and lon)
latstringNoLatitude, with lon
lonstringNoLongitude, with lat
monthly_billstringNoOptional monthly electric bill in USD (10-3000)
monthly_kwhstringNoOptional household usage in kWh/month (50-10000)
system_kwstringNoOptional system size in kW DC (1-25)
tiltstringNoOptional roof tilt in degrees (0-60, default 20)

Example response

The provider's example. We can't check it without paying.

Example response, 37 lines
{
  "cost": {
    "federal_tax_credit_usd": 0,
    "gross_cost_usd": 28348
  },
  "electricity": {
    "rate_cents_per_kwh": 16.45,
    "utility": "Arizona Public Service Co"
  },
  "financials": {
    "first_year_savings_usd": 2145,
    "savings_25yr_usd": 50522,
    "simple_payback_years": 13.6
  },
  "location": {
    "county": "Maricopa County",
    "county_fips": "04013",
    "input": "200 W Washington St, Phoenix, AZ 85003",
    "lat": 33.4483,
    "lon": -112.0764,
    "matched_address": "200 W WASHINGTON ST, PHOENIX, AZ, 85003",
    "state": "AZ"
  },
  "production": {
    "annual_kwh": 13038,
    "specific_yield_kwh_per_kw": 1716
  },
  "system": {
    "orientation": "equator-facing (south)",
    "panel_watts": 400,
    "panels_approx": 19,
    "size_kw_dc": 7.6,
    "sized_to": "about 100% of annual usage (5-50 panels)",
    "tilt_deg": 20,
    "usage_offset_pct": 105
  }
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.1.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://solarpulse.waltsoft.net/v1/estimate?address=200+W+Washington+St%2C+Phoenix%2C+AZ+85003'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://solarpulse.waltsoft.net/v1/estimate?address=200+W+Washington+St%2C+Phoenix%2C+AZ+85003' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.1 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.1" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.1 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsolarpulse.waltsoft.net%2Fv1%2Festimate
const res = await pay("https://solarpulse.waltsoft.net/v1/estimate?address=200+W+Washington+St%2C+Phoenix%2C+AZ+85003");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.1 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.1"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://solarpulse.waltsoft.net/v1/estimate?address=200+W+Washington+St%2C+Phoenix%2C+AZ+85003")
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402642 ms$0.1
9 h agoPassed402610 ms$0.1
14 h agoPassed402571 ms$0.1
18 h agoPassed402598 ms$0.1
23 h agoPassed402624 ms$0.1
Show 10 older checks
27 h agoPassed402800 ms$0.1
32 h agoPassed402865 ms$0.1
36 h agoPassed4021.4 s$0.1
40 h agoPassed402612 ms$0.1
44 h agoPassed402619 ms$0.1
2 days agoPassed402651 ms$0.1
2 days agoPassed402966 ms$0.1
2 days agoPassed402560 ms$0.1
3 days agoPassed402644 ms$0.1
3 days agoPassed402660 ms$0.1