Skip to content
onelayer.
All tools

Tool detail

Current Weather

Returns current temperature, humidity, wind speed, and weather code for a latitude/longitude, or hourly history when a date range is added.

Categories: Weather environment

Use when

  • get current weather conditions at a coordinate
  • backtest a weather-sensitive strategy with historical hourly data for a location

Not for

  • declared schema lists only lat/lon - docs mention start_date/end_date but the schema disallows extra fields
  • not for named locations - latitude/longitude coordinates only, no geocoding

Inputs

GET query params: lat, lon (strings, required); docs also describe optional start_date/end_date (YYYY-MM-DD) for history, not present in the declared schema.

Admitted input schema

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "lon": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    }
  },
  "required": [
    "lat",
    "lon"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://x402.shizu.me/weather

Payment

Protocol
x402
Listed price
0.004 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://x402.shizu.me/weather
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z