> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# City weather

> Weather now and the forecast for a Canadian city or a coordinate in Canada. For alerts beyond the city page use weather_alerts; for past weather use climate_daily.

## 请求规范

* **方法与路径:** POST /apis/v1/api-weather-gc-ca/weather/city-weather
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/city-weather`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/api-weather-gc-ca.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "api-weather-gc-ca.weather.city-weather",
  "method": "POST",
  "path": "/apis/v1/api-weather-gc-ca/weather/city-weather",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "city_id": "on-143"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "city_id": {
              "description": "ECCC city page id, province code plus number: on-143 Toronto, qc-147 Montreal, bc-74 Vancouver, ab-52 Calgary, ns-19 Halifax. Find ids with find_cities. Pattern: ^[A-Za-z]{2}-[0-9A-Za-z]+$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "include_hourly": {
              "description": "Include the hourly forecast (24 hours).",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "lang": {
              "default": "en",
              "description": "Language of names and texts: en (English) or fr (French). Numbers are the same in both.\n\nProvider reference: allowed values [\"en\", \"fr\"]; default \"en\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "en",
                  "fr"
                ]
              }
            },
            "lat": {
              "description": "Latitude in decimal degrees (Canada spans about 41 to 84). Give with lon.\n\nProvider reference: minimum -90; maximum 90.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 90,
                "min": -90
              }
            },
            "lon": {
              "description": "Longitude in decimal degrees, west negative (Canada spans about -142 to -52). Give with lat.\n\nProvider reference: minimum -180; maximum 180.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 180,
                "min": -180
              }
            },
            "query": {
              "description": "City or place name, English or French, accents optional (Toronto, Montreal, Quebec, St. John's).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/api-weather-gc-ca.json POST /apis/v1/api-weather-gc-ca/weather/city-weather
openapi: 3.1.0
info:
  description: ''
  title: >-
    Environment and Climate Change Canada weather and climate
    (api.weather.gc.ca)
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    api-weather-gc-ca:
      description: ''
      title: >-
        Environment and Climate Change Canada weather and climate
        (api.weather.gc.ca)
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 58f6d9d454da686b5dc2b006acb4a3b31635bceff7f38be29db4ea328604e6e6
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/api-weather-gc-ca/weather/air-quality
    - /apis/v1/api-weather-gc-ca/weather/city-weather
    - /apis/v1/api-weather-gc-ca/weather/climate-daily
    - /apis/v1/api-weather-gc-ca/weather/climate-monthly
    - /apis/v1/api-weather-gc-ca/weather/climate-normals
    - /apis/v1/api-weather-gc-ca/weather/climate-stations
    - /apis/v1/api-weather-gc-ca/weather/find-cities
    - /apis/v1/api-weather-gc-ca/weather/marine-forecast
    - /apis/v1/api-weather-gc-ca/weather/weather-alerts
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:2e11e5b9fb5e08b87c8c7ee3900176eea35e5d4d996c6ec1ac7eef34b111505d
    facts_hash: 58f6d9d454da686b5dc2b006acb4a3b31635bceff7f38be29db4ea328604e6e6
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: api-weather-gc-ca
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/api-weather-gc-ca/weather/city-weather:
    post:
      tags:
        - >-
          Environment and Climate Change Canada weather and climate
          (api.weather.gc.ca)
      summary: City weather
      description: >-
        Weather now and the forecast for a Canadian city or a coordinate in
        Canada. For alerts beyond the city page use weather_alerts; for past
        weather use climate_daily.
      operationId: api-weather-gc-ca.weather.city-weather
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  city_id: on-143
            schema:
              additionalProperties: true
              properties:
                city_id:
                  description: >-
                    ECCC city page id, province code plus number: on-143
                    Toronto, qc-147 Montreal, bc-74 Vancouver, ab-52 Calgary,
                    ns-19 Halifax. Find ids with find_cities. Pattern:
                    ^[A-Za-z]{2}-[0-9A-Za-z]+$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                include_hourly:
                  description: Include the hourly forecast (24 hours).
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
                lang:
                  default: en
                  description: >-
                    Language of names and texts: en (English) or fr (French).
                    Numbers are the same in both.


                    Provider reference: allowed values ["en", "fr"]; default
                    "en".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - en
                      - fr
                lat:
                  description: >-
                    Latitude in decimal degrees (Canada spans about 41 to 84).
                    Give with lon.


                    Provider reference: minimum -90; maximum 90.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 90
                    min: -90
                lon:
                  description: >-
                    Longitude in decimal degrees, west negative (Canada spans
                    about -142 to -52). Give with lat.


                    Provider reference: minimum -180; maximum 180.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 180
                    min: -180
                query:
                  description: >-
                    City or place name, English or French, accents optional
                    (Toronto, Montreal, Quebec, St. John's).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-25.
                  summary: Official provider example
                  value:
                    attribution: 'Data Source: Environment and Climate Change Canada'
                    city:
                      id: on-143
                      latitude: 43.65
                      longitude: -79.38
                      name: Toronto
                      province: 'ON'
                      region: City of Toronto
                      url: >-
                        https://weather.gc.ca/en/location/index.html?coords=43.65,-79.38
                    current:
                      condition: Mostly Cloudy
                      dewpoint_c: 6.5
                      humidex: null
                      icon_code: 3
                      observed_at: '2026-10-25T22:00:00Z'
                      pressure_change_kpa: 0.19
                      pressure_kpa: 102.9
                      pressure_tendency: falling
                      relative_humidity_pct: 55
                      station:
                        code: yyz
                        latitude: 43.68
                        longitude: -79.63
                        name: Toronto Pearson Int'l Airport
                      temperature_c: 15.6
                      visibility_km: null
                      wind_bearing_deg: 152
                      wind_chill: -3
                      wind_direction: SSE
                      wind_gust_kmh: 29
                      wind_speed_kmh: 9
                    distance_km: null
                    forecast_issued_at: '2026-10-25T19:30:00Z'
                    forecasts:
                      - cloud_precip: Partly cloudy.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 32
                        period: Tonight
                        period_label: Sunday night
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 95
                        short_summary: Partly cloudy
                        snow_level_summary: null
                        summary: Partly cloudy. Low 10.
                        temperature_c: 10
                        temperature_class: low
                        temperature_summary: Low 10.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                      - cloud_precip: >-
                          Increasing cloudiness early in the morning. 30 percent
                          chance of showers late in the morning and early
                          afternoon.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 6
                        period: Monday
                        period_label: Monday
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 50
                        short_summary: Chance of showers
                        snow_level_summary: null
                        summary: >-
                          Increasing cloudiness early in the morning. 30 percent
                          chance of showers late in the morning and early
                          afternoon. Wind becoming north 20 km/h gusting to 40
                          in the morning. High 16. UV index 3 or moderate.
                        temperature_c: 16
                        temperature_class: high
                        temperature_summary: High 16.
                        uv_category: moderate
                        uv_index: 3
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: >-
                          Wind becoming north 20 km/h gusting to 40 in the
                          morning.
                      - cloud_precip: Clearing in the evening.
                        frost_summary: risk of frost.
                        humidex_summary: null
                        icon_code: 35
                        period: Monday night
                        period_label: Monday night
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 65
                        short_summary: Clearing
                        snow_level_summary: null
                        summary: >-
                          Clearing in the evening. Wind north 20 km/h gusting to
                          40. Low plus 2 with risk of frost.
                        temperature_c: 2
                        temperature_class: low
                        temperature_summary: Low plus 2 with risk of frost.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: Wind north 20 km/h gusting to 40.
                      - cloud_precip: Sunny.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 0
                        period: Tuesday
                        period_label: Tuesday
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 60
                        short_summary: Sunny
                        snow_level_summary: null
                        summary: Sunny. High 11.
                        temperature_c: 11
                        temperature_class: high
                        temperature_summary: High 11.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                      - cloud_precip: Clear.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 30
                        period: Tuesday night
                        period_label: Tuesday night
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 95
                        short_summary: Clear
                        snow_level_summary: null
                        summary: Clear. Low plus 4.
                        temperature_c: 4
                        temperature_class: low
                        temperature_summary: Low plus 4.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                      - cloud_precip: A mix of sun and cloud.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 2
                        period: Wednesday
                        period_label: Wednesday
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 60
                        short_summary: A mix of sun and cloud
                        snow_level_summary: null
                        summary: A mix of sun and cloud. High 16.
                        temperature_c: 16
                        temperature_class: high
                        temperature_summary: High 16.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                      - cloud_precip: Cloudy periods.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 32
                        period: Wednesday night
                        period_label: Wednesday night
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 95
                        short_summary: Cloudy periods
                        snow_level_summary: null
                        summary: Cloudy periods. Low 8.
                        temperature_c: 8
                        temperature_class: low
                        temperature_summary: Low 8.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                      - cloud_precip: >-
                          A mix of sun and cloud with 30 percent chance of
                          showers.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 6
                        period: Thursday
                        period_label: Thursday
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 65
                        short_summary: Chance of showers
                        snow_level_summary: null
                        summary: >-
                          A mix of sun and cloud with 30 percent chance of
                          showers. High 19.
                        temperature_c: 19
                        temperature_class: high
                        temperature_summary: High 19.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                      - cloud_precip: Cloudy with 30 percent chance of showers.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 12
                        period: Thursday night
                        period_label: Thursday night
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 100
                        short_summary: Chance of showers
                        snow_level_summary: null
                        summary: Cloudy with 30 percent chance of showers. Low 10.
                        temperature_c: 10
                        temperature_class: low
                        temperature_summary: Low 10.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                      - cloud_precip: Cloudy.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 10
                        period: Friday
                        period_label: Friday
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 70
                        short_summary: Cloudy
                        snow_level_summary: null
                        summary: Cloudy. High 16.
                        temperature_c: 16
                        temperature_class: high
                        temperature_summary: High 16.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                      - cloud_precip: Cloudy.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 10
                        period: Friday night
                        period_label: Friday night
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 100
                        short_summary: Cloudy
                        snow_level_summary: null
                        summary: Cloudy. Low 9.
                        temperature_c: 9
                        temperature_class: low
                        temperature_summary: Low 9.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                      - cloud_precip: Cloudy.
                        frost_summary: null
                        humidex_summary: null
                        icon_code: 10
                        period: Saturday
                        period_label: Saturday
                        precipitation_accumulation: null
                        precipitation_summary: null
                        relative_humidity_pct: 80
                        short_summary: Cloudy
                        snow_level_summary: null
                        summary: Cloudy. High 15.
                        temperature_c: 15
                        temperature_class: high
                        temperature_summary: High 15.
                        uv_category: null
                        uv_index: null
                        visibility_summary: null
                        wind_chill_summary: null
                        wind_summary: null
                    hourly:
                      - condition: Partly cloudy
                        humidex: null
                        icon_code: 32
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 15
                        time: '2026-10-25T23:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: Partly cloudy
                        humidex: null
                        icon_code: 32
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 14
                        time: '2026-10-26T00:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: Partly cloudy
                        humidex: null
                        icon_code: 32
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 14
                        time: '2026-10-26T01:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: Partly cloudy
                        humidex: null
                        icon_code: 32
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 14
                        time: '2026-10-26T02:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: Partly cloudy
                        humidex: null
                        icon_code: 32
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 14
                        time: '2026-10-26T03:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: A few clouds
                        humidex: null
                        icon_code: 31
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 13
                        time: '2026-10-26T04:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: A few clouds
                        humidex: null
                        icon_code: 31
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 12
                        time: '2026-10-26T05:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: A few clouds
                        humidex: null
                        icon_code: 31
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 11
                        time: '2026-10-26T06:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: A few clouds
                        humidex: null
                        icon_code: 31
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 11
                        time: '2026-10-26T07:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: A few clouds
                        humidex: null
                        icon_code: 31
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 10
                        time: '2026-10-26T08:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: A few clouds
                        humidex: null
                        icon_code: 31
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 10
                        time: '2026-10-26T09:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: A few clouds
                        humidex: null
                        icon_code: 31
                        precip_category: Low
                        precip_probability_pct: 20
                        temperature_c: 10
                        time: '2026-10-26T10:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: A few clouds
                        humidex: null
                        icon_code: 31
                        precip_category: Low
                        precip_probability_pct: 20
                        temperature_c: 10
                        time: '2026-10-26T11:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: VR
                        wind_gust_kmh: null
                        wind_speed_kmh: 5
                      - condition: A mix of sun and cloud
                        humidex: null
                        icon_code: 2
                        precip_category: Low
                        precip_probability_pct: 20
                        temperature_c: 10
                        time: '2026-10-26T12:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: NW
                        wind_gust_kmh: null
                        wind_speed_kmh: 20
                      - condition: A mix of sun and cloud
                        humidex: null
                        icon_code: 2
                        precip_category: Low
                        precip_probability_pct: 20
                        temperature_c: 11
                        time: '2026-10-26T13:00:00Z'
                        uv_index: 1
                        wind_chill: null
                        wind_direction: NW
                        wind_gust_kmh: null
                        wind_speed_kmh: 20
                      - condition: Chance of showers
                        humidex: null
                        icon_code: 6
                        precip_category: Low
                        precip_probability_pct: 30
                        temperature_c: 12
                        time: '2026-10-26T14:00:00Z'
                        uv_index: 2
                        wind_chill: null
                        wind_direction: NW
                        wind_gust_kmh: null
                        wind_speed_kmh: 20
                      - condition: Chance of showers
                        humidex: null
                        icon_code: 6
                        precip_category: Low
                        precip_probability_pct: 30
                        temperature_c: 13
                        time: '2026-10-26T15:00:00Z'
                        uv_index: 3
                        wind_chill: null
                        wind_direction: NW
                        wind_gust_kmh: null
                        wind_speed_kmh: 20
                      - condition: Chance of showers
                        humidex: null
                        icon_code: 6
                        precip_category: Low
                        precip_probability_pct: 30
                        temperature_c: 14
                        time: '2026-10-26T16:00:00Z'
                        uv_index: 3
                        wind_chill: null
                        wind_direction: NW
                        wind_gust_kmh: null
                        wind_speed_kmh: 20
                      - condition: Chance of showers
                        humidex: null
                        icon_code: 6
                        precip_category: Low
                        precip_probability_pct: 30
                        temperature_c: 15
                        time: '2026-10-26T17:00:00Z'
                        uv_index: 3
                        wind_chill: null
                        wind_direction: NW
                        wind_gust_kmh: null
                        wind_speed_kmh: 20
                      - condition: Chance of showers
                        humidex: null
                        icon_code: 6
                        precip_category: Low
                        precip_probability_pct: 30
                        temperature_c: 16
                        time: '2026-10-26T18:00:00Z'
                        uv_index: 2
                        wind_chill: null
                        wind_direction: NW
                        wind_gust_kmh: null
                        wind_speed_kmh: 20
                      - condition: Mainly cloudy
                        humidex: null
                        icon_code: 3
                        precip_category: Low
                        precip_probability_pct: 20
                        temperature_c: 15
                        time: '2026-10-26T19:00:00Z'
                        uv_index: 1
                        wind_chill: null
                        wind_direction: 'N'
                        wind_gust_kmh: 40
                        wind_speed_kmh: 20
                      - condition: Mainly cloudy
                        humidex: null
                        icon_code: 3
                        precip_category: Low
                        precip_probability_pct: 20
                        temperature_c: 15
                        time: '2026-10-26T20:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: 'N'
                        wind_gust_kmh: 40
                        wind_speed_kmh: 20
                      - condition: Mainly cloudy
                        humidex: null
                        icon_code: 3
                        precip_category: Low
                        precip_probability_pct: 20
                        temperature_c: 14
                        time: '2026-10-26T21:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: 'N'
                        wind_gust_kmh: 40
                        wind_speed_kmh: 20
                      - condition: Mainly cloudy
                        humidex: null
                        icon_code: 33
                        precip_category: Low
                        precip_probability_pct: 10
                        temperature_c: 13
                        time: '2026-10-26T22:00:00Z'
                        uv_index: null
                        wind_chill: null
                        wind_direction: 'N'
                        wind_gust_kmh: 40
                        wind_speed_kmh: 20
                    hourly_issued_at: '2026-10-25T15:30:00Z'
                    lang: en
                    last_updated: '2026-10-25T22:01:13Z'
                    licence_url: https://eccc-msc.github.io/open-data/licence/readme_en/
                    matched_by: city_id
                    observed_at_ms: 1792969236960
                    regional_normals:
                      high_c: 11
                      low_c: 4
                      summary: Low plus 4. High 11.
                    source_url: >-
                      https://api.weather.gc.ca/collections/citypageweather-realtime/items/on-143?f=json
                    sunrise: '2026-10-25T11:44:00Z'
                    sunset: '2026-10-25T22:19:00Z'
                    warnings: []
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Current conditions, the 6-to-7-day public forecast, the 24-hour
            hourly forecast, active warnings, regional normals and
            sunrise/sunset for one ECCC city forecast location (the data behind
            weather.gc.ca/en/location and the city pages), in English or French.
            Choose the location by city_id, by lat/lon (nearest of the ~840 ECCC
            forecast locations) or by name query (best match: exact name,
            prefix, contains, then region). An unknown city_id is not_found.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `attribution` | string | Attribution the ECCC Data Servers End-use
            Licence requires when the data is republished. |

            | `city` | object |  |

            | `current` | object | Latest hourly observation; null when the page
            has none. |

            | `distance_km` | number | Distance from lat/lon to the city
            location; null otherwise. |

            | `forecast_issued_at` | string |  |

            | `forecasts` | object[] | Forecast periods in order (day and
            night). |

            | `hourly` | object[] | Hourly forecast; empty when include_hourly
            is false. |

            | `hourly_issued_at` | string |  |

            | `lang` | string | Language of the texts. |

            | `last_updated` | string |  |

            | `licence_url` | string | The ECCC Data Servers End-use Licence. |

            | `matched_by` | string |  |

            | `observed_at_ms` | number | When this program read the source,
            epoch milliseconds. |

            | `regional_normals` | object | Normal high and low for the date. |

            | `source_url` | string | The api.weather.gc.ca request this answer
            was read from. |

            | `sunrise` | string |  |

            | `sunset` | string |  |

            | `warnings` | object[] | Warnings, watches and statements in effect
            for the location; empty when none. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.