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

# Get Historical Stock Prices

> Historical OHLCV bars for one stock over an explicit date range.

Historical OHLCV bars for one stock. All four of `ticker`, `interval`, `start_date` and `end_date` are required — there is no trailing-window shortcut. `interval` is one of day, week, month or year. Each bar carries `open`, `close`, `high`, `low`, `volume` and `time`, wrapped in a `prices` array alongside the echoed `ticker`. Use it to chart or to measure a move across a known window. For just the latest price use [`get_financial_prices_snapshot`](https://aisa.one/docs/api-reference/financial/get_prices-snapshot).

> [!NOTE]
>
> **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
> Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
> opens a browser, you click Allow once, and there is no key to paste. Your
> agent then reaches every endpoint through a few meta tools: `search`,
> `list_categories`, `get_details` and `batch_quote` are free, `batch_use` is
> billed per call. Setup per client is in
> [Connect via MCP](https://aisa.one/docs/agent-quickstart.md); the live tool list and what each call
> costs are on [aisa.one/mcp](https://aisa.one/mcp#connect).

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/financial/get_prices)

## Request contract

* **Method and path:** GET /apis/v1/financial/prices
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/financial/prices`
* **cursor:** query; optional
* **end\_date:** query; required
* **interval:** query; required
* **interval\_multiplier:** query; optional
* **start\_date:** query; required
* **ticker:** query; required

[Complete OpenAPI definition](https://aisa.one/docs/openapi/financial.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "get_financial_prices",
  "method": "GET",
  "path": "/apis/v1/financial/prices",
  "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": "The end date for the price data (format: YYYY-MM-DD).\n\nProvider reference (supplier schema): `{\"format\":\"date\",\"type\":\"string\"}`.",
      "in": "query",
      "name": "end_date",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "The time interval for the price data.\n\nProvider reference (supplier schema): `{\"enum\":[\"day\",\"week\",\"month\",\"year\"],\"type\":\"string\"}`.",
      "in": "query",
      "name": "interval",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "interval_multiplier",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "The start date for the price data (format: YYYY-MM-DD).\n\nProvider reference (supplier schema): `{\"format\":\"date\",\"type\":\"string\"}`.",
      "in": "query",
      "name": "start_date",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "The stock ticker symbol (e.g. AAPL, MSFT).",
      "in": "query",
      "name": "ticker",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Request pricing. Default request estimate: \$0.02 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/financial.json GET /apis/v1/financial/prices
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/prices:
    get:
      tags:
        - One
      summary: Get Historical Stock Prices
      description: Get end-of-day (EOD) historical price data for stocks.
      operationId: get_financial_prices
      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: >-
            The end date for the price data (format: YYYY-MM-DD).


            Provider reference (supplier schema):
            `{"format":"date","type":"string"}`.
          in: query
          name: end_date
          required: true
          schema:
            type: string
        - description: >-
            The time interval for the price data.


            Provider reference (supplier schema):
            `{"enum":["day","week","month","year"],"type":"string"}`.
          in: query
          name: interval
          required: true
          schema:
            type: string
        - in: query
          name: interval_multiplier
          required: false
          schema:
            type: string
        - description: >-
            The start date for the price data (format: YYYY-MM-DD).


            Provider reference (supplier schema):
            `{"format":"date","type":"string"}`.
          in: query
          name: start_date
          required: true
          schema:
            type: string
        - description: The stock ticker symbol (e.g. AAPL, MSFT).
          in: query
          name: ticker
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response4F907C495Caf_PricesResponse'
          description: Price data response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response4F907C495Caf_PricesResponse:
      properties:
        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
            100 records.
          type: string
        prices:
          items:
            $ref: '#/components/schemas/Response4F907C495Caf_Price'
          type: array
        ticker:
          description: The ticker symbol.
          type: string
      type: object
    Response4F907C495Caf_Price:
      properties:
        close:
          description: The close price of the ticker in the given time period.
          type: number
        high:
          description: The high price of the ticker in the given time period.
          type: number
        low:
          description: The low price of the ticker in the given time period.
          type: number
        open:
          description: The open price of the ticker in the given time period.
          type: number
        time:
          description: The human-readable time format of the price in UTC.
          type: string
        volume:
          description: The trading volume of the ticker in the given time period.
          type:
            - integer
            - 'null'
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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