---
title: "Weather — Current & Historical ($0.004/call)"
method: GET
path: "/weather"
tags: ["weather", "forecast", "temperature", "meteorology", "geolocation", "historical-weather", "backtesting", "time-series"]
---

# Weather — Current & Historical ($0.004/call)

`GET /weather`

## Request

- Base URL: `https://x402.shizu.me`
- URL: `https://x402.shizu.me/weather`
- Auth: none declared

Weather for any coordinate. Current (default): temperature (C), relative humidity (%), wind speed, weather code — real-time. Historical: add start_date & end_date (YYYY-MM-DD, up to 92 days per call, archive lags ~5 days) for hourly history — backtest weather-sensitive strategies (energy, agriculture, logistics). Inputs: lat, lon, start_date?, end_date?. Keyless (Open-Meteo).

Paid endpoint: $0.004 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.

## Query parameters

- `lat` string
- `lon` string

## Response `200`

Paid result (JSON)

## Other responses

- `402`: Payment required — x402 requirements in the PAYMENT-REQUIRED response header

---

[API](https://skmtc.dev/shizu/apis/scrape402.md) · [All operations](https://skmtc.dev/shizu/apis/scrape402/llms.txt) · [OpenAPI document](https://skmtc.dev/shizu/apis/scrape402/revisions/0852d74798b8?raw)
