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

# Metrics

> Get sector-specific operational KPIs for a ticker. Includes metrics like load factor, CET1 ratio, same-store sales, FFO per share, and more. Sourced from SEC 8-K earnings releases.

## 请求规范

* **方法与路径:** GET /apis/v1/financial/kpi/metrics
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/financial/kpi/metrics`
* **cursor:** query; 可选
* **limit:** query; 可选
* **metric\_name:** query; 可选
* **period:** query; 可选
* **report\_period\_gte:** query; 可选
* **report\_period\_lte:** query; 可选
* **ticker:** query; 必填

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

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

```json theme={null}
{
  "operationId": "any_financial_apis_v1_financial_kpi_metrics",
  "method": "GET",
  "path": "/apis/v1/financial/kpi/metrics",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.",
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Number of periods to return. Returns all metrics for the N most recent periods. This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`.",
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
        "default": 4,
        "maximum": 50,
        "type": "integer"
      }
    },
    {
      "description": "Filter to a specific metric (e.g., load_factor, cet1_ratio).",
      "in": "query",
      "name": "metric_name",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Filter by period type: quarterly or annual.",
      "in": "query",
      "name": "period",
      "required": false,
      "schema": {
        "default": "quarterly",
        "enum": [
          "quarterly",
          "annual"
        ],
        "type": "string"
      }
    },
    {
      "description": "Only return metrics on or after this date (YYYY-MM-DD).",
      "in": "query",
      "name": "report_period_gte",
      "required": false,
      "schema": {
        "format": "date",
        "type": "string"
      }
    },
    {
      "description": "Only return metrics on or before this date (YYYY-MM-DD).",
      "in": "query",
      "name": "report_period_lte",
      "required": false,
      "schema": {
        "format": "date",
        "type": "string"
      }
    },
    {
      "description": "The ticker symbol.",
      "in": "query",
      "name": "ticker",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

请求费用。 默认请求预估费用：\$0.02 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/financial.json GET /apis/v1/financial/kpi/metrics
openapi: 3.1.0
info:
  description: ''
  title: FinancialAPI
  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:
    financial:
      description: ''
      title: FinancialAPI
      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: 1eb067a02d7d1b2cbe13ec3a6bc07fea01b0ebef6a9d35656d0c02c1ea101baf
        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/financial/analyst-estimates
    - /apis/v1/financial/company/facts
    - /apis/v1/financial/company/facts/ticker
    - /apis/v1/financial/crypto/prices
    - /apis/v1/financial/crypto/prices/snapshot
    - /apis/v1/financial/earnings
    - /apis/v1/financial/earnings/press-releases
    - /apis/v1/financial/filings
    - /apis/v1/financial/filings/items
    - /apis/v1/financial/financial-metrics
    - /apis/v1/financial/financial-metrics/snapshot
    - /apis/v1/financial/financials
    - /apis/v1/financial/financials/balance-sheets
    - /apis/v1/financial/financials/cash-flow-statements
    - /apis/v1/financial/financials/income-statements
    - /apis/v1/financial/financials/search/line-items
    - /apis/v1/financial/financials/search/screener
    - /apis/v1/financial/financials/segmented-revenues
    - /apis/v1/financial/insider-trades
    - /apis/v1/financial/institutional-ownership
    - /apis/v1/financial/kpi/guidance
    - /apis/v1/financial/kpi/metrics
    - /apis/v1/financial/kpi/non-gaap
    - /apis/v1/financial/macro/interest-rates
    - /apis/v1/financial/macro/interest-rates/snapshot
    - /apis/v1/financial/news
    - /apis/v1/financial/prices
    - /apis/v1/financial/prices/snapshot
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:b49b91a9e53aadfd36aa9c8be94d8c4d516873d2a2e2e491db0b18656d03cac3
    facts_hash: 1eb067a02d7d1b2cbe13ec3a6bc07fea01b0ebef6a9d35656d0c02c1ea101baf
    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: financial
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/financial/kpi/metrics:
    get:
      tags:
        - default
      summary: Metrics
      description: >-
        Get sector-specific operational KPIs for a ticker. Includes metrics like
        load factor, CET1 ratio, same-store sales, FFO per share, and more.
        Sourced from SEC 8-K earnings releases.
      operationId: any_financial_apis_v1_financial_kpi_metrics
      parameters:
        - description: >-
            Opaque pagination cursor from a previous response's next_page_url.
            When provided, all other query parameters are ignored: the cursor
            carries the original request's filters. Treat it as opaque; do not
            construct or modify it.
          in: query
          name: cursor
          required: false
          schema:
            type: string
        - description: >-
            Number of periods to return. Returns all metrics for the N most
            recent periods. This is the total across all pages, not a page size:
            each page holds up to 10 records, linked by `next_page_url`.
          in: query
          name: limit
          required: false
          schema:
            default: 4
            maximum: 50
            type: integer
        - description: Filter to a specific metric (e.g., load_factor, cet1_ratio).
          in: query
          name: metric_name
          required: false
          schema:
            type: string
        - description: 'Filter by period type: quarterly or annual.'
          in: query
          name: period
          required: false
          schema:
            default: quarterly
            enum:
              - quarterly
              - annual
            type: string
        - description: Only return metrics on or after this date (YYYY-MM-DD).
          in: query
          name: report_period_gte
          required: false
          schema:
            format: date
            type: string
        - description: Only return metrics on or before this date (YYYY-MM-DD).
          in: query
          name: report_period_lte
          required: false
          schema:
            format: date
            type: string
        - description: 股票代码。
          in: query
          name: ticker
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response4F907C495Caf_KPIMetricsResponse'
          description: KPI metrics response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response4F907C495Caf_KPIMetricsResponse:
      properties:
        kpi_metrics:
          items:
            $ref: '#/components/schemas/Response4F907C495Caf_KPIMetric'
          type: array
        next_page_url:
          description: >-
            Absolute URL of the next page of results. Present only when more
            results remain; request it as-is to continue. Each page holds up to
            10 records.
          type: string
      type: object
    Response4F907C495Caf_KPIMetric:
      properties:
        metric_name:
          description: 规范指标名称。
          example: load_factor
          type: string
        period:
          description: 报告期（例如 Q4 2025、FY 2025，或非标准财年的日期，如 2025-04-30）。
          example: Q4 2025
          type: string
        period_type:
          description: 此数据是季度数据还是年度数据。
          enum:
            - quarterly
            - annual
          example: quarterly
          type: string
        segment:
          description: 业务部门、地理区域或子类别。仅当指标针对子单位而非合并实体报告时存在。
          example: Commercial Engines & Services
          type:
            - string
            - 'null'
        source_text:
          description: 申报文件中找到此值的原始文本片段。
          example: Passenger load factor
          type:
            - string
            - 'null'
        source_url:
          description: SEC 申报文件的直接链接。如果可用，将包含一个文本片段，用于在浏览器中突出显示来源。
          example: >-
            https://www.sec.gov/Archives/edgar/data/27904/000002790426000008/deltaairlinesannouncesdece.htm
          format: uri
          type: string
        ticker:
          description: 股票代码。
          example: DAL
          type: string
        unit:
          description: 计量单位（例如 %、美分、美元、英里、数量）。
          example: '%'
          type: string
        value:
          description: 提取的数值。
          example: 82
          type:
            - number
            - 'null'
        yoy_change_pct:
          description: 同比百分比变化。
          example: -2.381
          type:
            - number
            - 'null'
        yoy_value:
          description: 与上一期间相比的同比值。
          example: 84
          type:
            - number
            - 'null'
      required:
        - ticker
        - metric_name
        - value
        - unit
        - period
        - period_type
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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