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

> ## Agent Instructions
> These docs cover the Darvas financial data API, its MCP server, data API and Darvas Pro+ webhooks, and Pine Script custom indicators for Darvas charts.
> https://docs.darvas.app/llms.txt lists every indexed page with a summary, and https://docs.darvas.app/llms-full.txt holds them in one file. Add .md to any page URL to read that page as Markdown. The lookup lists of tickers, types and series are named at https://docs.darvas.app/ai-agents.
> The docs MCP server https://docs.darvas.app/mcp searches and reads these docs. It needs no key.
> Call the REST API at https://api.darvas.app/v1. Send the API key, which starts with dvk_, in the X-API-KEY header or as Authorization: Bearer. The OpenAPI 3.1 spec of all 168 operations is https://docs.darvas.app/openapi.yaml.
> Name a company by ticker or cik. A share class takes a dot or a dash, so BRK.B and BRK-B name the same shares. Dates are YYYY-MM-DD.
> A list answer holds one page. Request its next_page_url as it is until the answer has none. limit counts rows across all pages.
> Errors are JSON with a stable error code and a message: 400 VALIDATION_ERROR, 401 UNAUTHORIZED, 403 PLAN_REQUIRED, 404 NOT_FOUND, 429 RATE_LIMITED or QUOTA_EXCEEDED, 500 INTERNAL_ERROR and 503 UNAVAILABLE. On a 429, wait the seconds in Retry-After. 1 credit = 1 successful call: a 2xx answer with data costs one credit however many rows it holds (at most 1,000 a page), and empty answers, errors and FINRA /short-volume cost 0 credits.
> The Financial Data MCP server is https://api.darvas.app/mcp (Streamable HTTP, protocol 2025-11-25, the same API key in X-API-KEY or as a Bearer token). tools/list answers 8 flagship tools plus search_data_tools and call_data_tool by default; ?mode=full lists all 164 tools and ?toolsets=sec,crypto,macro lists domains. Every tool is callable by name, takes response_format (json, compact or tsv) and fields, and a list answer's cursor value goes in the cursor argument. The darvas://catalog/* resources cost 0 credits. Setup for each client is at https://docs.darvas.app/mcp-server.
> The data API covers SEC filers and their filings, statements, XBRL facts, debt maturities, ownership and earnings, US stock prices, technicals and FINRA short volume, macro series and a global economic calendar.
> Its crypto data covers prices, indices, order books, order flow, volume profiles, derivatives, options, liquidations, spot ETF flows and a screener across 9 exchanges. It also covers DeFi protocols, stablecoins, yields and DEX pairs, and Polymarket, Kalshi and OKX prediction markets. https://docs.darvas.app/market-coverage gives the history and update time of each dataset.
> https://docs.darvas.app/ai-agents names the endpoint and the MCP tool that answer each kind of question about these datasets.
> Custom indicators for Darvas charts are Pine Script v5 or v6 indicator() or strategy() scripts. Darvas rewrites Pine v1 to v4 to v5 and runs no other indicator language. Start at https://docs.darvas.app/pine-script/introduction.
> https://docs.darvas.app/pine-script/support lists the Pine Script that Darvas runs. https://docs.darvas.app/pine-script/request-security covers request.security() and request.financial(), and https://docs.darvas.app/pine-script/limits lists the run limits.
> Darvas Pro+ webhooks send a signed POST for alarm fires and pauses, scheduled answers, economic calendar alerts, ETF flow updates, ended connections and the data API events. https://docs.darvas.app/pro/webhooks lists every event, its object and how to verify the Darvas-Signature header.

# Company Ownership Summary API: 13F, 13D, Insiders

> Read one company's ownership in a call: 13F institutions and their changes, 13D and 13G stakes, insider buying and sentiment, and ETF and fund holders.

## Overview

This endpoint answers who owns a company in one call. It combines the 13F institutions with the largest holders and their quarter-over-quarter changes, the 13D activist and 13G passive stakes above 5%, insider open-market buying and selling over `insider_window_days` with a sentiment score, and the ETFs and mutual funds that hold the stock from Form N-PORT.

Each section cites the filings it reads.

| Coverage | Details |
| - | - |
| Companies | Every SEC filer, by ticker or CIK |
| Sections | `institutional_13f`, `beneficial_13d_13g`, `insider_activity`, `etf_and_fund_holders` |
| Insider window | 7 to 365 days; 90 by default |
| MCP tool | `get_ownership_summary` on the [data API MCP server](https://docs.darvas.app/mcp-server.md) |

## Example

```python theme={null}
import os
import requests

headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
answer = requests.get(
    "https://api.darvas.app/v1/ownership/summary",
    headers=headers,
    params={
        "ticker": "TSLA",
    },
).json()
print(answer["company_name"], answer["as_of"])
print(answer["institutional_13f"])
print(answer["insider_activity"])
```

```bash theme={null}
curl -H "X-API-KEY: $DARVAS_API_KEY" \
  "https://api.darvas.app/v1/ownership/summary?ticker=TSLA"
```


## OpenAPI

````yaml openapi.yaml GET /ownership/summary
openapi: 3.1.1
info:
  title: Darvas Data API
  version: 0.9.0
  summary: >-
    Company, filing, insider, institutional, market and macro data for every SEC
    filer, US stocks, UK and French companies and crypto markets.
  description: >-
    Every value names its source. Field names follow the common financial data
    API shapes, so an existing client reads these answers unchanged; extra
    fields come after them. Send the API key in the X-API-KEY header or as a
    Bearer token. Dates are ISO 8601 and times are RFC 3339 in UTC. Billing: 1
    credit = 1 successful call. A page holds at most 1,000 rows and costs one
    credit however many it holds; an empty answer, a refusal, an error and every
    FINRA /short-volume call cost 0 credits.
  termsOfService: https://darvas.app/terms
  contact:
    name: Darvas data
    url: https://darvas.app
    email: support@darvas.app
  license:
    name: Proprietary
    identifier: LicenseRef-Darvas-Proprietary
servers:
  - url: https://api.darvas.app/v1
    description: Production.
  - url: https://darvas.app/api/data/v1
    description: Production, on the darvas.app host.
security:
  - apiKey: []
  - bearerKey: []
tags:
  - name: company
    description: Company profiles from SEC submissions.
  - name: crypto
    description: >-
      Candles, trades, order books, order flow, derivatives, options, screens
      and market structure of crypto instruments from Darvas's own market data.
  - name: defi
    description: >-
      Multi-chain DeFi protocol TVL, stablecoin supply, yield pools, and
      on-chain DEX liquidity.
  - name: earnings
    description: >-
      Each filing that reports a period, the 8-K earnings release, then the 10-Q
      or 10-K, and the KPIs, guidance and non-GAAP metrics of the releases.
  - name: filings
    description: >-
      SEC filing lists, the items of 10-K, 10-Q and 8-K filings, and search over
      them.
  - name: financials
    description: >-
      Standardized income statements, balance sheets and cash flow statements
      from XBRL filings.
  - name: funds
    description: Holdings of registered funds and ETFs from Form N-PORT.
  - name: insiders
    description: >-
      Insider trades and holdings from Forms 3, 4 and 5, and sale notices from
      Form 144.
  - name: institutions
    description: Positions of investment managers from Form 13F reports.
  - name: ipos
    description: Registration statements and prospectuses of companies going public.
  - name: macro
    description: >-
      Policy rates, the Treasury yield curve, inflation, jobs and GDP from their
      publishers.
  - name: markets
    description: >-
      Market structure data: the shares that failed to settle each day, from
      SEC, and futures positions by trader group, from the CFTC.
  - name: news
    description: >-
      Company 8-K filings and the press releases of the Federal Reserve, the
      SEC, the BEA and the BLS.
  - name: ownership
    description: Owners of more than 5% from Schedules 13D and 13G.
  - name: prediction-markets
    description: >-
      Binary event contract odds and series across Polymarket, Kalshi and OKX
      plus cross-venue arbitrage spreads.
  - name: tokenized-stocks
    description: >-
      Coinbase stock tokens on Base, priced by their USDC pools, and the stock
      instruments of OKX and Bybit.
  - name: webhooks
    description: >-
      Destinations that receive a signed event when new filings, statements,
      insider forms or macro releases arrive.
externalDocs:
  description: Market coverage
  url: https://docs.darvas.app/market-coverage
paths:
  /ownership/summary:
    get:
      tags:
        - institutions
      summary: Get unified company ownership summary
      description: >-
        Unified per-company ownership snapshot combining Form 13F institutional
        ownership and QoQ changes, Schedule 13D activist and 13G passive stakes,
        recent Form 4/5 open-market insider net buying and sentiment, and Form
        N-PORT ETF/mutual fund holders.
      operationId: getOwnershipSummary
      parameters:
        - $ref: '#/components/parameters/Ticker'
        - $ref: '#/components/parameters/Cik'
        - $ref: '#/components/parameters/OwnershipSummaryInsiderWindowDays'
      responses:
        '200':
          description: 'Get unified company ownership summary: one page.'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            X-Quota-Unit:
              $ref: '#/components/headers/QuotaUnit'
            X-Credits-Used:
              $ref: '#/components/headers/CreditsUsed'
            X-Quota-Limit:
              $ref: '#/components/headers/QuotaLimit'
            X-Quota-Remaining:
              $ref: '#/components/headers/QuotaRemaining'
            X-Quota-Reset:
              $ref: '#/components/headers/QuotaReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnershipSummaryResponse'
              example:
                ticker: AAPL
                cik: '0000320193'
                company_name: Apple Inc.
                sector: Technology
                industry: Electronic Computers
                cusips:
                  - '037833100'
                shares_outstanding_reference:
                  shares_outstanding: 15000000000
                  report_period: '2026-09-26'
                  accession_number: 0000320193-26-000105
                as_of: '2026-11-30T00:00:00.000Z'
                units:
                  shares_outstanding: shares
                  total_institutional_shares: shares
                  prior_institutional_shares: shares
                  shares_change_qoq: shares
                  shares_change_qoq_pct: percent (%)
                  total_institutional_value_usd: USD
                  institutional_ownership_pct: percent (%)
                  top_10_concentration_pct: percent (%)
                  put_call_share_ratio: ratio (put_shares / call_shares)
                  activist_combined_pct: percent (%)
                  passive_combined_pct: percent (%)
                  percent_of_class_pct: percent (%)
                  insider_window_days: calendar days
                  total_buy_shares: shares
                  total_sell_shares: shares
                  net_shares: shares
                  total_buy_value_usd: USD
                  total_sell_value_usd: USD
                  net_value_usd: USD
                  buy_sell_dollar_ratio: ratio (buy_usd / sell_usd)
                  buy_share_of_total_value_pct: percent (%)
                  net_insider_sentiment_score: score (-100 to +100)
                  total_fund_shares: shares
                  total_fund_value_usd: USD
                  fund_ownership_pct: percent (%)
                  weight_pct: percent (% of fund net assets)
                methodology: >-
                  Combines Form 13F, Schedule 13D/13G, Form 4/5, and Form N-PORT
                  datasets against XBRL shares outstanding.
                institutional_13f:
                  report_period: '2026-09-30'
                  prior_report_period: '2026-06-30'
                  institutional_holders_count: 4200
                  prior_holders_count: 4050
                  holders_change_qoq: 150
                  total_institutional_shares: 9200000000
                  prior_institutional_shares: 9050000000
                  shares_change_qoq: 150000000
                  shares_change_qoq_pct: 1.66
                  total_institutional_value_usd: 2024000000000
                  prior_institutional_value_usd: 1900500000000
                  value_change_qoq_usd: 123500000000
                  institutional_ownership_pct: 61.3333
                  top_10_concentration_pct: 32.5
                  put_call_share_ratio: 0.625
                  position_changes:
                    new_positions_count: 240
                    added_positions_count: 1610
                    reduced_positions_count: 1330
                    sold_out_positions_count: 90
                  top_holders: []
                beneficial_13d_13g:
                  total_beneficial_filers_count: 2
                  activist_stakes_count: 0
                  passive_stakes_count: 2
                  activist_combined_pct: 0
                  passive_combined_pct: 16.4
                  activist_stakes: []
                  top_passive_stakes: []
                insider_activity:
                  insider_window_days: 90
                  window_start: '2026-09-01'
                  window_end: '2026-11-30'
                  distinct_buyers: 2
                  distinct_sellers: 1
                  buy_trade_count: 2
                  sell_trade_count: 1
                  total_buy_shares: 15000
                  total_sell_shares: 5000
                  net_shares: 10000
                  total_buy_value_usd: 3300000
                  total_sell_value_usd: 1100000
                  net_value_usd: 2200000
                  buy_sell_dollar_ratio: 3
                  buy_share_of_total_value_pct: 75
                  net_insider_sentiment_score: 52.5
                  sentiment_label: bullish
                  recent_trades: []
                etf_and_fund_holders:
                  total_funds_holding_count: 420
                  total_fund_shares: 2100000000
                  total_fund_value_usd: 462000000000
                  fund_ownership_pct: 14
                  top_funds: []
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/PlanRequired'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    Ticker:
      name: ticker
      in: query
      required: false
      description: The ticker, in any case. Ignored when cik is sent.
      schema:
        type: string
        pattern: ^[A-Za-z0-9][A-Za-z0-9.-]{0,11}$
        maxLength: 12
      example: AAPL
    Cik:
      name: cik
      in: query
      required: false
      description: The SEC Central Index Key, with or without leading zeros.
      schema:
        type: string
        pattern: ^[0-9]{1,10}$
        maxLength: 10
      example: '320193'
    OwnershipSummaryInsiderWindowDays:
      name: insider_window_days
      in: query
      required: false
      description: >-
        Lookback window in calendar days for Form 4/5 insider activity summary
        (7 to 365).
      schema:
        type: integer
        format: int32
        minimum: 7
        maximum: 365
        default: 90
      example: 90
  headers:
    RateLimitLimit:
      description: Requests per minute the key may send; on a 401 the limit a new key gets.
      schema:
        type: integer
        format: int32
        minimum: 1
        maximum: 6000
      example: 60
    QuotaUnit:
      description: >-
        What the quota counts: credits. One credit is one successful call that
        returns data.
      schema:
        type: string
        enum:
          - credits
        maxLength: 7
      example: credits
    CreditsUsed:
      description: >-
        Credits this answer cost: one for a 2xx answer with data, however many
        rows it holds. An empty answer, a refusal, an error and a FINRA
        /short-volume answer cost 0.
      schema:
        type: integer
        format: int64
        minimum: 0
        maximum: 9007199254740991
      example: 1
    QuotaLimit:
      description: >-
        The plan's credits for its period plus the account's pay-as-you-go
        credit balance, as the request found them.
      schema:
        type: integer
        format: int64
        minimum: 0
        maximum: 9007199254740991
      example: 2500000
    QuotaRemaining:
      description: >-
        Credits left after this answer: the plan's own first, then the credit
        balance.
      schema:
        type: integer
        format: int64
        minimum: 0
        maximum: 9007199254740991
      example: 2499999
    QuotaReset:
      description: >-
        When the plan's credits start again, or the trial ends, in seconds since
        1970 (UTC). Pay-as-you-go answers leave it out: their credits never
        expire.
      schema:
        type: integer
        format: int64
        minimum: 0
        maximum: 4102444800
      example: 1767225600
    RetryAfter:
      description: Seconds to wait before the next request.
      schema:
        type: integer
        format: int32
        minimum: 1
        maximum: 60
      example: 1
  schemas:
    OwnershipSummaryResponse:
      type: object
      description: >-
        Answer of GET /ownership/summary combining 13F, Schedule 13D/13G, Form
        4/5 insiders, and Form N-PORT ETF/funds.
      additionalProperties: false
      required:
        - cik
        - cusips
        - shares_outstanding_reference
        - as_of
        - units
        - methodology
        - institutional_13f
        - beneficial_13d_13g
        - insider_activity
        - etf_and_fund_holders
      properties:
        ticker:
          type:
            - string
            - 'null'
          pattern: ^[A-Z0-9][A-Z0-9.-]{0,11}$
          maxLength: 12
          description: Company ticker.
          examples:
            - AAPL
        cik: 525c4b1d-7bd0-46b3-8700-278808042258
        company_name:
          type:
            - string
            - 'null'
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 300
          description: The company's name; null when SEC lists none.
          examples:
            - Apple Inc.
        sector: 48203b39-063d-476a-8b30-8ee0159d4ba4
        industry: 223fd92c-ccfd-4c36-a01a-abd72646292e
        cusips:
          type: array
          maxItems: 50
          description: CUSIPs mapped to this ticker.
          items:
            type: string
            pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
            maxLength: 12
          examples:
            - - '037833100'
        shares_outstanding_reference:
          type: object
          description: Latest XBRL shares outstanding denominator.
          additionalProperties: false
          required:
            - shares_outstanding
            - report_period
            - accession_number
          properties:
            shares_outstanding:
              type:
                - number
                - 'null'
              format: double
              description: Outstanding shares count.
              examples:
                - 15000000000
            report_period:
              type:
                - string
                - 'null'
              format: date
              description: Statement period end.
              examples:
                - '2026-09-26'
            accession_number:
              type:
                - string
                - 'null'
              pattern: ^[0-9]{10}-[0-9]{2}-[0-9]{6}$
              maxLength: 20
              description: Source SEC accession number.
              examples:
                - 0000320193-26-000105
          examples:
            - shares_outstanding: 15000000000
              report_period: '2026-09-26'
              accession_number: 0000320193-26-000105
        as_of:
          type: string
          format: date-time
          description: UTC timestamp when the summary was generated.
          examples:
            - '2026-11-30T00:00:00.000Z'
        units:
          type: object
          description: Units of the ownership summary fields.
          additionalProperties: false
          required:
            - shares_outstanding
            - total_institutional_shares
            - prior_institutional_shares
            - shares_change_qoq
            - shares_change_qoq_pct
            - total_institutional_value_usd
            - institutional_ownership_pct
            - top_10_concentration_pct
            - put_call_share_ratio
            - activist_combined_pct
            - passive_combined_pct
            - percent_of_class_pct
            - insider_window_days
            - total_buy_shares
            - total_sell_shares
            - net_shares
            - total_buy_value_usd
            - total_sell_value_usd
            - net_value_usd
            - buy_sell_dollar_ratio
            - buy_share_of_total_value_pct
            - net_insider_sentiment_score
            - total_fund_shares
            - total_fund_value_usd
            - fund_ownership_pct
            - weight_pct
          properties:
            shares_outstanding:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for shares_outstanding.
              examples:
                - shares
            total_institutional_shares:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for total_institutional_shares.
              examples:
                - shares
            prior_institutional_shares:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for prior_institutional_shares.
              examples:
                - shares
            shares_change_qoq:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for shares_change_qoq.
              examples:
                - shares
            shares_change_qoq_pct:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for shares_change_qoq_pct.
              examples:
                - percent (%)
            total_institutional_value_usd:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for total_institutional_value_usd.
              examples:
                - USD
            institutional_ownership_pct: 07e4fd21-5092-4e09-be75-223fed479701
            top_10_concentration_pct:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for top_10_concentration_pct.
              examples:
                - percent (%)
            put_call_share_ratio:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for put_call_share_ratio.
              examples:
                - ratio (put_shares / call_shares)
            activist_combined_pct:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for activist_combined_pct.
              examples:
                - percent (%)
            passive_combined_pct:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for passive_combined_pct.
              examples:
                - percent (%)
            percent_of_class_pct:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for percent_of_class_pct.
              examples:
                - percent (%)
            insider_window_days:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for insider_window_days.
              examples:
                - calendar days
            total_buy_shares: 64103616-1405-4d0b-a724-7020cc3a79ab
            total_sell_shares: dbe6b5fc-bc5f-4c92-97e7-2bf6b7d43038
            net_shares: bef48867-9bd9-4c96-9d14-0680b9180621
            total_buy_value_usd: b8bc9c5e-da10-4ba1-b082-6185d9b2758a
            total_sell_value_usd: 1b024ef8-aedb-4433-b439-0b5b41b22b9f
            net_value_usd: c40af35f-d433-4e5e-9d37-9530ea8ba896
            buy_sell_dollar_ratio: bbe07e4a-c2f3-4e06-8b73-a6b7d44e4e7e
            buy_share_of_total_value_pct: 68601fd1-34cd-443c-9029-bfc634b32079
            net_insider_sentiment_score: 7e21accf-5810-4445-86de-725e13fd02b3
            total_fund_shares:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for total_fund_shares.
              examples:
                - shares
            total_fund_value_usd:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for total_fund_value_usd.
              examples:
                - USD
            fund_ownership_pct:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for fund_ownership_pct.
              examples:
                - percent (%)
            weight_pct:
              type: string
              pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
              maxLength: 120
              description: Unit for weight_pct.
              examples:
                - percent (% of fund net assets)
          examples:
            - shares_outstanding: shares
              total_institutional_shares: shares
              prior_institutional_shares: shares
              shares_change_qoq: shares
              shares_change_qoq_pct: percent (%)
              total_institutional_value_usd: USD
              institutional_ownership_pct: percent (%)
              top_10_concentration_pct: percent (%)
              put_call_share_ratio: ratio (put_shares / call_shares)
              activist_combined_pct: percent (%)
              passive_combined_pct: percent (%)
              percent_of_class_pct: percent (%)
              insider_window_days: calendar days
              total_buy_shares: shares
              total_sell_shares: shares
              net_shares: shares
              total_buy_value_usd: USD
              total_sell_value_usd: USD
              net_value_usd: USD
              buy_sell_dollar_ratio: ratio (buy_usd / sell_usd)
              buy_share_of_total_value_pct: percent (%)
              net_insider_sentiment_score: score (-100 to +100)
              total_fund_shares: shares
              total_fund_value_usd: USD
              fund_ownership_pct: percent (%)
              weight_pct: percent (% of fund net assets)
        methodology:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 1500
          description: Unified ownership summary methodology.
          examples:
            - Combines 13F, 13D/G, Form 4/5, and N-PORT.
        institutional_13f:
          type: object
          description: Latest Form 13F institutional ownership summary and top 10 holders.
          additionalProperties: false
          required:
            - institutional_holders_count
            - prior_holders_count
            - holders_change_qoq
            - total_institutional_shares
            - prior_institutional_shares
            - shares_change_qoq
            - total_institutional_value_usd
            - prior_institutional_value_usd
            - value_change_qoq_usd
            - position_changes
            - top_holders
          properties:
            report_period:
              type:
                - string
                - 'null'
              format: date
              description: Latest completed 13F quarter.
              examples:
                - '2026-09-30'
            prior_report_period:
              type:
                - string
                - 'null'
              format: date
              description: Prior 13F quarter.
              examples:
                - '2026-06-30'
            institutional_holders_count:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Current 13F holders count.
              examples:
                - 4200
            prior_holders_count:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Prior quarter 13F holders count.
              examples:
                - 4050
            holders_change_qoq:
              type: integer
              format: int64
              minimum: -1000000
              maximum: 9007199254740991
              description: Quarter-over-quarter change in holders.
              examples:
                - 150
            total_institutional_shares:
              type: number
              format: double
              description: Total 13F common equity shares.
              examples:
                - 9200000000
            prior_institutional_shares:
              type: number
              format: double
              description: Prior quarter 13F shares.
              examples:
                - 9050000000
            shares_change_qoq:
              type: number
              format: double
              description: QoQ share change.
              examples:
                - 150000000
            shares_change_qoq_pct:
              type:
                - number
                - 'null'
              format: double
              description: QoQ percent share change.
              examples:
                - 1.66
            total_institutional_value_usd:
              type: number
              format: double
              description: Current 13F value in USD.
              examples:
                - 2024000000000
            prior_institutional_value_usd:
              type: number
              format: double
              description: Prior 13F value in USD.
              examples:
                - 1900500000000
            value_change_qoq_usd:
              type: number
              format: double
              description: QoQ USD value change.
              examples:
                - 123500000000
            institutional_ownership_pct:
              type:
                - number
                - 'null'
              format: double
              description: 13F shares as percent of shares outstanding.
              examples:
                - 61.33
            top_10_concentration_pct:
              type:
                - number
                - 'null'
              format: double
              description: Top 10 holders share of total 13F shares (%).
              examples:
                - 32.5
            put_call_share_ratio:
              type:
                - number
                - 'null'
              format: double
              description: Put-to-call 13F option share ratio.
              examples:
                - 0.625
            position_changes:
              type: object
              description: Counts of QoQ position actions.
              additionalProperties: false
              required:
                - new_positions_count
                - added_positions_count
                - reduced_positions_count
                - sold_out_positions_count
              properties:
                new_positions_count:
                  type: integer
                  format: int64
                  minimum: 0
                  maximum: 9007199254740991
                  description: New positions.
                  examples:
                    - 240
                added_positions_count:
                  type: integer
                  format: int64
                  minimum: 0
                  maximum: 9007199254740991
                  description: Added positions.
                  examples:
                    - 1610
                reduced_positions_count:
                  type: integer
                  format: int64
                  minimum: 0
                  maximum: 9007199254740991
                  description: Reduced positions.
                  examples:
                    - 1330
                sold_out_positions_count:
                  type: integer
                  format: int64
                  minimum: 0
                  maximum: 9007199254740991
                  description: Sold-out positions.
                  examples:
                    - 90
              examples:
                - new_positions_count: 240
                  added_positions_count: 1610
                  reduced_positions_count: 1330
                  sold_out_positions_count: 90
            top_holders:
              type: array
              maxItems: 10
              description: Top 10 institutional holders.
              items:
                $ref: '#/components/schemas/OwnershipSummaryTopHolder'
          examples:
            - report_period: '2026-09-30'
              prior_report_period: '2026-06-30'
              institutional_holders_count: 4200
              prior_holders_count: 4050
              holders_change_qoq: 150
              total_institutional_shares: 9200000000
              prior_institutional_shares: 9050000000
              shares_change_qoq: 150000000
              shares_change_qoq_pct: 1.66
              total_institutional_value_usd: 2024000000000
              prior_institutional_value_usd: 1900500000000
              value_change_qoq_usd: 123500000000
              institutional_ownership_pct: 61.3333
              top_10_concentration_pct: 32.5
              put_call_share_ratio: 0.625
              position_changes:
                new_positions_count: 240
                added_positions_count: 1610
                reduced_positions_count: 1330
                sold_out_positions_count: 90
              top_holders: []
        beneficial_13d_13g:
          type: object
          description: >-
            Active Schedule 13D activist and Schedule 13G passive beneficial
            stakes.
          additionalProperties: false
          required:
            - total_beneficial_filers_count
            - activist_stakes_count
            - passive_stakes_count
            - activist_combined_pct
            - passive_combined_pct
            - activist_stakes
            - top_passive_stakes
          properties:
            total_beneficial_filers_count:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Active Schedule 13D/13G filers.
              examples:
                - 2
            activist_stakes_count:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Active Schedule 13D stakes.
              examples:
                - 0
            passive_stakes_count:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Active Schedule 13G stakes.
              examples:
                - 2
            activist_combined_pct:
              type: number
              format: double
              description: Combined activist percent of class.
              examples:
                - 0
            passive_combined_pct:
              type: number
              format: double
              description: Combined passive percent of class.
              examples:
                - 16.4
            activist_stakes:
              type: array
              maxItems: 10
              description: Top activist stakes.
              items:
                $ref: '#/components/schemas/OwnershipSummaryBeneficialStake'
            top_passive_stakes:
              type: array
              maxItems: 10
              description: Top passive stakes.
              items:
                $ref: '#/components/schemas/OwnershipSummaryBeneficialStake'
          examples:
            - total_beneficial_filers_count: 2
              activist_stakes_count: 0
              passive_stakes_count: 2
              activist_combined_pct: 0
              passive_combined_pct: 16.4
              activist_stakes: []
              top_passive_stakes: []
        insider_activity:
          type: object
          description: >-
            Recent Form 4/5 open-market insider net buying, sentiment score, and
            recent trades.
          additionalProperties: false
          required:
            - insider_window_days
            - window_start
            - window_end
            - distinct_buyers
            - distinct_sellers
            - buy_trade_count
            - sell_trade_count
            - total_buy_shares
            - total_sell_shares
            - net_shares
            - total_buy_value_usd
            - total_sell_value_usd
            - net_value_usd
            - net_insider_sentiment_score
            - sentiment_label
            - recent_trades
          properties:
            insider_window_days:
              type: integer
              format: int64
              minimum: 7
              maximum: 9007199254740991
              description: Lookback window in calendar days.
              examples:
                - 90
            window_start:
              type: string
              format: date
              description: Window start date.
              examples:
                - '2026-09-01'
            window_end:
              type: string
              format: date
              description: Window end date.
              examples:
                - '2026-11-30'
            distinct_buyers:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Distinct insiders buying.
              examples:
                - 2
            distinct_sellers:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Distinct insiders selling.
              examples:
                - 1
            buy_trade_count:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Open-market buy count.
              examples:
                - 2
            sell_trade_count:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Open-market sell count.
              examples:
                - 1
            total_buy_shares:
              type: number
              format: double
              description: Total open-market shares bought.
              examples:
                - 15000
            total_sell_shares: 0b22375f-d11a-4d44-8e16-86d90461d168
            net_shares:
              type: number
              format: double
              description: Net insider shares.
              examples:
                - 10000
            total_buy_value_usd: dae27590-e0d2-4181-a798-8612bdb60df5
            total_sell_value_usd: 9ebee541-8c70-404f-93c2-afb403ec1f83
            net_value_usd: 62ce616c-0c24-4480-bee7-7bab63d9a36a
            buy_sell_dollar_ratio:
              type:
                - number
                - 'null'
              format: double
              description: Buy-to-sell dollar ratio.
              examples:
                - 3
            buy_share_of_total_value_pct:
              type:
                - number
                - 'null'
              format: double
              description: Buy share of buy+sell USD volume (%).
              examples:
                - 75
            net_insider_sentiment_score:
              type: number
              format: double
              description: Net insider sentiment score (-100 to +100).
              examples:
                - 52.5
            sentiment_label: db255844-46b7-4c00-acd5-d6938a84fe2a
            recent_trades:
              type: array
              maxItems: 10
              description: Recent open-market Form 4/5 trades.
              items:
                $ref: '#/components/schemas/OwnershipSummaryInsiderTrade'
          examples:
            - insider_window_days: 90
              window_start: '2026-09-01'
              window_end: '2026-11-30'
              distinct_buyers: 2
              distinct_sellers: 1
              buy_trade_count: 2
              sell_trade_count: 1
              total_buy_shares: 15000
              total_sell_shares: 5000
              net_shares: 10000
              total_buy_value_usd: 3300000
              total_sell_value_usd: 1100000
              net_value_usd: 2200000
              buy_sell_dollar_ratio: 3
              buy_share_of_total_value_pct: 75
              net_insider_sentiment_score: 52.5
              sentiment_label: bullish
              recent_trades: []
        etf_and_fund_holders:
          type: object
          description: >-
            Active Form N-PORT ETF and mutual fund ownership summary and top 10
            funds.
          additionalProperties: false
          required:
            - total_funds_holding_count
            - total_fund_shares
            - total_fund_value_usd
            - top_funds
          properties:
            total_funds_holding_count:
              type: integer
              format: int64
              minimum: 0
              maximum: 9007199254740991
              description: Active N-PORT funds holding the stock.
              examples:
                - 420
            total_fund_shares:
              type: number
              format: double
              description: Total shares held across active funds.
              examples:
                - 2100000000
            total_fund_value_usd:
              type: number
              format: double
              description: Total market value across active funds in USD.
              examples:
                - 462000000000
            fund_ownership_pct:
              type:
                - number
                - 'null'
              format: double
              description: Fund shares as percent of shares outstanding.
              examples:
                - 14
            top_funds:
              type: array
              maxItems: 10
              description: Top 10 ETF/mutual fund holders.
              items:
                $ref: '#/components/schemas/OwnershipSummaryFundHolder'
          examples:
            - total_funds_holding_count: 420
              total_fund_shares: 2100000000
              total_fund_value_usd: 462000000000
              fund_ownership_pct: 14
              top_funds: []
      examples:
        - ticker: AAPL
          cik: '0000320193'
          company_name: Apple Inc.
          sector: Technology
          industry: Electronic Computers
          cusips:
            - '037833100'
          shares_outstanding_reference:
            shares_outstanding: 15000000000
            report_period: '2026-09-26'
            accession_number: 0000320193-26-000105
          as_of: '2026-11-30T00:00:00.000Z'
          units:
            shares_outstanding: shares
            total_institutional_shares: shares
            prior_institutional_shares: shares
            shares_change_qoq: shares
            shares_change_qoq_pct: percent (%)
            total_institutional_value_usd: USD
            institutional_ownership_pct: percent (%)
            top_10_concentration_pct: percent (%)
            put_call_share_ratio: ratio (put_shares / call_shares)
            activist_combined_pct: percent (%)
            passive_combined_pct: percent (%)
            percent_of_class_pct: percent (%)
            insider_window_days: calendar days
            total_buy_shares: shares
            total_sell_shares: shares
            net_shares: shares
            total_buy_value_usd: USD
            total_sell_value_usd: USD
            net_value_usd: USD
            buy_sell_dollar_ratio: ratio (buy_usd / sell_usd)
            buy_share_of_total_value_pct: percent (%)
            net_insider_sentiment_score: score (-100 to +100)
            total_fund_shares: shares
            total_fund_value_usd: USD
            fund_ownership_pct: percent (%)
            weight_pct: percent (% of fund net assets)
          methodology: >-
            Combines Form 13F, Schedule 13D/13G, Form 4/5, and Form N-PORT
            datasets against XBRL shares outstanding.
          institutional_13f:
            report_period: '2026-09-30'
            prior_report_period: '2026-06-30'
            institutional_holders_count: 4200
            prior_holders_count: 4050
            holders_change_qoq: 150
            total_institutional_shares: 9200000000
            prior_institutional_shares: 9050000000
            shares_change_qoq: 150000000
            shares_change_qoq_pct: 1.66
            total_institutional_value_usd: 2024000000000
            prior_institutional_value_usd: 1900500000000
            value_change_qoq_usd: 123500000000
            institutional_ownership_pct: 61.3333
            top_10_concentration_pct: 32.5
            put_call_share_ratio: 0.625
            position_changes:
              new_positions_count: 240
              added_positions_count: 1610
              reduced_positions_count: 1330
              sold_out_positions_count: 90
            top_holders: []
          beneficial_13d_13g:
            total_beneficial_filers_count: 2
            activist_stakes_count: 0
            passive_stakes_count: 2
            activist_combined_pct: 0
            passive_combined_pct: 16.4
            activist_stakes: []
            top_passive_stakes: []
          insider_activity:
            insider_window_days: 90
            window_start: '2026-09-01'
            window_end: '2026-11-30'
            distinct_buyers: 2
            distinct_sellers: 1
            buy_trade_count: 2
            sell_trade_count: 1
            total_buy_shares: 15000
            total_sell_shares: 5000
            net_shares: 10000
            total_buy_value_usd: 3300000
            total_sell_value_usd: 1100000
            net_value_usd: 2200000
            buy_sell_dollar_ratio: 3
            buy_share_of_total_value_pct: 75
            net_insider_sentiment_score: 52.5
            sentiment_label: bullish
            recent_trades: []
          etf_and_fund_holders:
            total_funds_holding_count: 420
            total_fund_shares: 2100000000
            total_fund_value_usd: 462000000000
            fund_ownership_pct: 14
            top_funds: []
    OwnershipSummaryTopHolder:
      type: object
      description: One top 13F holder in GET /ownership/summary.
      additionalProperties: false
      required:
        - filer_cik
        - filer_name
        - shares
        - prior_shares
        - shares_change_qoq
        - action
        - value_usd
        - report_period
      properties:
        filer_cik: 528ae53b-0d1a-4b17-9033-4a1ed5572e67
        filer_name:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 300
          description: Institutional filer name.
          examples:
            - BERKSHIRE HATHAWAY INC
        shares:
          type: number
          format: double
          description: Shares held in current quarter.
          examples:
            - 4500000
        prior_shares:
          type: number
          format: double
          description: Shares held in prior quarter.
          examples:
            - 4000000
        shares_change_qoq:
          type: number
          format: double
          description: Quarter-over-quarter share change.
          examples:
            - 500000
        action:
          type: string
          enum:
            - new_position
            - added
            - reduced
            - sold_out
            - unchanged
          description: QoQ position action.
          examples:
            - added
        value_usd:
          type: number
          format: double
          description: Position value in USD.
          examples:
            - 990000000
        pct_of_shares_outstanding:
          type:
            - number
            - 'null'
          format: double
          description: Percent of XBRL shares outstanding.
          examples:
            - 0.03
        report_period:
          type: string
          format: date
          description: Report quarter end.
          examples:
            - '2026-09-30'
        filing_date:
          type:
            - string
            - 'null'
          format: date
          description: Filing date.
          examples:
            - '2026-11-14'
        accession_number:
          type:
            - string
            - 'null'
          pattern: ^[0-9]{10}-[0-9]{2}-[0-9]{6}$
          maxLength: 20
          description: Accession number of the holder's 13F report; null without one.
          examples:
            - 0001067983-26-000010
        filing_url:
          type:
            - string
            - 'null'
          format: uri
          maxLength: 500
          description: The holder's 13F report on sec.gov; null without one.
          examples:
            - >-
              https://www.sec.gov/Archives/edgar/data/1067983/000106798326000010/0001067983-26-000010-index.htm
      examples:
        - filer_cik: '0001067983'
          filer_name: BERKSHIRE HATHAWAY INC
          shares: 4500000
          prior_shares: 4000000
          shares_change_qoq: 500000
          action: added
          value_usd: 990000000
          report_period: '2026-09-30'
    OwnershipSummaryBeneficialStake:
      type: object
      description: One active Schedule 13D or 13G stake in GET /ownership/summary.
      additionalProperties: false
      required:
        - filer_cik
        - reporting_person_name
        - reporting_persons_count
        - stake_type
        - form_type
        - filing_date
        - accession_number
        - filing_url
      properties:
        filer_cik:
          type: string
          pattern: ^[0-9]{10}$
          maxLength: 10
          description: Ten-digit zero-padded filer CIK.
          examples:
            - '0001364742'
        reporting_person_name:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 300
          description: Lead reporting person name.
          examples:
            - BlackRock, Inc.
        reporting_persons_count:
          type: integer
          format: int64
          minimum: 1
          maximum: 9007199254740991
          description: Joint reporting persons on the filing.
          examples:
            - 1
        stake_type:
          type: string
          enum:
            - activist
            - passive
          description: Schedule 13D activist or Schedule 13G passive stake.
          examples:
            - passive
        form_type:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 20
          description: SEC schedule form type.
          examples:
            - SCHEDULE 13G/A
        filing_date: 3ec4350a-6fbc-4f0a-b546-90564fb8163d
        event_date:
          type:
            - string
            - 'null'
          format: date
          description: Event date.
          examples:
            - '2026-09-30'
        shares_owned:
          type:
            - number
            - 'null'
          format: double
          description: Aggregate shares beneficially owned.
          examples:
            - 1050000000
        percent_of_class_pct:
          type:
            - number
            - 'null'
          format: double
          description: Reported percent of class (0 to 100).
          examples:
            - 7
        purpose_of_transaction:
          type:
            - string
            - 'null'
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 5000
          description: Item 4 purpose summary (13D).
          examples:
            - null
        accession_number: 784eacb1-0afc-413c-989f-8272ba60da73
        filing_url: 480c2cdf-8bfd-4aed-9ca2-88aa536df455
      examples:
        - filer_cik: '0001364742'
          reporting_person_name: BlackRock, Inc.
          reporting_persons_count: 1
          stake_type: passive
          form_type: SCHEDULE 13G/A
          filing_date: '2026-11-12'
          accession_number: 0001364742-26-000010
          filing_url: >-
            https://www.sec.gov/Archives/edgar/data/320193/000136474226000010/0001364742-26-000010-index.htm
    OwnershipSummaryInsiderTrade:
      type: object
      description: One recent open-market Form 4/5 trade in GET /ownership/summary.
      additionalProperties: false
      required:
        - insider_name
        - roles
        - transaction_code
        - filing_date
        - is_10b5_1_plan
        - accession_number
        - filing_url
      properties:
        insider_cik: 7d30e3c9-4b38-4ba7-82fd-3e11df376d0b
        insider_name:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 300
          description: Name of the insider who reported the trade.
          examples:
            - Cook Timothy D
        insider_title: 664ff57d-05d6-4029-b91c-8c798c31f2ac
        roles: 6c143a88-8ea2-400c-83aa-8c9ae8573794
        transaction_code:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 4
          description: SEC transaction code (P or S).
          examples:
            - P
        transaction_category:
          type:
            - string
            - 'null'
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 30
          description: Normalized category.
          examples:
            - buy
        filing_date:
          type: string
          format: date
          description: The day the insider filed the trade.
          examples:
            - '2026-11-26'
        transaction_date: 3deeb5d6-2669-44e0-9f07-78dbcd6db0d2
        shares: 16f1d4c5-1598-4179-967f-fc718af6adfb
        price_usd:
          type:
            - number
            - 'null'
          format: double
          description: Price per share in USD.
          examples:
            - 220
        value_usd:
          type:
            - number
            - 'null'
          format: double
          description: Transaction value in USD.
          examples:
            - 2200000
        is_10b5_1_plan:
          type: boolean
          description: True when executed under a Rule 10b5-1 plan.
          examples:
            - false
        accession_number: 5a25635e-b45e-45a3-95d3-1e8c7887b7a8
        filing_url: f6efec50-bcea-456e-84c3-3178fe659f71
      examples:
        - insider_name: Cook Timothy D
          roles:
            - ceo
            - officer
          transaction_code: P
          filing_date: '2026-11-26'
          is_10b5_1_plan: false
          accession_number: 0000320193-26-000101
          filing_url: >-
            https://www.sec.gov/Archives/edgar/data/320193/000032019326000101/0000320193-26-000101-index.htm
    OwnershipSummaryFundHolder:
      type: object
      description: One top Form N-PORT ETF or mutual fund holder in GET /ownership/summary.
      additionalProperties: false
      required:
        - series_id
        - as_of_date
        - accession_number
      properties:
        ticker:
          type:
            - string
            - 'null'
          pattern: ^[A-Z0-9][A-Z0-9.-]{0,11}$
          maxLength: 12
          description: Fund ticker if mapped.
          examples:
            - VOO
        fund_name:
          type:
            - string
            - 'null'
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 300
          description: Fund series name.
          examples:
            - Vanguard 500 Index Fund
        registrant_cik:
          type:
            - string
            - 'null'
          pattern: ^[0-9]{10}$
          maxLength: 10
          description: Ten-digit zero-padded registrant CIK.
          examples:
            - '0000036405'
        series_id:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 30
          description: SEC fund series ID.
          examples:
            - S000002839
        weight_pct:
          type:
            - number
            - 'null'
          format: double
          description: Percent of fund net assets (0 to 100).
          examples:
            - 7.12
        market_value_usd:
          type:
            - number
            - 'null'
          format: double
          description: Holding market value in USD.
          examples:
            - 42000000000
        shares:
          type:
            - number
            - 'null'
          format: double
          description: Shares held by fund.
          examples:
            - 190000000
        as_of_date:
          type: string
          format: date
          description: N-PORT report period end.
          examples:
            - '2026-09-30'
        filing_date:
          type:
            - string
            - 'null'
          format: date
          description: N-PORT filing date.
          examples:
            - '2026-11-20'
        accession_number: d002f75f-45f6-4180-bc38-f4ffcf6c54f6
      examples:
        - series_id: S000002839
          as_of_date: '2026-09-30'
          accession_number: 0001752724-26-000100
    Error:
      type: object
      description: A refusal or failure.
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: string
          pattern: ^[A-Z_]{1,64}$
          description: A stable code.
          examples:
            - NOT_FOUND
        message:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 500
          description: What went wrong, in English.
          examples:
            - No company has this ticker or CIK
      examples:
        - error: NOT_FOUND
          message: No company has this ticker or CIK
  responses:
    BadRequest:
      description: A parameter is missing or malformed.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-Quota-Unit:
          $ref: '#/components/headers/QuotaUnit'
        X-Credits-Used:
          $ref: '#/components/headers/CreditsUsed'
        X-Quota-Limit:
          $ref: '#/components/headers/QuotaLimit'
        X-Quota-Remaining:
          $ref: '#/components/headers/QuotaRemaining'
        X-Quota-Reset:
          $ref: '#/components/headers/QuotaReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: VALIDATION_ERROR
            message: Send ticker or cik
    Unauthorized:
      description: The API key is missing, unknown or revoked.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-Quota-Unit:
          $ref: '#/components/headers/QuotaUnit'
        X-Credits-Used:
          $ref: '#/components/headers/CreditsUsed'
        X-Quota-Limit:
          $ref: '#/components/headers/QuotaLimit'
        X-Quota-Remaining:
          $ref: '#/components/headers/QuotaRemaining'
        X-Quota-Reset:
          $ref: '#/components/headers/QuotaReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: UNAUTHORIZED
            message: The API key is not valid
    PlanRequired:
      description: The account of the key has no active data API plan.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-Quota-Unit:
          $ref: '#/components/headers/QuotaUnit'
        X-Credits-Used:
          $ref: '#/components/headers/CreditsUsed'
        X-Quota-Limit:
          $ref: '#/components/headers/QuotaLimit'
        X-Quota-Remaining:
          $ref: '#/components/headers/QuotaRemaining'
        X-Quota-Reset:
          $ref: '#/components/headers/QuotaReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: PLAN_REQUIRED
            message: The account of this key has no active data API plan
    NotFound:
      description: No company has this ticker or CIK.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-Quota-Unit:
          $ref: '#/components/headers/QuotaUnit'
        X-Credits-Used:
          $ref: '#/components/headers/CreditsUsed'
        X-Quota-Limit:
          $ref: '#/components/headers/QuotaLimit'
        X-Quota-Remaining:
          $ref: '#/components/headers/QuotaRemaining'
        X-Quota-Reset:
          $ref: '#/components/headers/QuotaReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: NOT_FOUND
            message: No company has this ticker or CIK
    RateLimited:
      description: >-
        The key sent more requests in a minute than its limit (RATE_LIMITED), or
        its account has no credits left (QUOTA_EXCEEDED).
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-Quota-Unit:
          $ref: '#/components/headers/QuotaUnit'
        X-Credits-Used:
          $ref: '#/components/headers/CreditsUsed'
        X-Quota-Limit:
          $ref: '#/components/headers/QuotaLimit'
        X-Quota-Remaining:
          $ref: '#/components/headers/QuotaRemaining'
        X-Quota-Reset:
          $ref: '#/components/headers/QuotaReset'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: RATE_LIMITED
            message: Too many requests
    InternalError:
      description: Darvas failed; the error is reported.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-Quota-Unit:
          $ref: '#/components/headers/QuotaUnit'
        X-Credits-Used:
          $ref: '#/components/headers/CreditsUsed'
        X-Quota-Limit:
          $ref: '#/components/headers/QuotaLimit'
        X-Quota-Remaining:
          $ref: '#/components/headers/QuotaRemaining'
        X-Quota-Reset:
          $ref: '#/components/headers/QuotaReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: INTERNAL_ERROR
            message: Something went wrong
    Unavailable:
      description: The data store is unavailable.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-Quota-Unit:
          $ref: '#/components/headers/QuotaUnit'
        X-Credits-Used:
          $ref: '#/components/headers/CreditsUsed'
        X-Quota-Limit:
          $ref: '#/components/headers/QuotaLimit'
        X-Quota-Remaining:
          $ref: '#/components/headers/QuotaRemaining'
        X-Quota-Reset:
          $ref: '#/components/headers/QuotaReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: UNAVAILABLE
            message: The data service is unavailable
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: 'A Darvas data API key: dvk_ and 43 characters.'
    bearerKey:
      type: http
      scheme: bearer
      description: The same key as a Bearer token.

````

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