Skip to main content
POST
Marine forecast

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 Effective request declaration (including authentication and referenced schemas):

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
area_id
string

Marine area id, e.g. m0000028 Strait of Georgia, m0000144 Lake Ontario, m0000053 Halifax Harbour; or use lat/lon. Pattern: ^[mM][0-9]{7}$.

lang
string
default:en

Language of names and texts: en (English) or fr (French). Numbers are the same in both.

Provider reference: allowed values ["en", "fr"]; default "en".

lat
number

Latitude in decimal degrees (Canada spans about 41 to 84). Give with lon.

Provider reference: minimum -90; maximum 90.

lon
number

Longitude in decimal degrees, west negative (Canada spans about -142 to -52). Give with lat.

Provider reference: minimum -180; maximum 180.

Response

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.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.