33trust / 100

Weather Brief

by Weather Brief US+CA in Weather & location

x402 APIFailing, checked 14 h ago

Weather for US and Canadian places in one call: current conditions, next 24 h, ~7-day forecast and active alerts (alert text unaltered). Sources: US National Weather Service and Environment and Climate Change Canada. $0.002 USDC. US and Canada only. Bare GET = Halifax; or ?place=City, ST or ?lat=&lon=.

GET
https://x402-public-data.loudtzu.workers.dev/weather/brief
Price
$0.002
per call in USDC
Uptime
33.3%
last 30 days
Response time
27 ms
27 ms slowest 5%
Last check
Failed
14 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 14 h ago: Timed out

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

How to call it

GET https://x402-public-data.loudtzu.workers.dev/weather/brief

Each call costs $0.002 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://x402-public-data.loudtzu.workers.dev/weather/brief?place=Halifax

Parameters

ParameterTypeRequiredDescription
latnumberNoLatitude in decimal degrees, -90 to 90 (use with lon, instead of place).
lonnumberNoLongitude in decimal degrees, -180 to 180 (use with lat).
placestringNoCity name from our US/Canada list (population 50,000+), optionally "City, ST" or "City, Province". Default Halifax.

Example response

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

Example response, 56 lines
{
  "alerts": [],
  "asOf": "2026-11-26T08:00:00Z",
  "attribution": [
    "Data Source: Environment and Climate Change Canada",
    "Place names: GeoNames (geonames.org), CC BY 4.0"
  ],
  "charged": true,
  "daily": [
    {
      "period": "Thursday night",
      "summary": "Increasing cloudiness. Periods of rain beginning before morning. Wind becoming southeast 20 km/h gusting to 40 overnight. Low minus 4 with temperature rising to 6 by morning. Wind chill minus 6 in the evening."
    },
    {
      "period": "Friday",
      "summary": "Rain. High 10."
    }
  ],
  "disclaimer": "Informational. Not an official warning service; check weather.gc.ca or weather.gov for official alerts. Alert text is passed through unaltered.",
  "method": "https://x402-public-data.loudtzu.workers.dev/methodology",
  "next24h": [
    {
      "period": "Tonight",
      "summary": "Clear. Wind up to 15 km/h. Low minus 5. Wind chill minus 7 overnight."
    },
    {
      "period": "Thursday",
      "summary": "Sunny. Wind up to 15 km/h. High plus 5. Wind chill minus 5 in the morning. UV index 1 or low."
    }
  ],
  "now": {
    "condition": "Clear",
    "humidityPct": 81,
    "observedAt": "2026-11-26T08:00:00Z",
    "tempC": -3.5,
    "windKmh": 5
  },
  "place": {
    "lat": 44.6427,
    "lon": -63.5769,
    "name": "Halifax",
    "officialPage": "https://weather.gc.ca/en/location/index.html?coords=44.65,-63.6",
    "provider": "ECCC",
    "region": "Nova Scotia, CA",
    "siteDistanceKm": 2,
    "siteName": "Halifax",
    "stationId": "ns-19"
  },
  "sources": [
    {
      "licence": "ECCC Data Servers End-use Licence (commercial use allowed with attribution)",
      "name": "Environment and Climate Change Canada (MSC GeoMet citypageweather)",
      "url": "https://api.weather.gc.ca/"
    }
  ]
}

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.002.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://x402-public-data.loudtzu.workers.dev/weather/brief?place=Halifax'

# 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://x402-public-data.loudtzu.workers.dev/weather/brief?place=Halifax' \
  | 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.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
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.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402-public-data.loudtzu.workers.dev%2Fweather%2Fbrief
const res = await pay("https://x402-public-data.loudtzu.workers.dev/weather/brief?place=Halifax");
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.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://x402-public-data.loudtzu.workers.dev/weather/brief?place=Halifax")
    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
14 h agoTimed out---
3 days agoTimed out---
4 days agoPassed40227 ms$0.002