SpendPreflight
All tools / Data APIs

Data APIs

Use cached endpoint observations, historical FillPoint station proximity and an off-grid solar energy-balance calculator with explicit provenance and limits.

Browse data API schemas

Who it’s for

Developers and agents needing small, bounded data and calculation tools.

Price

Cached endpoint check: 0.005 USDC. Archived station query: 0.01 USDC. Solar estimate: 0.02 USDC. Complete dated station projection is free under ODbL.

Paid calls use x402 with USDC on Base. Read the quote before authorizing payment; examples below do not pay automatically.

Know the limits

Endpoint evidence must be fresh and publicly listed; unknown is not paid delivery proof. FillPoint is a September 17, 2026 historical snapshot, not current availability. Solar output is arithmetic, not weather, electrical design or installation certification. Scout discovery is not generally enabled.

Data APIs

These independent utilities remain available alongside the payment tools. Use their existing HTTP endpoints or MCP tools; prices and access are unchanged.

FillPoint RV stations

find_rv_stations finds nearby dump and water stations from the retained September 17, 2026 public snapshot. Price: 0.01 USDC. Snapshot presence does not establish current availability, access or water safety.

{"latitude":42.07,"longitude":-88.36,"radius_km":50,"limit":10,"service":"dump"}

The derived public dataset remains free under ODbL 1.0. Attribution: © OpenStreetMap contributors; FillPoint RV / Sonic Team West LLC. Source and attribution.

Solar sizing arithmetic

size_solar estimates daily energy, panel count and battery capacity from inputs you supply. Price: 0.02 USDC. It does not supply weather data, an electrical design, NEC compliance or installation advice.

{"loads":[{"watts":100,"hours_per_day":5,"quantity":1,"kind":"dc"}],"peak_sun_hours":4,"pv_loss_fraction":0.2,"panel_watts":200,"battery":{"voltage":12,"usable_fraction":0.8,"autonomy_days":2}}

Use OpenAPI for exact HTTP routes and schemas, or get_service_info for grouped MCP discovery. The existing shared trial may apply; a plain unpaid request never authorizes payment.

A 30-second integration

Examples use placeholders. Plain requests to paid tools return a payment challenge, not a paid result. Free Lint can perform an unpaid public probe. Inspect the response status and evidence scope before using any result.

curl

curl -i https://api.spendpreflight.com/v1/endpoint \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://api.example.com/data"}'

MCP

Connect to https://api.spendpreflight.com/mcp. Call the existing tool:

{
  "name": "check_endpoint",
  "arguments": {
    "url": "https://api.example.com/data"
  }
}

SDK / JavaScript

Use standard fetch alongside the SpendPreflight SDK; the example does not invent a dedicated exported method.

// Node.js SDK integration: use your explicitly budgeted fetch.
// Plain fetch below never signs or pays. There is no dedicated
// spendpreflight SDK helper for this operation.
const response = await fetch('https://api.spendpreflight.com/v1/endpoint', {
  method: 'POST', headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({"url":"https://api.example.com/data"})
});
console.log(response.status, await response.text());

Frequently asked questions

Can I reuse the station dataset?

The complete derived public projection is free under ODbL with attribution and source links. Charges buy proximity computation, not exclusive dataset access.

Which other MCP tools are available?

find_rv_stations accepts coordinates and bounded radius; size_solar accepts explicit loads and solar assumptions. Inspect the live OpenAPI and MCP metadata for current schemas.

Related tools

ERC-8478 Payee Verification (Draft) · Free OFAC Address Check · Payee Screening

Authoritative OpenAPI schemas · What this service stores · Practical guides