Weather forecast and alerts: give a latitude and longitude in the US, get the 7-day for…
Weather forecast and alerts: give a latitude and longitude in the US, get the 7-day forecast (temperature, rain chance, wind) and any active weather alerts from the National Weather Service.
by data.tollkit.dev · discovered, not yet claimed by its owner · updated 2026-10-11
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Weather forecast and alerts: give a latitude and longitude in the US, get the 7-day forecast (temperature, rain chance, wind) and any active weather alerts from the National Weather Service.
Tags: weather · forecast · alerts · temperature · rain · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-11
{
"lat": 38.9784,
"lon": -76.4922
}{
"alerts": [],
"forecast": [
{
"detail": "A chance of rain showers. Cloudy, with a low around 61. Northeast wind around 7 mph. Chance of precipitation is 40%. New rainfall amounts less than a tenth of an inch possible.",
"end": "2026-10-04T06:00:00-04:00",
"is_daytime": false,
"name": "Overnight",
"precipitation_chance": 35,
"start": "2026-10-04T03:00:00-04:00",
"summary": "Chance Rain Showers",
"temperature": 61,
"temperature_unit": "F",
"wind": "7 mph",
"wind_direction": "NE"
},
{
"detail": "Rain showers likely before 5pm. Cloudy, with a high near 67. Northeast wind around 9 mph. Chance of precipitation is 70%. New rainfall amounts less than a tenth of an inch possible.",
"end": "2026-10-04T18:00:00-04:00",
"is_daytime": true,
"name": "Sunday",
"precipitation_chance": 68,
"start": "2026-10-04T06:00:00-04:00",
"summary": "Rain Showers Likely",
"temperature": 67,
"temperature_unit": "F",
"wind": "9 mph",
"wind_direction": "NE"
}
],
"forecast_updated": "2026-10-04T06:22:51+00:00",
"location": {
"city": "Annapolis",
"lat": 38.9784,
"lon": -76.4922,
"office": "LWX",
"state": "MD",
"time_zone": "America/New_York"
},
"source": "U.S. National Weather Service (api.weather.gov). Not endorsed by NWS."
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/35770.jsonfor the price and payment options. - Pay. Call
GET https://data.tollkit.dev/weather. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 11 calls · 6 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0xBbfCE2D320dE6aB328Ba93A771c531ebFC9cE704 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.002 | HBasGEGD1szEkNCWckRoZg2vZGhzt7yLSixLgSHi3gYf | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xBbfCE2D320dE6aB328Ba93A771c531ebFC9cE704",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "HBasGEGD1szEkNCWckRoZg2vZGhzt7yLSixLgSHi3gYf",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"alerts": {
"items": {
"properties": {
"event": {
"type": "string"
},
"expires": {
"type": "string"
},
"headline": {
"type": [
"string",
"null"
]
},
"severity": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"forecast": {
"items": {
"properties": {
"detail": {
"type": "string"
},
"end": {
"type": "string"
},
"name": {
"type": "string"
},
"precipitation_chance": {
"type": [
"number",
"null"
]
},
"start": {
"type": "string"
},
"summary": {
"type": "string"
},
"temperature": {
"type": "number"
},
"temperature_unit": {
"type": "string"
},
"wind": {
"type": "string"
},
"wind_direction": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"forecast_updated": {
"type": [
"string",
"null"
]
},
"geocoded": {
"description": "Present when you sent an address: what the Census geocoder matched it to.",
"properties": {
"input": {
"type": "string"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"matched_address": {
"type": "string"
},
"notice": {
"type": "string"
}
},
"type": "object"
},
"location": {
"properties": {
"city": {
"type": [
"string",
"null"
]
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"state": {
"type": [
"string",
"null"
]
},
"time_zone": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"source": {
"type": "string"
}
},
"required": [
"location",
"forecast",
"alerts",
"source"
],
"type": "object"
}
},
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"alerts": [
{
"event": "string",
"expires": "string",
"headline": "string",
"severity": "string"
}
],
"forecast": [
{
"detail": "string",
"end": "string",
"name": "string",
"precipitation_chance": 0,
"start": "string",
"summary": "string",
"temperature": 0,
"temperature_unit": "string",
"wind": "string",
"wind_direction": "string"
}
],
"forecast_updated": "string",
"geocoded": {
"input": "string",
"lat": 0,
"lon": 0,
"matched_address": "string",
"notice": "string"
},
"location": {
"city": "string",
"lat": 0,
"lon": 0,
"state": "string",
"time_zone": "string"
},
"source": "string"
}
}Examples
curl "https://data.tollkit.dev/weather"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://data.tollkit.dev/weather");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://data.tollkit.dev/weather")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- data.tollkit.dev
- Endpoint
- https://data.tollkit.dev/weather
- Machine-readable
/resources/35770.json