> ## Documentation Index
> Fetch the complete documentation index at: https://docs.financialdatasets.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Financial Datasets API is served at https://api.financialdatasets.ai. Authenticate with the `X-API-KEY` header; create keys at https://financialdatasets.ai. Agents can open and fund their own account without a dashboard: see https://docs.financialdatasets.ai/agents.md.
> Tool-using agents can call Financial Datasets without writing code through the hosted MCP server at https://mcp.financialdatasets.ai/.
> The OpenAPI spec at https://financialdatasets.ai/openapi.json is the source of truth for request and response schemas.
> The index of every docs page is at https://docs.financialdatasets.ai/llms.txt. Append .md to any docs URL to get that page as Markdown.

# Investment Securities API

> Investment securities as reported: the bonds and shares a company holds as investments, by kind of security, with cost, unrealized gains and losses, fair value, and when the bonds come due, from 2016 onward.

### Overview

The Financial Datasets investment securities API returns the bonds and shares a company holds as investments, as the company reported them in its annual and quarterly reports: each kind of security (US Treasury securities, corporate bonds, mortgage-backed securities) with its cost, its unrealized gains and losses, and its fair value, when the bonds come due, the bonds that are worth less than their cost and for how long, and the gains and losses on what the company sold. Stakes that give the company a say in another company, and shares of private companies, are in [Equity Investments](https://docs.financialdatasets.ai/api/financials/equity-investments.md).

You can call it as a REST endpoint with an API key, or from Claude, ChatGPT, Cursor, and other AI apps through the [MCP server](https://docs.financialdatasets.ai/mcp-server.md), or pay per request with [x402](https://docs.financialdatasets.ai/x402.md). [Pricing](https://www.financialdatasets.ai/pricing) starts at \$20.

Use it to answer questions like:

* How much does Apple hold in US Treasury securities, and what did it pay for them?
* How large are JPMorgan's unrealized losses on the bonds it holds to maturity?
* When do Nvidia's bonds come due?

To get started, please create an account and grab your **API key** at [financialdatasets.ai](https://financialdatasets.ai).

### Coverage

| Companies | History | Updated |
| - | - | - |
| US companies | From 2016 | Within minutes of each new report |

### Filtering the Data

* `ticker` or `cik`: one is required.
* `period` (required): `annual`, `quarterly`, `six_months_ytd`, or `nine_months_ytd`. There is no `ttm`.
* `limit`: the maximum number of report periods to return, newest first (default 4, maximum 20). Each page holds up to 10 periods, linked by `next_page_url`.
* `report_period`, `report_period_gte`, `report_period_lte`, `report_period_gt`, `report_period_lt`: filter by report period date (`YYYY-MM-DD`).

### Periods

| `period` | Reports | Lines of each item | `fiscal_period` |
| - | - | - | - |
| `annual` | Each annual report | All lines | `FY2025` |
| `quarterly` | Each quarterly report, and the annual report as the fourth quarter | The balances, and the numbers of the three months | `2025-Q3` |
| `six_months_ytd` | Each second-quarter report | The balances, and the numbers of the first six months of the fiscal year | `2025-6M` |
| `nine_months_ytd` | Each third-quarter report | The balances, and the numbers of the first nine months of the fiscal year | `2025-9M` |

The cost, the fair value, and the unrealized gains and losses are balances on the last day of the report's period, so every `period` returns them. The gains and losses on securities the company sold, and the interest it earned, are numbers for a span of time. A quarterly report can state those for the three months, for the fiscal year so far, or both. Use `quarterly` to read the three months, and `six_months_ytd` or `nine_months_ytd` to read the fiscal year so far.

A company files no separate report for its fourth quarter, so the annual report stands in for it under `quarterly`, with its balances only. Nothing is calculated for the fourth quarter.

### Available for Sale and Held to Maturity

A company sorts its bonds into two main groups, and the standard names keep them apart:

| Group | On the balance sheet at | Names start with |
| - | - | - |
| Available for sale | Fair value | `Debt Securities, Available-for-Sale` |
| Held to maturity | Cost | `Debt Securities, Held-to-Maturity` |

A loss on a bond held to maturity is not on the balance sheet. It is in this dataset: JPMorgan's report at December 31, 2025 states bonds held to maturity at a cost of $270,134 million, with a fair value of $253,344 million and unrealized losses of \$17,053 million.

### With and Without Accrued Interest

A company can state the cost and the fair value of its bonds with the interest earned and not yet received, or without it. The standard names differ: `Debt Securities, Available-for-Sale` and `Debt Securities, Available-for-Sale, Excluding Accrued Interest` are two lines, and a company reports one of them. To find the fair value at every company, look for both names.

### Rows

A row is usually one kind of security. Apple's report at September 26, 2026 has the row `U.S. Treasury securities | Level 2`, with the cost, the unrealized gains, the unrealized losses, and the fair value of those bonds. The parts of a row name and their order are the company's own; `Level 2` says how the fair value was measured.

### Response

Each item under `investment_securities` is one report. It carries `ticker`, `report_period`, `fiscal_period`, `period`, `currency`, `accession_number`, and `filing_url` (a link to the report), and `tables`, in the company's own order.

A table:

| Field | Meaning |
| - | - |
| `name` | The company's own title of the table. |
| `line_items` | The lines for the company as a whole, such as the totals of all securities. |
| `rows` | The rows of the table. A row is usually one kind of security. |

A row:

| Field | Meaning |
| - | - |
| `name` | The company's own words for the row. When the company names a row in two or more parts, the parts are joined with `\|`. |
| `line_items` | The lines of that row. |

A line:

| Field | Meaning |
| - | - |
| `label` | The company's own words for the line. |
| `standard_label` | The standard accounting name of the line, the same at every company. `null` for a line the company defined itself. |
| `value` | The value as the company filed it. |
| `unit` | The unit of the value: a currency code such as `USD`, `percent`, `duration`, `date`, `pure` for a plain number such as a ratio, or a unit the company defined itself. |

Every key is always there. A table with no rows has `"rows": []`, and a table with rows only has `"line_items": []`.

Every value is the number the company filed:

* Nothing is calculated. A total appears only when the company reported one.
* A sign is never changed. An unrealized loss is usually filed as a positive number.

A corrected report replaces the report it corrects.

### Standard Names

Use `standard_label` to find the same line at every company. The most common names:

| `standard_label` | What it is |
| - | - |
| `Debt Securities, Available-for-Sale` | The fair value of the bonds available for sale |
| `Debt Securities, Available-for-Sale, Amortized Cost` | The cost of those bonds |
| `Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax` | The unrealized gains on those bonds |
| `Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax` | The unrealized losses on those bonds |
| `Debt Securities, Available-for-Sale, Excluding Accrued Interest` | The fair value of those bonds, without accrued interest |
| `Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, Less than 12 Months` | The fair value of the bonds that have been worth less than their cost for under a year |
| `Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, Year One` | The fair value of the bonds that come due within one year. Later bands follow |
| `Debt Securities, Available-for-Sale, Realized Gain (Loss)` | The gain or loss on the bonds the company sold |
| `Debt Securities, Held-to-Maturity, Fair Value` | The fair value of the bonds held to maturity |
| `Debt Securities, Held-to-Maturity, Accumulated Unrecognized Loss` | The unrealized losses on the bonds held to maturity |
| `Equity Securities, FV-NI` | The listed shares the company holds, at the market price |
| `Marketable Securities` | Bonds and listed shares stated as one line |

Standard names change a little over the years. Each report carries the names that were in use when it was filed, so a 2018 report can name a line differently than a 2025 report.

### Example

```python Investment Securities theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
import requests

# add your API key to the headers
headers = {
    "X-API-KEY": "your_api_key_here"
}

# set your query params
params = {
    "ticker": "AAPL",       # stock ticker
    "period": "annual",     # annual, quarterly, six_months_ytd, or nine_months_ytd
    "limit": 1,             # number of report periods to return
}

# make API request
url = "https://api.financialdatasets.ai/financials/investment-securities"
response = requests.get(url, headers=headers, params=params)

# parse the investment securities from the response
investment_securities = response.json().get("investment_securities")

# print the latest report: each table, its lines, and its rows
def print_lines(line_items, indent):
    for line in line_items:
        print(f"{indent}{line['label']}: {line['value']} {line['unit']}")

for table in investment_securities[0]["tables"]:
    print(table["name"])
    print_lines(table["line_items"], "  ")
    for row in table["rows"]:
        print("  " + row["name"])
        print_lines(row["line_items"], "    ")
```

```json Response theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "investment_securities": [
    {
      "ticker": "AAPL",
      "report_period": "2026-09-26",
      "fiscal_period": "FY2026",
      "period": "annual",
      "currency": "USD",
      "accession_number": "0000320193-26-000026",
      "filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/aapl-20260926.htm",
      "tables": [
        {
          "name": "Financial Instruments - Cash, Cash Equivalents and Marketable Securities (Details)",
          "line_items": [
            {
              "label": "Current Marketable Securities",
              "standard_label": "Marketable Securities, Current",
              "value": 20417000000,
              "unit": "USD"
            },
            {
              "label": "Non-Current Marketable Securities",
              "standard_label": "Marketable Securities, Noncurrent",
              "value": 80213000000,
              "unit": "USD"
            }
          ],
          "rows": [
            {
              "name": "U.S. Treasury securities | Level 2",
              "line_items": [
                {
                  "label": "Marketable Securities, Debt, Adjusted Cost",
                  "standard_label": "Debt Securities, Available-for-Sale, Amortized Cost",
                  "value": 19413000000,
                  "unit": "USD"
                },
                {
                  "label": "Marketable Securities, Debt, Unrealized Gains",
                  "standard_label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax",
                  "value": 1000000,
                  "unit": "USD"
                },
                {
                  "label": "Marketable Securities, Debt, Unrealized Losses",
                  "standard_label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax",
                  "value": 507000000,
                  "unit": "USD"
                },
                {
                  "label": "Marketable Securities, Debt, Fair Value",
                  "standard_label": "Debt Securities, Available-for-Sale",
                  "value": 18907000000,
                  "unit": "USD"
                },
                {
                  "label": "Current Marketable Securities",
                  "standard_label": "Marketable Securities, Current",
                  "value": 4793000000,
                  "unit": "USD"
                },
                {
                  "label": "Non-Current Marketable Securities",
                  "standard_label": "Marketable Securities, Noncurrent",
                  "value": 14087000000,
                  "unit": "USD"
                }
              ]
            },
            {
              "name": "U.S. agency securities | Level 2",
              "line_items": [
                {
                  "label": "Marketable Securities, Debt, Adjusted Cost",
                  "standard_label": "Debt Securities, Available-for-Sale, Amortized Cost",
                  "value": 5164000000,
                  "unit": "USD"
                },
                {
                  "label": "Marketable Securities, Debt, Unrealized Gains",
                  "standard_label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax",
                  "value": 0,
                  "unit": "USD"
                },
                {
                  "label": "Marketable Securities, Debt, Unrealized Losses",
                  "standard_label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax",
                  "value": 106000000,
                  "unit": "USD"
                },
                {
                  "label": "Marketable Securities, Debt, Fair Value",
                  "standard_label": "Debt Securities, Available-for-Sale",
                  "value": 5058000000,
                  "unit": "USD"
                },
                {
                  "label": "Current Marketable Securities",
                  "standard_label": "Marketable Securities, Current",
                  "value": 2459000000,
                  "unit": "USD"
                },
                {
                  "label": "Non-Current Marketable Securities",
                  "standard_label": "Marketable Securities, Noncurrent",
                  "value": 2034000000,
                  "unit": "USD"
                }
              ]
            },
            {
              "name": "Corporate debt securities | Level 2",
              "line_items": [
                {
                  "label": "Marketable Securities, Debt, Adjusted Cost",
                  "standard_label": "Debt Securities, Available-for-Sale, Amortized Cost",
                  "value": 48229000000,
                  "unit": "USD"
                },
                {
                  "label": "Marketable Securities, Debt, Unrealized Gains",
                  "standard_label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax",
                  "value": 29000000,
                  "unit": "USD"
                },
                {
                  "label": "Marketable Securities, Debt, Unrealized Losses",
                  "standard_label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax",
                  "value": 1323000000,
                  "unit": "USD"
                },
                {
                  "label": "Marketable Securities, Debt, Fair Value",
                  "standard_label": "Debt Securities, Available-for-Sale",
                  "value": 46935000000,
                  "unit": "USD"
                },
                {
                  "label": "Current Marketable Securities",
                  "standard_label": "Marketable Securities, Current",
                  "value": 9875000000,
                  "unit": "USD"
                },
                {
                  "label": "Non-Current Marketable Securities",
                  "standard_label": "Marketable Securities, Noncurrent",
                  "value": 36960000000,
                  "unit": "USD"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
```

The response above is shortened: the full response lists every table, every row, and every line.

### FAQ

#### What is the difference between this dataset and the balance sheet?

The balance sheet shows the securities as one or two numbers. This dataset gives the detail: each kind of security, its cost, its unrealized gains and losses, its fair value, and when the bonds come due.

#### What is the difference between this dataset and Equity Investments?

This dataset holds the bonds and the listed shares a company holds as a portfolio. [Equity Investments](https://docs.financialdatasets.ai/api/financials/equity-investments.md) holds the stakes that give the company a say in another company, such as a joint venture, and the shares of private companies.

#### Is the data standardized?

No. The rows and lines are the company's own, in the company's own order. Each standard line also carries `standard_label`, a name that is the same at every company, so you can find the same line across companies.

#### Why does a bank report a loss here that is not on its balance sheet?

A bond held to maturity is on the balance sheet at its cost. When interest rates rise, its fair value falls below the cost, and the company reports the difference as an unrealized loss in its report, not on the balance sheet.

#### Why is a number from the report not in the response?

The dataset includes a line only when it is certain that the line is about investment securities: a standard line of such securities, or a line the company defined itself in a table of such lines. A line the company defined itself in a table of several subjects, such as a table that also lists cash, is left out. The dataset includes only the amounts of the report's own period, so an amount of an earlier year is in that year's report.

#### What does a company with no investment securities return?

An empty `investment_securities` list. An empty response is not charged.

#### How far back does the data go?

To 2016.

#### Which periods are available?

Annual, quarterly, the first six months, and the first nine months of the fiscal year. There is no TTM.

#### Can an AI agent use this data?

Yes. Claude, ChatGPT, Cursor, and other MCP clients reach it through the [Financial Datasets MCP server](https://docs.financialdatasets.ai/mcp-server.md), with the `get_financials` tool and the dataset `investment_securities`.

### Related

> [card] [Announcement](https://www.financialdatasets.ai/news/investment-securities)
>
> Introducing the Investment Securities API, on the Financial Datasets news page.

> [card] [MCP server](https://docs.financialdatasets.ai/mcp-server.md)
>
> Use Investment Securities from Claude, ChatGPT, Cursor, and other AI apps.


## OpenAPI

````yaml GET /financials/investment-securities
openapi: 3.0.1
info:
  title: Financial Datasets API
  description: >-
    Stock market API with real-time and historical financial data for 27,000+
    tickers over 30+ years. Financial statements, equity prices, insider trades,
    SEC filings, and more.
  version: 1.0.0
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  contact:
    name: API Support
    url: mailto:support@financialdatasets.ai
    email: support@financialdatasets.ai
  termsOfService: https://financialdatasets.ai/terms-of-use
servers:
  - url: https://api.financialdatasets.ai/
    description: Production server
security:
  - X-API-KEY: []
tags:
  - name: Financial Statements
    description: Access to income statements, balance sheets, and cash flow statements
  - name: Market Data
    description: Real-time and historical price data
  - name: Tokenized Stocks
    description: The price of a stock token on Base
  - name: Company Information
    description: Company facts like ticker, name, and description
  - name: Earnings
    description: Earnings data and related information
  - name: News
    description: Real-time and historical news articles
  - name: SEC Filings
    description: SEC filings and regulatory documents
  - name: Insider Sale Notices
    description: SEC Form 144 notices of proposed insider stock sales
  - name: Insider Trades
    description: Insider trading activity and transactions
  - name: Politician Trades
    description: Stock trades disclosed by members of Congress
  - name: Activist Ownership
    description: Activist stakes from SEC Schedule 13D filings, in real time
  - name: Beneficial Ownership
    description: >-
      Holders of more than 5% of a company's shares, from SEC Schedules 13D and
      13G
  - name: Insider Ownership
    description: Insider ownership statements from SEC Forms 3 and 5
  - name: Institutional Holdings
    description: SEC-direct 13F equity holdings of institutional investment managers
  - name: IPOs
    description: >-
      Upcoming IPOs from SEC registration statements (Form S-1), with extracted
      pre-IPO financial statements
  - name: Index Funds
    description: >-
      ETF and index-fund holdings, weights, and the funds that hold a given
      security
  - name: Financial Metrics
    description: Financial ratios, metrics, and key performance indicators
  - name: Macroeconomics
    description: Real-time and historical macroeconomic data like interest rates
  - name: KPIs
    description: Sector-specific operational KPIs extracted from earnings releases.
  - name: Agent Account
    description: Self-serve account creation and funding for AI agents.
  - name: Search
    description: Search financial documents with one question and get cited passages back
paths:
  /financials/investment-securities:
    get:
      tags:
        - Financial Statements
      summary: Get investment securities
      description: >-
        Get the bonds and shares a company holds as investments, as the company
        reported them in its annual and quarterly reports: each kind of security
        with its cost, its unrealized gains and losses, and its fair value, when
        the bonds come due, and the gains and losses on what the company sold.
        Stakes in other companies are in /financials/equity-investments. Every
        value is the number the company filed; nothing is calculated.
      operationId: getInvestmentSecurities
      parameters:
        - name: ticker
          in: query
          description: The ticker symbol. Required if cik is not provided.
          required: false
          schema:
            type: string
        - name: cik
          in: query
          description: >-
            The Central Index Key (CIK) of the company. Required if ticker is
            not provided.
          required: false
          schema:
            type: string
        - name: period
          in: query
          description: >-
            The kind of report. `annual` returns each annual report. `quarterly`
            returns each quarterly report, and the annual report as the fourth
            quarter with its balances only. `six_months_ytd` and
            `nine_months_ytd` return the second-quarter and third-quarter
            reports with the numbers of the fiscal year so far.
          required: true
          schema:
            type: string
            enum:
              - annual
              - quarterly
              - six_months_ytd
              - nine_months_ytd
        - name: limit
          in: query
          description: >-
            The maximum number of report periods to return, newest first. This
            is the total across all pages, not a page size: each page holds up
            to 10 records, linked by `next_page_url`.
          schema:
            type: integer
            format: int32
            default: 4
            maximum: 20
        - $ref: '#/components/parameters/ReportPeriod'
        - $ref: '#/components/parameters/ReportPeriodGte'
        - $ref: '#/components/parameters/ReportPeriodLte'
        - $ref: '#/components/parameters/ReportPeriodGt'
        - $ref: '#/components/parameters/ReportPeriodLt'
        - name: cursor
          in: query
          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.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Investment Securities response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvestmentSecuritiesResponse'
        '400':
          $ref: '#/components/responses/BadRequestError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '402':
          $ref: '#/components/responses/PaymentRequiredError'
components:
  parameters:
    ReportPeriod:
      name: report_period
      in: query
      description: Filter by exact report period date in YYYY-MM-DD format.
      required: false
      schema:
        type: string
        format: date
    ReportPeriodGte:
      name: report_period_gte
      in: query
      description: >-
        Filter by report period greater than or equal to date in YYYY-MM-DD
        format.
      required: false
      schema:
        type: string
        format: date
    ReportPeriodLte:
      name: report_period_lte
      in: query
      description: Filter by report period less than or equal to date in YYYY-MM-DD format.
      required: false
      schema:
        type: string
        format: date
    ReportPeriodGt:
      name: report_period_gt
      in: query
      description: Filter by report period greater than date in YYYY-MM-DD format.
      required: false
      schema:
        type: string
        format: date
    ReportPeriodLt:
      name: report_period_lt
      in: query
      description: Filter by report period less than date in YYYY-MM-DD format.
      required: false
      schema:
        type: string
        format: date
  schemas:
    InvestmentSecuritiesResponse:
      type: object
      properties:
        investment_securities:
          type: array
          items:
            $ref: '#/components/schemas/InvestmentSecurities'
        next_page_url:
          type: string
          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.
    InvestmentSecurities:
      description: The investment securities of one report.
      allOf:
        - $ref: '#/components/schemas/ReportMetadata'
        - type: object
          properties:
            tables:
              type: array
              description: The tables, in the company's own order.
              items:
                $ref: '#/components/schemas/ReportedTable'
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: A short error message.
        message:
          type: string
          description: A more detailed error message.
    ReportMetadata:
      type: object
      description: 'The fields every item carries: the company, the report and the period.'
      properties:
        ticker:
          type: string
          description: The ticker symbol.
        report_period:
          type: string
          format: date
          description: The last day of the period the report covers.
        fiscal_period:
          type: string
          description: >-
            The fiscal period: `FY2025` for an annual report, `2025-Q3` for a
            quarter, `2025-6M` or `2025-9M` for the fiscal year so far.
        period:
          type: string
          enum:
            - annual
            - quarterly
            - six_months_ytd
            - nine_months_ytd
          description: The period that was asked for.
        currency:
          type: string
          description: The reporting currency (e.g., USD).
        accession_number:
          type: string
          description: The accession number of the report.
        filing_url:
          type: string
          description: A link to the report.
    ReportedTable:
      type: object
      description: One table, as the company presents it.
      properties:
        name:
          type: string
          description: The company's own title of the table.
        line_items:
          type: array
          description: >-
            The lines for the company as a whole. Empty for a table that holds
            rows only.
          items:
            $ref: '#/components/schemas/ReportedLine'
        rows:
          type: array
          description: The rows of the table. Empty for a table with no row.
          items:
            $ref: '#/components/schemas/ReportedRow'
    ReportedLine:
      type: object
      description: One reported line.
      properties:
        label:
          type: string
          description: The company's own words for the line.
        standard_label:
          type: string
          nullable: true
          description: >-
            The standard accounting name of the line, the same at every company.
            Null for a line the company defined itself.
        value:
          oneOf:
            - type: number
            - type: string
          description: >-
            The value as the company filed it: a number, a date string
            (`YYYY-MM-DD`) when `unit` is `date`, or a length of time (`P3Y` is
            3 years) when `unit` is `duration`.
        unit:
          type: string
          description: >-
            The unit of the value: a currency code such as `USD`, `percent`
            (2.95% is 0.0295), `date`, `duration`, `shares`, `USD/shares` for a
            price or a fair value per share, `pure` for a plain number such as a
            ratio, or a unit the company defined itself.
    ReportedRow:
      type: object
      description: >-
        One row of a table. In a debt schedule it is usually one borrowing (a
        bond, a note, a loan, or a credit line). In stock-based compensation it
        is usually one kind of award or one stock plan. In share repurchases it
        is usually one repurchase program. In deferred revenue it is usually one
        time band of the revenue under contract, named by its first day. In
        customer concentrations it is usually one concentration, such as one
        customer measured against revenue. In segment costs it is one segment,
        or a part that ties the segments to the whole company. In income taxes
        it can be a country or a state. In equity investments it is usually one
        owned company. In investment securities it is usually one kind of
        security. It can also be another split the company reports.
      properties:
        name:
          type: string
          description: >-
            The company's own words for the row. When the company names a row in
            two or more parts, the parts are joined with ` | `.
        line_items:
          type: array
          description: The lines of the row.
          items:
            $ref: '#/components/schemas/ReportedLine'
  responses:
    BadRequestError:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Bad Request
            message: Invalid request parameters
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Unauthorized
            message: Invalid API key provided
    PaymentRequiredError:
      description: The request requires a paid subscription
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Payment Required
            message: >-
              This endpoint requires a paid subscription. Please upgrade your
              plan.
  securitySchemes:
    X-API-KEY:
      type: apiKey
      name: X-API-KEY
      description: API key for authentication.
      in: header

````

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