82trust / 100

Weather

by Wallets Demo Weather in Weather & location

x402 APIPassing, checked 2 h ago

Real-time current weather conditions for a city or location, including temperature, humidity, precipitation, wind, and a human-readable condition.

GET https://wallets-demo-seller-server.calebgcarithers.workers.dev/weather

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://wallets-demo-seller-server.calebgcarithers.workers.dev/weather?location=San+Francisco"
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:84532",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwallets-demo-seller-server.calebgcarithers.workers.dev%2Fweather
const res = await pay("https://wallets-demo-seller-server.calebgcarithers.workers.dev/weather?location=San+Francisco");
console.log(await res.json());

Example input

{
  "location": "San Francisco"
}

Example output

{
  "current": {
    "apparentTemperatureC": 17.4,
    "condition": "partly cloudy",
    "precipitationMm": 0,
    "relativeHumidity": 72,
    "temperatureC": 18.2,
    "time": "2026-06-29T10:45",
    "weatherCode": 2,
    "windDirectionDegrees": 260,
    "windSpeedKmh": 13.1
  },
  "fetchedAt": "2026-06-29T18:02:00.000Z",
  "location": {
    "admin1": "California",
    "country": "United States",
    "countryCode": "US",
    "latitude": 37.77493,
    "longitude": -122.41942,
    "name": "San Francisco",
    "timezone": "America/Los_Angeles"
  },
  "source": "open-meteo"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402590 ms$0.001