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

# Open-Meteo Marine

> Marine and ocean-wave forecast: wave height/direction/period (total, wind and swell), ocean currents and sea-surface temperature. GET pass-through to `https://marine-api.open-meteo.com/v1/marine`.

Open-Meteo Marine (Open-Meteo).

## 请求规范

* **方法与路径:** GET /apis/v1/openmeteo/marine
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/openmeteo/marine`
* **cell\_selection:** query; 可选
* **current:** query; 可选
* **daily:** query; 可选
* **end\_date:** query; 可选
* **forecast\_days:** query; 可选
* **hourly:** query; 可选
* **latitude:** query; 必填
* **length\_unit:** query; 可选
* **longitude:** query; 必填
* **past\_days:** query; 可选
* **start\_date:** query; 可选
* **timeformat:** query; 可选
* **timezone:** query; 可选

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/openmeteo.json)

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

```json theme={null}
{
  "operationId": "get_openmeteo_marine",
  "method": "GET",
  "path": "/apis/v1/openmeteo/marine",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Grid-cell preference for the coordinate. Default `sea`.",
      "in": "query",
      "name": "cell_selection",
      "required": false,
      "schema": {
        "default": "sea",
        "enum": [
          "land",
          "sea",
          "nearest"
        ],
        "type": "string"
      }
    },
    {
      "description": "Comma-separated list of current-condition variables to return. Same variable set as `hourly`.",
      "in": "query",
      "name": "current",
      "required": false,
      "schema": {
        "example": "wave_height,wave_period",
        "type": "string"
      }
    },
    {
      "description": "Comma-separated list of daily aggregation variables to return. Requires `timezone`. Common values: `wave_height_max`, `wave_direction_dominant`, `wave_period_max`, `wind_wave_height_max`, `swell_wave_height_max`.",
      "in": "query",
      "name": "daily",
      "required": false,
      "schema": {
        "example": "wave_height_max",
        "type": "string"
      }
    },
    {
      "description": "End of the interval, `yyyy-mm-dd` (ISO 8601).",
      "in": "query",
      "name": "end_date",
      "required": false,
      "schema": {
        "example": "2024-01-07",
        "format": "date",
        "type": "string"
      }
    },
    {
      "description": "Number of forecast days to return (0-8). Default 5.",
      "in": "query",
      "name": "forecast_days",
      "required": false,
      "schema": {
        "default": 5,
        "example": 7,
        "type": "integer"
      }
    },
    {
      "description": "Comma-separated list of hourly variables to return. Common values: `wave_height`, `wave_direction`, `wave_period`, `wind_wave_height`, `wind_wave_direction`, `wind_wave_period`, `swell_wave_height`, `swell_wave_direction`, `swell_wave_period`, `ocean_current_velocity`, `ocean_current_direction`, `sea_surface_temperature`.",
      "in": "query",
      "name": "hourly",
      "required": false,
      "schema": {
        "example": "wave_height,wave_direction,wave_period",
        "type": "string"
      }
    },
    {
      "description": "WGS84 latitude of the location. Multiple coordinates can be comma-separated.",
      "in": "query",
      "name": "latitude",
      "required": true,
      "schema": {
        "example": "52.52",
        "type": "string"
      }
    },
    {
      "description": "Unit for wave heights. Default `metric`.",
      "in": "query",
      "name": "length_unit",
      "required": false,
      "schema": {
        "default": "metric",
        "enum": [
          "metric",
          "imperial"
        ],
        "type": "string"
      }
    },
    {
      "description": "WGS84 longitude of the location (negative for the Americas). Multiple coordinates can be comma-separated.",
      "in": "query",
      "name": "longitude",
      "required": true,
      "schema": {
        "example": "13.41",
        "type": "string"
      }
    },
    {
      "description": "Number of past days to include (0-92). Default 0.",
      "in": "query",
      "name": "past_days",
      "required": false,
      "schema": {
        "default": 0,
        "type": "integer"
      }
    },
    {
      "description": "Start of the interval, `yyyy-mm-dd` (ISO 8601).",
      "in": "query",
      "name": "start_date",
      "required": false,
      "schema": {
        "example": "2024-01-01",
        "format": "date",
        "type": "string"
      }
    },
    {
      "description": "Time output format. Default `iso8601`.",
      "in": "query",
      "name": "timeformat",
      "required": false,
      "schema": {
        "default": "iso8601",
        "enum": [
          "iso8601",
          "unixtime"
        ],
        "type": "string"
      }
    },
    {
      "description": "IANA time zone name (e.g. `Europe/Berlin`) or `auto` to resolve from coordinates. Defaults to `GMT`.",
      "in": "query",
      "name": "timezone",
      "required": false,
      "schema": {
        "example": "Europe/Berlin",
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

公开参考价格：每次成功请求 \$0.0001 USD。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/openmeteo.json GET /apis/v1/openmeteo/marine
openapi: 3.1.0
info:
  description: ''
  title: openmeteo
  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:
    openmeteo:
      description: ''
      title: Open-Meteo Weather API
      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: a1ba7a65d960dbf979e169f9b26beeea36d6552d544dd3fd7f29c240eedd3676
        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
    openmeteo-air-quality:
      description: ''
      title: Open-Meteo Air Quality
      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: 1d69edc5a14e9f65789125421939928adabf718cf4af6a20a50cc9969abd09f9
        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
    openmeteo-archive:
      description: ''
      title: Open-Meteo Historical Weather (ERA5)
      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: dc96b979d82a5d189dd9d3c22b7bbfba2e56e8161ef103c73d6cd7b61cac7b2f
        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
    openmeteo-climate:
      description: ''
      title: Open-Meteo Climate (CMIP6)
      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: 70153b25d3a3d612309fbce87c940b8dc44b29858d15544cea92594703a5d618
        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
    openmeteo-ensemble:
      description: ''
      title: Open-Meteo Ensemble
      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: 89f049e6ef97fb5075d373aa6f71c7487c22fa6e79a39fe0370bc482d3c7471a
        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
    openmeteo-flood:
      description: ''
      title: Open-Meteo Flood
      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: 1e8711c98ebb10542d3d539fad4ba9f0d395d4681d085d9259315245c6afc707
        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
    openmeteo-geocoding:
      description: ''
      title: Open-Meteo Geocoding
      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: 87f5515d7b2772229ab560e2a9dc52ce295d70b897719f57448012ed1488b9c7
        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
    openmeteo-historical-forecast:
      description: ''
      title: Open-Meteo Historical Forecast
      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: 4a26c7b0121207f97050e26c514f5f46bbc0d699d0e57ea393249f69a5b2bae7
        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
    openmeteo-marine:
      description: ''
      title: Open-Meteo Marine
      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: 439655c5f60d58b2c2846054d44e16141c42e103cf2d4bc90806afc4d52c3510
        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
    openmeteo-previous-runs:
      description: ''
      title: Open-Meteo Previous Runs
      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: 8a2dd933f1f32077bb0288ebd5d49a681c1a4c1f5313bdf94c50da6af453f657
        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
    openmeteo-seasonal:
      description: ''
      title: Open-Meteo Seasonal Forecast
      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: 7a33ba07923e67468a34061ac55956a56447bccea5bf5f99b1a32461183b6b54
        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/openmeteo/elevation
    - /apis/v1/openmeteo/forecast
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:4814b8bd5892509eee3c9f53c49b8d40603b33b0fd5dece9b3323e4e2bd8f6be
    facts_hash: sha256:36f55c225a89aa6e29290270a8eeed85c6f6224160884d7fa3a086ea2ad602ef
    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: openmeteo
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/openmeteo/marine:
    get:
      tags:
        - openmeteo
      summary: Open-Meteo Marine
      description: >-
        Marine and ocean-wave forecast: wave height/direction/period (total,
        wind and swell), ocean currents and sea-surface temperature. GET
        pass-through to `https://marine-api.open-meteo.com/v1/marine`.


        Open-Meteo Marine (Open-Meteo).
      operationId: get_openmeteo_marine
      parameters:
        - description: Grid-cell preference for the coordinate. Default `sea`.
          in: query
          name: cell_selection
          required: false
          schema:
            default: sea
            enum:
              - land
              - sea
              - nearest
            type: string
        - description: >-
            Comma-separated list of current-condition variables to return. Same
            variable set as `hourly`.
          in: query
          name: current
          required: false
          schema:
            example: wave_height,wave_period
            type: string
        - description: >-
            Comma-separated list of daily aggregation variables to return.
            Requires `timezone`. Common values: `wave_height_max`,
            `wave_direction_dominant`, `wave_period_max`,
            `wind_wave_height_max`, `swell_wave_height_max`.
          in: query
          name: daily
          required: false
          schema:
            example: wave_height_max
            type: string
        - description: End of the interval, `yyyy-mm-dd` (ISO 8601).
          in: query
          name: end_date
          required: false
          schema:
            example: '2024-01-07'
            format: date
            type: string
        - description: Number of forecast days to return (0-8). Default 5.
          in: query
          name: forecast_days
          required: false
          schema:
            default: 5
            example: 7
            type: integer
        - description: >-
            Comma-separated list of hourly variables to return. Common values:
            `wave_height`, `wave_direction`, `wave_period`, `wind_wave_height`,
            `wind_wave_direction`, `wind_wave_period`, `swell_wave_height`,
            `swell_wave_direction`, `swell_wave_period`,
            `ocean_current_velocity`, `ocean_current_direction`,
            `sea_surface_temperature`.
          in: query
          name: hourly
          required: false
          schema:
            example: wave_height,wave_direction,wave_period
            type: string
        - description: >-
            WGS84 latitude of the location. Multiple coordinates can be
            comma-separated.
          in: query
          name: latitude
          required: true
          schema:
            example: '52.52'
            type: string
        - description: Unit for wave heights. Default `metric`.
          in: query
          name: length_unit
          required: false
          schema:
            default: metric
            enum:
              - metric
              - imperial
            type: string
        - description: >-
            WGS84 longitude of the location (negative for the Americas).
            Multiple coordinates can be comma-separated.
          in: query
          name: longitude
          required: true
          schema:
            example: '13.41'
            type: string
        - description: Number of past days to include (0-92). Default 0.
          in: query
          name: past_days
          required: false
          schema:
            default: 0
            type: integer
        - description: Start of the interval, `yyyy-mm-dd` (ISO 8601).
          in: query
          name: start_date
          required: false
          schema:
            example: '2024-01-01'
            format: date
            type: string
        - description: Time output format. Default `iso8601`.
          in: query
          name: timeformat
          required: false
          schema:
            default: iso8601
            enum:
              - iso8601
              - unixtime
            type: string
        - description: >-
            IANA time zone name (e.g. `Europe/Berlin`) or `auto` to resolve from
            coordinates. Defaults to `GMT`.
          in: query
          name: timezone
          required: false
          schema:
            example: Europe/Berlin
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                generationtime_ms: 0.2
                hourly:
                  time:
                    - 2024-01-01T00:00
                  wave_direction:
                    - 212
                  wave_height:
                    - 0.6
                  wave_period:
                    - 4.1
                hourly_units:
                  time: iso8601
                  wave_direction: °
                  wave_height: m
                  wave_period: s
                latitude: 54.5
                longitude: 10.25
                timezone: GMT
                utc_offset_seconds: 0
              schema:
                type: object
          description: Marine forecast for the coordinate.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
      x-codeSamples:
        - label: Reference example
          lang: text
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request GET \
              --url 'https://api.aisa.one/apis/v1/openmeteo/marine?latitude=52.52&longitude=13.41' \
              --header 'Authorization: Bearer <token>'
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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