Skip to content
Fourohtwo

Pay per call, solves one question

api.agentweather.io/v1/x402/envelope

Pay per call, solves one question: What payment terms does this URL advertise in its x402 response? The raw x402 payment-required fields (header and/or JSON body) a URL advertises to one anonymous GET, as received, with source and observed_at. Never pays or signs anything. Public http(s) URLs only;…

BaseXRP LedgerAnswering
GEThttps://api.agentweather.io/v1/x402/envelope

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.agentweather.io/v1/x402/envelope?url=https%3A%2F%2Fapi.agentweather.io%2Fv1%2Fpulse%2Fstorm");
console.log(await res.json());

Example input

{
  "url": "https://api.agentweather.io/v1/pulse/storm"
}

More from Agent WeatherProvider status