# Quant Agent Shop Weather Forecast

> Quant Agent Shop Weather Forecast is a paid API for AI agents from quantagentshop.com, paid per call via x402, $0.0013/call, status unknown (last checked 2026-10-23).

Returns current conditions, hourly forecast (up to 48 h), and daily forecast (up to 7 days) for a coordinate pair or city name, sourced from MET Norway

## Facts

- Endpoint: POST https://quantagentshop.com/v1/weather?utm_source=zero.xyz
- Price: $0.0013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quant-agent-shop-weather-forecast-e73c7051
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_76kbm13jDPv25cmVJk0pS

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 quant-agent-shop-weather-forecast-e73c7051 -d '<json body>'
```

Example prompt: What's the weather forecast for Rome over the next 5 days — give me the daily highs and lows, rain chances, and an hourly breakdown for the first 24 hours.

## When to prefer this

Choose this endpoint when you need fast, current or near-future weather data (up to 7 days) for any global coordinate or city, especially for travel, logistics, or event planning contexts. Prefer over generic weather APIs when MET Norway data quality and sub-second latency matter. Not suitable for historical weather queries or official severe-weather warnings.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns an error
- Neither city nor lat/lon provided results in a validation error
- Unknown or misspelled city name may return a not-found error
- Upstream MET Norway outage may cause a service-unavailable response
- Requesting more than 7 days or more than 48 hours returns a validation error

## How this service works

Weather forecast for coordinates or a city name: current temperature, humidity, wind, cloud, pressure and conditions, an hourly forecast up to 48 hours, and daily highs, lows and rain up to 7 days. Data from MET Norway. Use for travel, event or logistics planning. Not for past weather or official warnings. Times in UTC. Typical response under 1 s. Failed calls are not charged.

## Output

A JSON object containing: current conditions (temperature, humidity, wind speed and direction, cloud cover, pressure, weather description), an hourly array for up to 48 hours, and a daily array for up to 7 days with high, low, and rain probability. All times are in UTC.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "lat": {
       "anyOf": [
        {
         "type": "number",
         "maximum": 90,
         "minimum": -90
        },
        {
         "type": "null"
        }
       ],
       "title": "Lat",
       "default": null,
       "description": "Latitude; send with lon, or send city."
      },
      "lon": {
       "anyOf": [
        {
         "type": "number",
         "maximum": 180,
         "minimum": -180
        },
        {
         "type": "null"
        }
       ],
       "title": "Lon",
       "default": null,
       "description": "Longitude."
      },
      "city": {
       "anyOf": [
        {
         "type": "string",
         "maxLength": 100,
         "minLength": 2
        },
        {
         "type": "null"
        }
       ],
       "title": "City",
       "default": null,
       "description": "City name, such as Singapore."
      },
      "days": {
       "type": "integer",
       "title": "Days",
       "default": 3,
       "maximum": 7,
       "minimum": 0,
       "description": "Days of daily forecast."
      },
      "hours": {
       "type": "integer",
       "title": "Hours",
       "default": 24,
       "maximum": 48,
       "minimum": 1,
       "description": "Hours of hourly forecast."
      },
      "country": {
       "anyOf": [
        {
         "type": "string",
         "pattern": "^[A-Z]{2}$"
        },
        {
         "type": "null"
        }
       ],
       "title": "Country",
       "default": null,
       "description": "Optional country code for the city, such as SG."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quant-agent-shop-weather-forecast-e73c7051/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quantagentshop.com](https://www.zero.xyz/host/quantagentshop.com/llms.txt)
