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

# Marine forecast

> Boating or shipping weather on Canadian coastal waters and the Great Lakes.

## Request contract

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

[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.marine-forecast",
  "method": "POST",
  "path": "/apis/v1/api-weather-gc-ca/weather/marine-forecast",
  "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": {
              "area_id": "m0000028"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "area_id": {
              "description": "Marine area id, e.g. m0000028 Strait of Georgia, m0000144 Lake Ontario, m0000053 Halifax Harbour; or use lat/lon. Pattern: ^[mM][0-9]{7}$.",
              "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"
                ]
              }
            },
            "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
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "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/marine-forecast
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/marine-forecast:
    post:
      tags:
        - >-
          Environment and Climate Change Canada weather and climate
          (api.weather.gc.ca)
      summary: Marine forecast
      description: >-
        Boating or shipping weather on Canadian coastal waters and the Great
        Lakes.
      operationId: api-weather-gc-ca.weather.marine-forecast
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  area_id: m0000028
            schema:
              additionalProperties: true
              properties:
                area_id:
                  description: >-
                    Marine area id, e.g. m0000028 Strait of Georgia, m0000144
                    Lake Ontario, m0000053 Halifax Harbour; or use lat/lon.
                    Pattern: ^[mM][0-9]{7}$.
                  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
                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
              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:
                    area:
                      country: CA
                      id: m0000028
                      name: Strait of Georgia
                      region: Pacific Coast
                      sub_region: Georgia Basin
                    attribution: 'Data Source: Environment and Climate Change Canada'
                    extended_forecast:
                      issued_at: '2026-10-25T23:00:00Z'
                      issued_at_local: '2026-10-25T16:00:00-07:00'
                      locations:
                        - name: null
                          periods:
                            - name: Tuesday
                              text: >-
                                Wind northwest 10 to 20 knots becoming 
                                southeast 10 to 20 in the afternoon.
                            - name: Wednesday
                              text: >-
                                Wind northwest 5 to 15 knots becoming  southeast
                                10 to 20.
                            - name: Thursday
                              text: >-
                                Wind east 10 to 20 knots backing to northerly  5
                                to 15 late in the day.
                    lang: en
                    last_updated: '2026-10-25T22:55:26Z'
                    licence_url: https://eccc-msc.github.io/open-data/licence/readme_en/
                    observed_at_ms: 1792969238535
                    other_area_ids: []
                    regular_forecast:
                      issued_at: '2026-10-25T17:30:00Z'
                      issued_at_local: '2026-10-25T10:30:00-07:00'
                      locations:
                        - air_temperature: null
                          freezing_spray: null
                          name: Strait of Georgia - north of Nanaimo
                          period_of_coverage: Today Tonight and Monday.
                          status: null
                          weather_visibility: Showers ending Monday morning.
                          wind: >-
                            Wind southeast 10 to 20 knots except north 5 to 15
                            over northern sections. Wind becoming northwest 5 to
                            15 this afternoon. Wind northwest 5 to 15 tonight
                            and Monday.
                        - air_temperature: null
                          freezing_spray: null
                          name: Strait of Georgia - south of Nanaimo
                          period_of_coverage: Today Tonight and Monday.
                          status: null
                          weather_visibility: Showers ending Monday morning.
                          wind: >-
                            Wind easterly 15 to 25 knots becoming easterly 10 to
                            20 this afternoon then becoming northwest 10 to 20
                            near midnight. Wind diminishing to light Monday
                            evening.
                    source_url: >-
                      https://api.weather.gc.ca/collections/marineweather-realtime/items/m0000028?f=json
                    warnings:
                      - category: marine
                        location: Strait of Georgia - south of Nanaimo
                        name: Strong wind warning
                        status: IN EFFECT
                        type: warning
                    wave_forecast: null
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            ECCC marine forecast and warnings for one marine area
            (weather.gc.ca/marine): regular forecast per sub-area (winds,
            weather and visibility, air temperature, freezing spray), the
            extended forecast, the wave forecast where issued, and marine
            warnings in effect. Choose by area_id or by lat/lon on the water
            (the containing area). An unknown area_id is not_found.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `area` | object |  |

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

            | `extended_forecast` | object | Extended forecast; null when not
            issued. |

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

            | `last_updated` | string |  |

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

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

            | `other_area_ids` | string[] | Other areas containing the point
            (lat/lon only). |

            | `regular_forecast` | object | Regular forecast; null when not in
            season. |

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

            | `warnings` | object[] | Marine warnings; empty when none. |

            | `wave_forecast` | object | Wave forecast; null where ECCC issues
            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.