# Saylor Innovations Historical Weather API

> Saylor Innovations Historical Weather API is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Returns historical weather statistics for a geographic location and date range, including average highs/lows, precipitation, snowfall, wind, and notable extreme days since 1940

## Facts

- Endpoint: GET https://saylorinnovations.com/api/weather/history?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-historical-weather-api-e4cafb97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C7HUHfw3-NgnrjAGRit07

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 saylor-innovations-historical-weather-api-e4cafb97
```

Example prompt: What was the weather like in Miami from January 1 to March 31, 2023 — average highs and lows, total rainfall, and which day was the hottest?

## When to prefer this

Choose this endpoint when you need historical weather statistics (averages, extremes, precipitation totals) for any geographic coordinate over a custom date range going back to 1940. It is ideal for travel research, climate analysis, agricultural planning, or legal/insurance documentation. Prefer it over forecast APIs when the dates are in the past, and over general climate databases when you need daily granularity alongside summary statistics in a single API call.

## Known failure modes

- Date range exceeds 366 days — query must be limited to one year at a time
- End date must be at least two days in the past — future or very recent dates will fail
- Start date before 1940 — data is not available before 1940
- Invalid latitude or longitude — must be valid decimal degree values
- Location over open ocean or polar region with no weather station coverage may return null or sparse data
- Payment not processed — x402 payment of $0.01 USDC required per call

## How this service works

Historical weather for a location and date range - average highs and lows, precipitation, snowfall, wind, hottest and wettest days since 1940

## Output

A JSON object with a summary section containing average high, average low, average mean temperatures in Celsius, total precipitation in mm, total snowfall in cm, number of wet days, and the hottest, coldest, wettest, and windiest days. Also includes monthly breakdowns, optional daily values, the location the data refers to, and the underlying data source.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon",
      "start",
      "end"
     ],
     "properties": {
      "end": {
       "type": "string",
       "description": "end date YYYY-MM-DD, at least two days ago, within 366 days of start"
      },
      "lat": {
       "type": "string",
       "description": "Latitude in decimal degrees, e.g. 40.71"
      },
      "lon": {
       "type": "string",
       "description": "Longitude in decimal degrees, e.g. -74.01"
      },
      "start": {
       "type": "string",
       "description": "start date YYYY-MM-DD (1940 or later)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "summary"
     ],
     "properties": {
      "end": {
       "type": "string"
      },
      "daily": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object"
       },
       "description": "Daily values"
      },
      "start": {
       "type": "string"
      },
      "source": {
       "type": [
        "string",
        "null"
       ],
       "description": "Data source the values come from"
      },
      "monthly": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "description": "Monthly values"
      },
      "summary": {
       "type": "object",
       "properties": {
        "days": {
         "type": "number",
         "description": "Number of days"
        },
        "coldest": {
         "type": "object"
        },
        "hottest": {
         "type": "object"
        },
        "wettest": {},
        "wet_days": {
         "type": "number",
         "description": "Wet days"
        },
        "windiest": {},
        "avg_low_c": {
         "type": "number",
         "description": "Avg low, in degrees Celsius"
        },
        "avg_hig
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-historical-weather-api-e4cafb97/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
