> ## 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 Historical Weather (ERA5)

> Historical reanalysis weather (ERA5 / ERA5-Land and related models) for any coordinate, with data back to 1940. `start_date` and `end_date` are required. GET pass-through to `https://archive-api.open-meteo.com/v1/archive`.

Open-Meteo Historical Weather (ERA5) (Open-Meteo).

## 请求规范

* **方法与路径:** GET /apis/v1/openmeteo/archive
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/openmeteo/archive`
* **cell\_selection:** query; 可选
* **daily:** query; 可选
* **elevation:** query; 可选
* **end\_date:** query; 必填
* **hourly:** query; 可选
* **latitude:** query; 必填
* **longitude:** query; 必填
* **models:** query; 可选
* **precipitation\_unit:** query; 可选
* **start\_date:** query; 必填
* **temperature\_unit:** query; 可选
* **timeformat:** query; 可选
* **timezone:** query; 可选
* **wind\_speed\_unit:** query; 可选

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

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

```json theme={null}
{
  "operationId": "get_openmeteo_archive",
  "method": "GET",
  "path": "/apis/v1/openmeteo/archive",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Grid-cell preference for the coordinate. Default `land`.",
      "in": "query",
      "name": "cell_selection",
      "required": false,
      "schema": {
        "default": "land",
        "enum": [
          "land",
          "sea",
          "nearest"
        ],
        "type": "string"
      }
    },
    {
      "description": "Comma-separated list of daily aggregation variables to return. Requires `timezone`. Common values: `temperature_2m_max`, `temperature_2m_min`, `temperature_2m_mean`, `precipitation_sum`, `rain_sum`, `snowfall_sum`, `weather_code`, `sunrise`, `sunset`, `sunshine_duration`, `wind_speed_10m_max`, `uv_index_max`.",
      "in": "query",
      "name": "daily",
      "required": false,
      "schema": {
        "example": "temperature_2m_max,temperature_2m_min,precipitation_sum",
        "type": "string"
      }
    },
    {
      "description": "Manual elevation (meters). Defaults to a 90m DEM.",
      "in": "query",
      "name": "elevation",
      "required": false,
      "schema": {
        "example": "38",
        "type": "string"
      }
    },
    {
      "description": "End of the interval, `yyyy-mm-dd` (ISO 8601).",
      "in": "query",
      "name": "end_date",
      "required": true,
      "schema": {
        "example": "2024-01-07",
        "format": "date",
        "type": "string"
      }
    },
    {
      "description": "Comma-separated list of hourly variables to return. Common values: `temperature_2m`, `relative_humidity_2m`, `dew_point_2m`, `apparent_temperature`, `precipitation`, `rain`, `showers`, `snowfall`, `weather_code`, `pressure_msl`, `cloud_cover`, `wind_speed_10m`, `wind_direction_10m`, `wind_gusts_10m`, `shortwave_radiation`, `visibility`. Also includes soil temperature/moisture variables.",
      "in": "query",
      "name": "hourly",
      "required": false,
      "schema": {
        "example": "temperature_2m,precipitation",
        "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": "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": "Comma-separated reanalysis models, e.g. `era5`, `era5_land`, `ecmwf_ifs`, `cerra`. Default best match.",
      "in": "query",
      "name": "models",
      "required": false,
      "schema": {
        "example": "era5",
        "type": "string"
      }
    },
    {
      "description": "Precipitation unit. Default `mm`.",
      "in": "query",
      "name": "precipitation_unit",
      "required": false,
      "schema": {
        "default": "mm",
        "enum": [
          "mm",
          "inch"
        ],
        "type": "string"
      }
    },
    {
      "description": "Start of the interval, `yyyy-mm-dd` (ISO 8601).",
      "in": "query",
      "name": "start_date",
      "required": true,
      "schema": {
        "example": "2024-01-01",
        "format": "date",
        "type": "string"
      }
    },
    {
      "description": "Temperature unit. Default `celsius`.",
      "in": "query",
      "name": "temperature_unit",
      "required": false,
      "schema": {
        "default": "celsius",
        "enum": [
          "celsius",
          "fahrenheit"
        ],
        "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"
      }
    },
    {
      "description": "Wind speed unit. Default `kmh`.",
      "in": "query",
      "name": "wind_speed_unit",
      "required": false,
      "schema": {
        "default": "kmh",
        "enum": [
          "kmh",
          "ms",
          "mph",
          "kn"
        ],
        "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/archive
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/archive:
    get:
      tags:
        - openmeteo
      summary: Open-Meteo Historical Weather (ERA5)
      description: >-
        Historical reanalysis weather (ERA5 / ERA5-Land and related models) for
        any coordinate, with data back to 1940. `start_date` and `end_date` are
        required. GET pass-through to
        `https://archive-api.open-meteo.com/v1/archive`.


        Open-Meteo Historical Weather (ERA5) (Open-Meteo).
      operationId: get_openmeteo_archive
      parameters:
        - description: Grid-cell preference for the coordinate. Default `land`.
          in: query
          name: cell_selection
          required: false
          schema:
            default: land
            enum:
              - land
              - sea
              - nearest
            type: string
        - description: >-
            Comma-separated list of daily aggregation variables to return.
            Requires `timezone`. Common values: `temperature_2m_max`,
            `temperature_2m_min`, `temperature_2m_mean`, `precipitation_sum`,
            `rain_sum`, `snowfall_sum`, `weather_code`, `sunrise`, `sunset`,
            `sunshine_duration`, `wind_speed_10m_max`, `uv_index_max`.
          in: query
          name: daily
          required: false
          schema:
            example: temperature_2m_max,temperature_2m_min,precipitation_sum
            type: string
        - description: Manual elevation (meters). Defaults to a 90m DEM.
          in: query
          name: elevation
          required: false
          schema:
            example: '38'
            type: string
        - description: End of the interval, `yyyy-mm-dd` (ISO 8601).
          in: query
          name: end_date
          required: true
          schema:
            example: '2024-01-07'
            format: date
            type: string
        - description: >-
            Comma-separated list of hourly variables to return. Common values:
            `temperature_2m`, `relative_humidity_2m`, `dew_point_2m`,
            `apparent_temperature`, `precipitation`, `rain`, `showers`,
            `snowfall`, `weather_code`, `pressure_msl`, `cloud_cover`,
            `wind_speed_10m`, `wind_direction_10m`, `wind_gusts_10m`,
            `shortwave_radiation`, `visibility`. Also includes soil
            temperature/moisture variables.
          in: query
          name: hourly
          required: false
          schema:
            example: temperature_2m,precipitation
            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: >-
            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: >-
            Comma-separated reanalysis models, e.g. `era5`, `era5_land`,
            `ecmwf_ifs`, `cerra`. Default best match.
          in: query
          name: models
          required: false
          schema:
            example: era5
            type: string
        - description: Precipitation unit. Default `mm`.
          in: query
          name: precipitation_unit
          required: false
          schema:
            default: mm
            enum:
              - mm
              - inch
            type: string
        - description: Start of the interval, `yyyy-mm-dd` (ISO 8601).
          in: query
          name: start_date
          required: true
          schema:
            example: '2024-01-01'
            format: date
            type: string
        - description: Temperature unit. Default `celsius`.
          in: query
          name: temperature_unit
          required: false
          schema:
            default: celsius
            enum:
              - celsius
              - fahrenheit
            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
        - description: Wind speed unit. Default `kmh`.
          in: query
          name: wind_speed_unit
          required: false
          schema:
            default: kmh
            enum:
              - kmh
              - ms
              - mph
              - kn
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                daily:
                  precipitation_sum:
                    - 0.6
                  temperature_2m_max:
                    - 4.5
                  temperature_2m_min:
                    - 1.2
                  time:
                    - '2022-01-01'
                daily_units:
                  precipitation_sum: mm
                  temperature_2m_max: °C
                  temperature_2m_min: °C
                  time: iso8601
                elevation: 38
                generationtime_ms: 1.2
                hourly:
                  precipitation:
                    - 0
                    - 0
                  temperature_2m:
                    - 3.1
                    - 2.8
                  time:
                    - 2022-01-01T00:00
                    - 2022-01-01T01:00
                hourly_units:
                  precipitation: mm
                  temperature_2m: °C
                  time: iso8601
                latitude: 52.5
                longitude: 13.4
                timezone: Europe/Berlin
                utc_offset_seconds: 3600
              schema:
                type: object
          description: Historical weather for the interval.
        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/archive?end_date=2024-01-07&latitude=52.52&longitude=13.41&start_date=2024-01-01' \
              --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.