# Site Climate - Climate Comparison by Coordinates

> Site Climate - Climate Comparison by Coordinates is a paid API for AI agents from site-climate.x402tookit.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-21).

Compare climate metrics side by side for two geographic locations, including temperature, rainfall, sunshine, wind, humidity, and Köppen classification.

## Facts

- Endpoint: GET https://site-climate.x402tookit.com/climate-compare?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/site-climate-climate-comparison-by-coordinates-061a8f6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yEyxSyK-sVtY02KK4pdI2

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 site-climate-climate-comparison-by-coordinates-061a8f6a
```

Example prompt: Compare the climate side by side for London (51.5074, -0.1278) and Barcelona (41.3851, 2.1734) — I want to see temperature, rainfall, sunshine hours, humidity, wind, and their Köppen classes.

## When to prefer this

Use this endpoint when you need a direct, structured side-by-side comparison of climate conditions between exactly two geographic points. It is ideal for relocation decisions, travel planning, site selection (solar, agricultural, real estate), or any scenario requiring simultaneous multi-metric climate contrast. Prefer this over single-location endpoints when comparative analysis (warmer/wetter/sunnier) is needed in one call.

## Known failure modes

- Invalid or out-of-range coordinates return null values for climate fields
- Coordinates in ocean or uninhabited areas may return partial or null data
- Missing required query parameters (lat1, lon1, lat2, lon2) result in a request error
- Identical coordinates for both locations return identical metrics with no meaningful comparison
- Network timeout or upstream data source unavailability may return an error response

## How this service works

Compare the climate of two places by coordinates: temperature, rainfall, sunshine, wind, humidity and Koppen class side by side.

## Output

Returns a structured JSON object with climate metrics for both locations (mean temperature, coldest/warmest month, annual rainfall, peak sun hours, wind speed, humidity, elevation, and Köppen class), plus a natural-language summary, a list of reasons explaining the comparison, and binary indicators of which location is warmer, wetter, and sunnier. An 'asOf' timestamp and data source are also included.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat1",
      "lon1",
      "lat2",
      "lon2"
     ],
     "properties": {
      "lat1": {
       "type": "number",
       "description": "First place latitude"
      },
      "lat2": {
       "type": "number",
       "description": "Second place latitude"
      },
      "lon1": {
       "type": "number",
       "description": "First place longitude"
      },
      "lon2": {
       "type": "number",
       "description": "Second place longitude"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "first": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "koppen": {
         "type": [
          "null",
          "string"
         ]
        },
        "latitude": {
         "type": [
          "null",
          "number"
         ]
        },
        "longitude": {
         "type": [
          "null",
          "number"
         ]
        },
        "meanTempC": {
         "type": [
          "null",
          "number"
         ]
        },
        "windMs10m": {
         "type": [
          "null",
          "number"
         ]
        },
        "elevationM": {
         "type": [
          "null",
          "number"
         ]
        },
        "rainfallMm": {
         "type": [
          "null",
          "number"
         ]
        },
        "humidityPct": {
         "type": [
          "null",
          "number"
         ]
        },
        "peakSunHours": {
         "type": [
          "null",
          "number"
         ]
        },
        "coldestMonthC": {
         "type": [
          "null",
          "number"
         ]
        },
        "warmestMonthC": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "second": {
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/site-climate-climate-comparison-by-coordinates-061a8f6a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from site-climate.x402tookit.com](https://www.zero.xyz/host/site-climate.x402tookit.com/llms.txt)
