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

# Search Financial Line Items

> Pull named line items across several companies at once, instead of three full statements each.

Pull named financial line items across one or more companies in a single call. Body takes `tickers` and `line_items` (both required, both arrays), plus `period` (annual, quarterly or ttm) and `limit`. Returns `search_results` with one row per ticker and period carrying only the fields you asked for, alongside `report_period`, `period` and `currency`. Use it to build a comparison table without pulling three full statements per company. The item names are the same field names the statement tools return, so look one up there first if unsure. For everything about a single company use [`get_financial_financials`](https://aisa.one/docs/api-reference/financial/get_financials).

> [!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/post_financials-search-line-items)

## Request contract

* **Method and path:** POST /apis/v1/financial/financials/search/line-items
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/financial/financials/search/line-items`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "post_financial_financials_search_line_items",
  "method": "POST",
  "path": "/apis/v1/financial/financials/search/line-items",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "limit": {
              "default": 1,
              "description": "The maximum number of results to return.",
              "minimum": 1,
              "type": "integer"
            },
            "line_items": {
              "description": "An array of line items to apply to the search.",
              "items": {
                "description": "The financial metric to search for.",
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            },
            "period": {
              "default": "ttm",
              "description": "The time period for the financial data.",
              "enum": [
                "annual",
                "quarterly",
                "ttm"
              ],
              "type": "string"
            },
            "tickers": {
              "description": "An array of tickers to apply to the search.",
              "items": {
                "description": "The tickers to search for.",
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "line_items",
            "tickers"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "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 POST /apis/v1/financial/financials/search/line-items
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/financials/search/line-items:
    post:
      tags:
        - One
      summary: Search Financial Line Items
      description: >-
        Search for specific financial metrics across income statements, balance
        sheets, and cash flow statements for a list of tickers.
      operationId: post_financial_financials_search_line_items
      requestBody:
        content:
          application/json:
            schema:
              properties:
                limit:
                  default: 1
                  description: The maximum number of results to return.
                  minimum: 1
                  type: integer
                line_items:
                  description: An array of line items to apply to the search.
                  items:
                    description: The financial metric to search for.
                    type: string
                  minItems: 1
                  type: array
                period:
                  default: ttm
                  description: The time period for the financial data.
                  enum:
                    - annual
                    - quarterly
                    - ttm
                  type: string
                tickers:
                  description: An array of tickers to apply to the search.
                  items:
                    description: The tickers to search for.
                    type: string
                  minItems: 1
                  type: array
              required:
                - line_items
                - tickers
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response4F907C495Caf_FinancialsSearchResponse
          description: Successful search response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response4F907C495Caf_FinancialsSearchResponse:
      properties:
        search_results:
          items:
            additionalProperties:
              description: Additional financial metrics based on the search criteria.
              type: string
            properties:
              currency:
                description: The currency of the financial data.
                type: string
              period:
                description: The time period of the financial data.
                enum:
                  - annual
                  - quarterly
                  - ttm
                type: string
              report_period:
                description: The reporting period of the financial data.
                format: date
                type: string
              ticker:
                description: The ticker symbol of the company.
                type: string
            type: object
          type: array
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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