# ForgeMesh Historical Weather by Coordinates

> ForgeMesh Historical Weather by Coordinates is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns daily high/low temperature and total precipitation for a given latitude/longitude and date range, covering any past dates back to 1940.

## Facts

- Endpoint: POST https://x402.forgemesh.io/past-weather-by-date
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-historical-weather-by-coordinates-78450da8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_flBdl1u_AZ4GdXxhHZlGx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability forgemesh-historical-weather-by-coordinates-78450da8 -d '<json body>'
```

Example prompt: Pull the daily high/low temperatures and total precipitation for Houston (29.76, -95.36) for every day from January 1, 2020 to December 31, 2020 — I need it for a crop yield backtesting model.

## When to prefer this

Choose this endpoint when you need structured historical daily weather data (temperature highs/lows and precipitation) for any worldwide coordinate going back to 1940, especially for quantitative use cases like backtesting, agricultural analysis, insurance risk modeling, or research workflows that require machine-readable JSON output.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns an error
- Date before 1940 may return no data or an error
- start_date after end_date causes a validation error
- Malformed date strings (non YYYY-MM-DD format) cause parsing errors
- Very large date ranges may time out or return partial data

## How this service works

Historical weather API by coordinates and date range: daily high/low temperature and total precipitation for any past date range at any latitude/longitude worldwide, back to 1940. Structured JSON for backtesting, insurance, agriculture, and research agents.

## Output

Structured JSON containing daily weather records for the requested coordinate and date range, including daily high temperature, daily low temperature, and total precipitation for each day from start_date to end_date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "end_date": {
   "type": "string",
   "description": "End date, YYYY-MM-DD, e.g. 2026-06-05"
  },
  "latitude": {
   "type": "string",
   "description": "Latitude, e.g. 29.76"
  },
  "longitude": {
   "type": "string",
   "description": "Longitude, e.g. -95.36"
  },
  "start_date": {
   "type": "string",
   "description": "Start date, YYYY-MM-DD, e.g. 2026-06-01"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "daily": {
    "time": [
     "2026-06-01",
     "2026-06-02"
    ],
    "precipitation_sum": [
     0.2,
     0
    ],
    "temperature_2m_max": [
     22.4,
     25.5
    ],
    "temperature_2m_min": [
     13.7,
     10.8
    ]
   },
   "daily_units": {
    "precipitation_sum": "mm",
    "temperature_2m_max": "°C",
    "temperature_2m_min": "°C"
   }
  },
  "attribution": "Open-Meteo.com (CC BY 4.0), ERA5 reanalysis"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-historical-weather-by-coordinates-78450da8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
