# Maxwell International Weather Observation API

> Maxwell International Weather Observation API is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-29).

Returns current weather observation data for a given weather station, including temperature, dew point, wind speed, wind direction, and barometric pressure.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/weather/observation?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-international-weather-observation-api-f8ebce61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aCjV7V7nAoFg__8L0Udoh

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 maxwell-international-weather-observation-api-f8ebce61
```

Example prompt: What are the current weather conditions at Denver International Airport — give me the temperature in both Celsius and Fahrenheit, wind speed, and dew point right now.

## When to prefer this

Choose this endpoint when you need real-time point-in-time weather observations from a specific named weather station (e.g. ICAO airport codes like KDEN), and you want structured numeric data including temperature, dew point, wind, and pressure rather than a forecast. Prefer this over forecast APIs when you need current actual conditions rather than predictions, and over general weather services when you want raw station-level observational data.

## Known failure modes

- Invalid or unknown station ID returns an error or empty observation
- Station data unavailable returns null fields for pressure or state
- Malformed query parameters may result in a 400 bad request
- Payment not included or insufficient triggers a 402 Payment Required response
- Network or upstream data source outage may return stale or missing data

## How this service works

Most recent NWS station observation (by stationId, or the station nearest a lat/lon): temperature, dewpoint, wind, humidity, pressure, conditions, with observedAt showing when it was measured. From the NWS (US and territories), cached and refreshed about every 3 hours; a location not yet cached answers 404, is not charged, and is queued.

## Output

Returns a JSON object with the observation SKU, station ID, station name, country, observed-at timestamp, temperature in Celsius and Fahrenheit, dew point in Celsius, wind speed in km/h, wind direction in degrees, and barometric pressure in Pascals. Some fields (state, barometricPressurePa) may be null.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": "weather.observation",
  "state": null,
  "tempC": 14,
  "tempF": 57.2,
  "country": "United States",
  "dewpointC": 11,
  "stationId": "KDEN",
  "observedAt": "2026-09-26T03:40:00+00:00",
  "stationName": "Denver, Denver International Airport",
  "windSpeedKmh": 11.124,
  "windDirection": 190,
  "barometricPressurePa": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-international-weather-observation-api-f8ebce61/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
