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

# Time Series

> Time Series

## 请求规范

* **方法与路径:** POST /apis/v1/twelvedata/time-series
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/twelvedata/time-series`

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

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

```json theme={null}
{
  "operationId": "twelvedata.time-series",
  "method": "POST",
  "path": "/apis/v1/twelvedata/time-series",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "additionalProperties": false,
          "properties": {
            "interval": {
              "enum": [
                "1day"
              ],
              "type": "string"
            },
            "output_size": {
              "default": 1,
              "enum": [
                1
              ],
              "maximum": 9223372036854775807,
              "minimum": 0,
              "type": "integer"
            },
            "symbol": {
              "maxLength": 40,
              "minLength": 1,
              "pattern": "^[A-Za-z0-9][A-Za-z0-9./_-]*$",
              "type": "string"
            }
          },
          "required": [
            "interval",
            "symbol"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 当前暂无预估金额。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/twelvedata.json POST /apis/v1/twelvedata/time-series
openapi: 3.1.0
info:
  description: ''
  title: Twelve Data
  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:
    twelvedata:
      description: ''
      title: Twelve Data
      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: 79c2d59ed73bc5e6f5f8d81f15cb02c17c2a7bd617405ce96bb79ba3d4366544
        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/twelvedata/batch-get-quotes
    - /apis/v1/twelvedata/commodities-list
    - /apis/v1/twelvedata/countries-list
    - /apis/v1/twelvedata/cryptocurrencies
    - /apis/v1/twelvedata/cryptocurrency-exchanges-list-get
    - /apis/v1/twelvedata/currency-conversion
    - /apis/v1/twelvedata/etfs-directory
    - /apis/v1/twelvedata/etfs-family
    - /apis/v1/twelvedata/etfs-type
    - /apis/v1/twelvedata/exchanges
    - /apis/v1/twelvedata/forex-pairs
    - /apis/v1/twelvedata/get-earliest-timestamp
    - /apis/v1/twelvedata/get-funds
    - /apis/v1/twelvedata/get-last-change
    - /apis/v1/twelvedata/get-market-state
    - /apis/v1/twelvedata/get-price
    - /apis/v1/twelvedata/get-technical-indicators-list
    - /apis/v1/twelvedata/mutual-funds-family
    - /apis/v1/twelvedata/mutual-funds-list
    - /apis/v1/twelvedata/quote
    - /apis/v1/twelvedata/stocks-list
    - /apis/v1/twelvedata/symbol-search
    - /apis/v1/twelvedata/time-series
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:c458e94e6365adf65a3034fc4751e99f6bb97f7499658fd6204bec66650aafd5
    facts_hash: 79c2d59ed73bc5e6f5f8d81f15cb02c17c2a7bd617405ce96bb79ba3d4366544
    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: twelvedata
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/twelvedata/time-series:
    post:
      tags:
        - Twelve Data
      summary: Time Series
      operationId: twelvedata.time-series
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                interval:
                  enum:
                    - 1day
                  type: string
                output_size:
                  default: 1
                  enum:
                    - 1
                  maximum: 9223372036854776000
                  minimum: 0
                  type: integer
                symbol:
                  maxLength: 40
                  minLength: 1
                  pattern: ^[A-Za-z0-9][A-Za-z0-9./_-]*$
                  type: string
              required:
                - interval
                - symbol
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful response. The payload schema has not been reviewed yet.
        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.