> ## 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

# Climate monthly

> Month-by-month climate history of a station, e.g. July rainfall by year.

## Request contract

* **Method and path:** POST /apis/v1/api-weather-gc-ca/weather/climate-monthly
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/climate-monthly`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/api-weather-gc-ca.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "api-weather-gc-ca.weather.climate-monthly",
  "method": "POST",
  "path": "/apis/v1/api-weather-gc-ca/weather/climate-monthly",
  "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": {
              "climate_id": "6158355",
              "end": "2004-12",
              "start": "2004-01"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "climate_id": {
              "description": "ECCC Climate ID of a climate station (7 characters, e.g. 6158355 TORONTO CITY, 6158350 TORONTO, 1108447 VANCOUVER INTL A). Find ids with climate_stations. Pattern: ^[0-9A-Za-z]+$.",
              "type": "string"
            },
            "end": {
              "description": "Last month, YYYY-MM. Pattern: ^[0-9]{4}-[0-9]{2}$.",
              "type": "string",
              "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"
                ]
              }
            },
            "start": {
              "description": "First month, YYYY-MM. Pattern: ^[0-9]{4}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "required": [
            "climate_id"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/api-weather-gc-ca.json POST /apis/v1/api-weather-gc-ca/weather/climate-monthly
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/climate-monthly:
    post:
      tags:
        - >-
          Environment and Climate Change Canada weather and climate
          (api.weather.gc.ca)
      summary: Climate monthly
      description: Month-by-month climate history of a station, e.g. July rainfall by year.
      operationId: api-weather-gc-ca.weather.climate-monthly
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  climate_id: '6158355'
                  end: 2004-12
                  start: 2004-01
            schema:
              additionalProperties: true
              properties:
                climate_id:
                  description: >-
                    ECCC Climate ID of a climate station (7 characters, e.g.
                    6158355 TORONTO CITY, 6158350 TORONTO, 1108447 VANCOUVER
                    INTL A). Find ids with climate_stations. Pattern:
                    ^[0-9A-Za-z]+$.
                  type: string
                end:
                  description: 'Last month, YYYY-MM. Pattern: ^[0-9]{4}-[0-9]{2}$.'
                  type: string
                  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
                start:
                  description: 'First month, YYYY-MM. Pattern: ^[0-9]{4}-[0-9]{2}$.'
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              required:
                - climate_id
              type: object
        required: true
      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'
                    count: 12
                    end: 2004-12
                    lang: en
                    licence_url: https://eccc-msc.github.io/open-data/licence/readme_en/
                    months:
                      - bright_sunshine_hours: null
                        cooling_degree_days: 0
                        days_with_precip_ge_1mm: 10
                        days_with_valid_mean_temp: 31
                        days_with_valid_precip: 31
                        extreme_max_temp_c: 13.3
                        extreme_min_temp_c: -22.1
                        heating_degree_days: 804.2
                        mean_temp_c: -7.941935483870968
                        month: 2004-01
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 31
                        total_precip_mm: 50
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 0
                        days_with_precip_ge_1mm: 5
                        days_with_valid_mean_temp: 29
                        days_with_valid_precip: 29
                        extreme_max_temp_c: 10.6
                        extreme_min_temp_c: -16.9
                        heating_degree_days: 580
                        mean_temp_c: -2
                        month: 2004-02
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 14
                        total_precip_mm: 23.9
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 0
                        days_with_precip_ge_1mm: 8
                        days_with_valid_mean_temp: 31
                        days_with_valid_precip: 31
                        extreme_max_temp_c: 18.8
                        extreme_min_temp_c: -9.4
                        heating_degree_days: 459.1
                        mean_temp_c: 3.1903225806451614
                        month: 2004-03
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 46.3
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 0
                        days_with_precip_ge_1mm: 12
                        days_with_valid_mean_temp: 30
                        days_with_valid_precip: 30
                        extreme_max_temp_c: 23.3
                        extreme_min_temp_c: -6.2
                        heating_degree_days: 317.3
                        mean_temp_c: 7.423333333333333
                        month: 2004-04
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 71.2
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 11.7
                        days_with_precip_ge_1mm: 11
                        days_with_valid_mean_temp: 31
                        days_with_valid_precip: 31
                        extreme_max_temp_c: 28
                        extreme_min_temp_c: 0
                        heating_degree_days: 147.5
                        mean_temp_c: 13.619354838709675
                        month: 2004-05
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 89
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 33.3
                        days_with_precip_ge_1mm: 7
                        days_with_valid_mean_temp: 30
                        days_with_valid_precip: 30
                        extreme_max_temp_c: 32.7
                        extreme_min_temp_c: 9.6
                        heating_degree_days: 32.4
                        mean_temp_c: 18.03
                        month: 2004-06
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 44.6
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 98.3
                        days_with_precip_ge_1mm: 9
                        days_with_valid_mean_temp: 31
                        days_with_valid_precip: 31
                        extreme_max_temp_c: 29.9
                        extreme_min_temp_c: 13.2
                        heating_degree_days: 1.2
                        mean_temp_c: 21.13225806451613
                        month: 2004-07
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 70.6
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 70.8
                        days_with_precip_ge_1mm: 7
                        days_with_valid_mean_temp: 31
                        days_with_valid_precip: 31
                        extreme_max_temp_c: 29.5
                        extreme_min_temp_c: 10.7
                        heating_degree_days: 8.5
                        mean_temp_c: 20.009677419354837
                        month: 2004-08
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 49.4
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 50.9
                        days_with_precip_ge_1mm: 3
                        days_with_valid_mean_temp: 30
                        days_with_valid_precip: 30
                        extreme_max_temp_c: 28.3
                        extreme_min_temp_c: 7.5
                        heating_degree_days: 23.8
                        mean_temp_c: 18.903333333333332
                        month: 2004-09
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 33.2
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 0
                        days_with_precip_ge_1mm: 5
                        days_with_valid_mean_temp: 31
                        days_with_valid_precip: 31
                        extreme_max_temp_c: 23.2
                        extreme_min_temp_c: 3.8
                        heating_degree_days: 210.1
                        mean_temp_c: 11.22258064516129
                        month: 2004-10
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 22.8
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 0
                        days_with_precip_ge_1mm: 7
                        days_with_valid_mean_temp: 30
                        days_with_valid_precip: 30
                        extreme_max_temp_c: 15.4
                        extreme_min_temp_c: -3
                        heating_degree_days: 351.8
                        mean_temp_c: 6.273333333333333
                        month: 2004-11
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 59.4
                        total_snowfall_cm: null
                      - bright_sunshine_hours: null
                        cooling_degree_days: 0
                        days_with_precip_ge_1mm: 12
                        days_with_valid_mean_temp: 31
                        days_with_valid_precip: 31
                        extreme_max_temp_c: 11.1
                        extreme_min_temp_c: -23.3
                        heating_degree_days: 605.7
                        mean_temp_c: -1.538709677419355
                        month: 2004-12
                        normal_mean_temp_c: null
                        normal_precip_mm: null
                        normal_snowfall_cm: null
                        normal_sunshine_hours: null
                        snow_on_ground_last_day_cm: 0
                        total_precip_mm: 80.4
                        total_snowfall_cm: null
                    observed_at_ms: 1792969237837
                    source_url: >-
                      https://api.weather.gc.ca/collections/climate-monthly/items?f=json&CLIMATE_IDENTIFIER=6158355&skipGeometry=true&sortby=LOCAL_DATE&limit=2000&datetime=2004-01%2F2004-12
                    start: 2004-01
                    station:
                      climate_id: '6158355'
                      daily_first_date: '2002-06-04'
                      daily_last_date: '2026-10-23'
                      distance_km: null
                      elevation_m: 112.5
                      first_date: '2002-06-04'
                      has_hourly: true
                      has_monthly_summary: true
                      has_normals: false
                      hourly_first_date: '2002-06-04'
                      hourly_last_date: '2026-10-23'
                      last_date: '2026-10-23'
                      latitude: 43.666666666666664
                      longitude: -79.4
                      monthly_first_date: '2003-07-01'
                      monthly_last_date: '2006-12-01'
                      name: TORONTO CITY
                      operator: >-
                        Environment and Climate Change Canada - Meteorological
                        Service of Canada
                      province: 'ON'
                      province_name: ONTARIO
                      station_id: 31688
                      tc_id: XTO
                      timezone: EST
                      wmo_id: '71508'
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Monthly climate summaries of one ECCC climate station: mean and
            extreme temperatures, total precipitation and snowfall, days with
            precipitation, sunshine, degree days and the station's monthly
            normals where ECCC lists them. start/end (YYYY-MM) bound the months;
            without them the whole record. An unknown climate_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. |

            | `count` | number |  |

            | `end` | string |  |

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

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

            | `months` | object[] | Months in order. |

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

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

            | `start` | string |  |

            | `station` | object |  |



            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.