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

# DCF Valuation API with Reverse DCF

> Value a US company with a two-stage FCFF DCF from its trailing year: named assumptions, projection, a WACC and growth grid, and the growth price implies.

## Overview

This endpoint values a US company with a two-stage unlevered free cash flow DCF built from its trailing twelve months. Every assumption comes with its value, where it came from (`derived`, `default` or `caller`) and why: the 10-year Treasury yield as the risk-free rate, beta from five years of monthly returns, the cost of debt and tax rate from the statements. Free cash flow grows at `fcf_growth_pct` in year one and fades to `terminal_growth_pct`.

The answer gives the yearly projection, terminal value, enterprise and equity value, intrinsic value per share against today's price, a grid over WACC and terminal growth, and a reverse DCF that solves for the year-one growth today's price implies. Any assumption can be set in the query.

| Coverage | Details |
| - | - |
| Companies | US companies with a trailing twelve months of statements, by ticker or CIK |
| Overrides | `wacc_pct`, `terminal_growth_pct`, `fcf_growth_pct`, `equity_risk_premium_pct`, `risk_free_rate_pct`, `beta`, `cost_of_debt_pct`, `tax_rate_pct`, `projection_years` |
| Grid | WACC ±2 points by terminal growth ±1 point, per share |
| Blocked model | `null_reason` names what stops it, such as a negative free cash flow |
| MCP tool | `get_dcf_valuation` 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/valuation/dcf",
    headers=headers,
    params={
        "ticker": "MSFT",
        "terminal_growth_pct": 2.5,
    },
).json()
dcf = answer["dcf"]
print(dcf["intrinsic_value_per_share_usd"], dcf["current_price_usd"], dcf["upside_pct"])
print(dcf["assumptions"]["wacc_pct"], dcf["reverse_dcf"]["implied_fcf_growth_pct"])
```

```bash theme={null}
curl -H "X-API-KEY: $DARVAS_API_KEY" \
  "https://api.darvas.app/v1/valuation/dcf?ticker=MSFT&terminal_growth_pct=2.5"
```


## OpenAPI

````yaml openapi.yaml GET /valuation/dcf
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:
  /valuation/dcf:
    get:
      tags:
        - financials
      summary: Value a company with a DCF
      description: >-
        A two-stage unlevered free cash flow DCF of a US company from its
        trailing twelve months: each assumption with its value, where it came
        from and why, the yearly projection, terminal value, enterprise and
        equity value, the intrinsic value per share against today's price, a
        grid over WACC and terminal growth, and a reverse DCF that solves for
        the growth today's price implies. Any assumption can be set in the
        query.
      operationId: getDcfValuation
      parameters:
        - $ref: '#/components/parameters/Ticker'
        - $ref: '#/components/parameters/Cik'
        - $ref: '#/components/parameters/DcfWacc'
        - $ref: '#/components/parameters/DcfTerminalGrowth'
        - $ref: '#/components/parameters/DcfFcfGrowth'
        - $ref: '#/components/parameters/DcfEquityRiskPremium'
        - $ref: '#/components/parameters/DcfRiskFreeRate'
        - $ref: '#/components/parameters/DcfBeta'
        - $ref: '#/components/parameters/DcfCostOfDebt'
        - $ref: '#/components/parameters/DcfTaxRate'
        - $ref: '#/components/parameters/DcfProjectionYears'
      responses:
        '200':
          description: 'Value a company with a DCF: 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/DcfValuationResponse'
              example:
                dcf:
                  ticker: AAPL
                  report_period: '2026-09-26'
                  fiscal_period: 2026-Q4
                  period: ttm
                  currency: USD
                  accession_number: 0000320193-26-000026
                  form_type: null
                  filing_url: >-
                    https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm
                  filing_date: '2026-11-03'
                  filing_datetime: '2026-11-03T16:31:05-05:00'
                  model: >-
                    two-stage unlevered free cash flow (FCFF) DCF with a Gordon
                    growth terminal value
                  assumptions:
                    risk_free_rate_pct:
                      value: 4.18
                      source: derived
                      basis: 10-year Treasury par yield
                    equity_risk_premium_pct:
                      value: 5
                      source: default
                      basis: long-run premium
                    beta:
                      value: 1.12
                      source: derived
                      basis: 5 years of monthly returns, Blume adjusted
                    cost_of_equity_pct:
                      value: 9.78
                      source: derived
                      basis: risk_free_rate + beta × equity_risk_premium
                    pre_tax_cost_of_debt_pct:
                      value: 3.6
                      source: derived
                      basis: interest / total debt
                    tax_rate_pct:
                      value: 16.2
                      source: derived
                      basis: effective tax rate
                    after_tax_cost_of_debt_pct:
                      value: 3.02
                      source: derived
                      basis: pre_tax_cost_of_debt × (1 - tax_rate)
                    equity_weight_pct:
                      value: 97.4
                      source: derived
                      basis: market_cap / (market_cap + total_debt)
                    wacc_pct:
                      value: 9.6
                      source: derived
                      basis: weighted cost of equity and debt
                    fcf_growth_pct:
                      value: 7.1
                      source: derived
                      basis: 5-year revenue CAGR
                    terminal_growth_pct:
                      value: 2.5
                      source: default
                      basis: long-run nominal growth
                    projection_years: 10
                  base_free_cash_flow_usd: 98770000000
                  base_fcff_usd: 101600000000
                  projection:
                    - year: 1
                      growth_pct: 7.1
                      free_cash_flow_usd: 108800000000
                      discount_factor: 0.912409
                      present_value_usd: 99270000000
                  present_value_of_projection_usd: 760000000000
                  terminal_value_usd: 2400000000000
                  present_value_of_terminal_value_usd: 960000000000
                  terminal_value_share_of_enterprise_value_pct: 55.8
                  enterprise_value_usd: 1720000000000
                  net_debt_usd: 35000000000
                  equity_value_usd: 1685000000000
                  shares_outstanding: 14840000000
                  intrinsic_value_per_share_usd: 113.55
                  current_price_usd: 266.9
                  upside_pct: -57.46
                  sensitivity:
                    rows: wacc_pct
                    columns: terminal_growth_pct
                    wacc_pct:
                      - 7.6
                      - 8.6
                      - 9.6
                      - 10.6
                      - 11.6
                    terminal_growth_pct:
                      - 1.5
                      - 2
                      - 2.5
                      - 3
                      - 3.5
                    intrinsic_value_per_share_usd:
                      - - 150.2
                        - 160.4
                        - 172.9
                        - 188.6
                        - 208.8
                  reverse_dcf:
                    implied_fcf_growth_pct: 21.4
                    market_cap_usd: 3960000000000
                    solves_for: >-
                      year-one fcf_growth at which equity value equals market
                      capitalization
                    null_reason: null
                  null_reason: null
                  price_time: '2026-11-27T21:00:00.000Z'
                  methodology: >-
                    Free cash flow to the firm, grown and faded to terminal
                    growth, discounted at WACC.
                  units:
                    _usd: US dollars
                    _pct: 'percent: 8.5 means 8.5%'
                    beta: a plain number
                  source: >-
                    Standardized SEC filings, daily closes of the US listing and
                    the US Treasury par yield curve, as Darvas stores them
                  as_of: '2026-11-30T12:00:00.000Z'
        '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'
    DcfWacc:
      name: wacc_pct
      in: query
      required: false
      description: Sets the WACC, in percent, instead of deriving it.
      schema:
        type: number
        format: double
        minimum: 1
        maximum: 30
      example: 9
    DcfTerminalGrowth:
      name: terminal_growth_pct
      in: query
      required: false
      description: Sets the terminal growth, in percent; WACC must exceed it by 0.5 points.
      schema:
        type: number
        format: double
        minimum: -2
        maximum: 6
      example: 2.5
    DcfFcfGrowth:
      name: fcf_growth_pct
      in: query
      required: false
      description: >-
        Sets the year-one free cash flow growth, in percent, which fades to
        terminal growth.
      schema:
        type: number
        format: double
        minimum: -50
        maximum: 100
      example: 8
    DcfEquityRiskPremium:
      name: equity_risk_premium_pct
      in: query
      required: false
      description: Sets the equity risk premium, in percent; 5 without it.
      schema:
        type: number
        format: double
        minimum: 0
        maximum: 15
      example: 5.5
    DcfRiskFreeRate:
      name: risk_free_rate_pct
      in: query
      required: false
      description: >-
        Sets the risk-free rate, in percent; the newest 10-year Treasury par
        yield without it.
      schema:
        type: number
        format: double
        minimum: 0
        maximum: 20
      example: 4.2
    DcfBeta:
      name: beta
      in: query
      required: false
      description: Sets beta; 5 years of monthly returns against SPY without it.
      schema:
        type: number
        format: double
        minimum: -3
        maximum: 5
      example: 1.1
    DcfCostOfDebt:
      name: cost_of_debt_pct
      in: query
      required: false
      description: Sets the pre-tax cost of debt, in percent.
      schema:
        type: number
        format: double
        minimum: 0
        maximum: 30
      example: 4
    DcfTaxRate:
      name: tax_rate_pct
      in: query
      required: false
      description: Sets the tax rate, in percent.
      schema:
        type: number
        format: double
        minimum: 0
        maximum: 60
      example: 21
    DcfProjectionYears:
      name: projection_years
      in: query
      required: false
      description: Years projected before the terminal value; 10 without it.
      schema:
        type: integer
        format: int32
        minimum: 3
        maximum: 15
        default: 10
      example: 5
  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:
    DcfValuationResponse:
      type: object
      description: The answer of GET /valuation/dcf.
      additionalProperties: false
      required:
        - dcf
      properties:
        dcf:
          $ref: '#/components/schemas/DcfValuation'
      examples:
        - dcf:
            ticker: AAPL
            report_period: '2026-09-26'
            fiscal_period: 2026-Q4
            period: ttm
            currency: USD
            accession_number: 0000320193-26-000026
            form_type: null
            filing_url: >-
              https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm
            filing_date: '2026-11-03'
            filing_datetime: '2026-11-03T16:31:05-05:00'
            model: >-
              two-stage unlevered free cash flow (FCFF) DCF with a Gordon growth
              terminal value
            assumptions:
              risk_free_rate_pct:
                value: 4.18
                source: derived
                basis: 10-year Treasury par yield
              equity_risk_premium_pct:
                value: 5
                source: default
                basis: long-run premium
              beta:
                value: 1.12
                source: derived
                basis: 5 years of monthly returns, Blume adjusted
              cost_of_equity_pct:
                value: 9.78
                source: derived
                basis: risk_free_rate + beta × equity_risk_premium
              pre_tax_cost_of_debt_pct:
                value: 3.6
                source: derived
                basis: interest / total debt
              tax_rate_pct:
                value: 16.2
                source: derived
                basis: effective tax rate
              after_tax_cost_of_debt_pct:
                value: 3.02
                source: derived
                basis: pre_tax_cost_of_debt × (1 - tax_rate)
              equity_weight_pct:
                value: 97.4
                source: derived
                basis: market_cap / (market_cap + total_debt)
              wacc_pct:
                value: 9.6
                source: derived
                basis: weighted cost of equity and debt
              fcf_growth_pct:
                value: 7.1
                source: derived
                basis: 5-year revenue CAGR
              terminal_growth_pct:
                value: 2.5
                source: default
                basis: long-run nominal growth
              projection_years: 10
            base_free_cash_flow_usd: 98770000000
            base_fcff_usd: 101600000000
            projection:
              - year: 1
                growth_pct: 7.1
                free_cash_flow_usd: 108800000000
                discount_factor: 0.912409
                present_value_usd: 99270000000
            present_value_of_projection_usd: 760000000000
            terminal_value_usd: 2400000000000
            present_value_of_terminal_value_usd: 960000000000
            terminal_value_share_of_enterprise_value_pct: 55.8
            enterprise_value_usd: 1720000000000
            net_debt_usd: 35000000000
            equity_value_usd: 1685000000000
            shares_outstanding: 14840000000
            intrinsic_value_per_share_usd: 113.55
            current_price_usd: 266.9
            upside_pct: -57.46
            sensitivity:
              rows: wacc_pct
              columns: terminal_growth_pct
              wacc_pct:
                - 7.6
                - 8.6
                - 9.6
                - 10.6
                - 11.6
              terminal_growth_pct:
                - 1.5
                - 2
                - 2.5
                - 3
                - 3.5
              intrinsic_value_per_share_usd:
                - - 150.2
                  - 160.4
                  - 172.9
                  - 188.6
                  - 208.8
            reverse_dcf:
              implied_fcf_growth_pct: 21.4
              market_cap_usd: 3960000000000
              solves_for: >-
                year-one fcf_growth at which equity value equals market
                capitalization
              null_reason: null
            null_reason: null
            price_time: '2026-11-27T21:00:00.000Z'
            methodology: >-
              Free cash flow to the firm, grown and faded to terminal growth,
              discounted at WACC.
            units:
              _usd: US dollars
              _pct: 'percent: 8.5 means 8.5%'
              beta: a plain number
            source: >-
              Standardized SEC filings, daily closes of the US listing and the
              US Treasury par yield curve, as Darvas stores them
            as_of: '2026-11-30T12:00:00.000Z'
    DcfValuation:
      type: object
      description: >-
        A DCF of one company's newest trailing twelve months. The model's
        outputs are absent when null_reason names what blocks it.
      additionalProperties: false
      required:
        - ticker
        - report_period
        - fiscal_period
        - period
        - currency
        - accession_number
        - form_type
        - filing_url
        - filing_date
        - filing_datetime
        - model
        - assumptions
        - null_reason
        - price_time
        - methodology
        - units
        - source
        - as_of
      properties:
        ticker:
          type:
            - string
            - 'null'
          pattern: ^[A-Z0-9][A-Z0-9.-]{0,11}$
          description: The ticker of the DCF inputs' company.
          examples:
            - AAPL
        report_period:
          type:
            - string
            - 'null'
          format: date
          maxLength: 10
          description: The last day of the DCF inputs' period.
          examples:
            - '2026-09-26'
        fiscal_period:
          type:
            - string
            - 'null'
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 10
          description: The fiscal year and quarter of the DCF inputs.
          examples:
            - 2026-FY
        period:
          type:
            - string
            - 'null'
          enum:
            - annual
            - quarterly
            - ttm
            - null
          description: >-
            Whether the DCF inputs cover a fiscal year, a quarter or a trailing
            year.
          examples:
            - annual
        currency:
          type:
            - string
            - 'null'
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 3
          description: The currency of the DCF inputs' statements.
          examples:
            - USD
        accession_number:
          type:
            - string
            - 'null'
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 20
          description: The filing of the DCF inputs' statements; null for ESEF.
          examples:
            - 0000320193-26-000026
        form_type:
          type:
            - string
            - 'null'
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 20
          description: The form of the DCF inputs' statements; null for ttm.
          examples:
            - 10-K
        filing_url:
          type: string
          format: uri
          maxLength: 500
          description: The index page of the DCF inputs' filing.
          examples:
            - >-
              https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm
        filing_date:
          type:
            - string
            - 'null'
          format: date
          maxLength: 10
          description: The day SEC accepted the DCF inputs' filing.
          examples:
            - '2026-11-03'
        filing_datetime:
          type:
            - string
            - 'null'
          format: date-time
          maxLength: 40
          description: When SEC accepted the DCF inputs' filing, in Eastern Time.
          examples:
            - '2026-11-03T16:31:05-05:00'
        model:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 120
          description: The DCF model.
          examples:
            - two-stage unlevered free cash flow (FCFF) DCF
        assumptions:
          type: object
          description: Every assumption, with its value, where it came from and why.
          additionalProperties: false
          required:
            - risk_free_rate_pct
            - equity_risk_premium_pct
            - beta
            - cost_of_equity_pct
            - pre_tax_cost_of_debt_pct
            - tax_rate_pct
            - after_tax_cost_of_debt_pct
            - equity_weight_pct
            - wacc_pct
            - fcf_growth_pct
            - terminal_growth_pct
            - projection_years
          properties:
            risk_free_rate_pct:
              type: object
              description: The risk-free rate, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value:
                  type:
                    - number
                    - 'null'
                  format: double
                  description: The assumption's value; null when it cannot be derived.
                  examples:
                    - 4.18
                source:
                  type: string
                  enum:
                    - caller
                    - derived
                    - default
                  description: Where the value came from.
                  examples:
                    - derived
                basis:
                  type: string
                  pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
                  maxLength: 400
                  description: Why the value is what it is.
                  examples:
                    - 10-year Treasury par yield
              examples:
                - value: 4.18
                  source: derived
                  basis: 10-year Treasury par yield
            equity_risk_premium_pct:
              type: object
              description: The equity risk premium, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: 5a68aae0-e874-47a1-b119-f47c11999129
                source: 66c9f71f-1152-4d8d-865a-2e85fc82638d
                basis: 68d088e5-81f5-4704-aa19-6ecb6e32931f
              examples:
                - value: 5
                  source: default
                  basis: long-run premium
            beta:
              type: object
              description: Beta against SPY.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: 32749308-f129-498e-9705-9318b234d6bc
                source: d13771e9-8e3b-4666-8277-5164d74eee18
                basis: 7bdbc135-ed06-4c4e-a9e6-5f0ba2b5a227
              examples:
                - value: 1.12
                  source: derived
                  basis: 5 years of monthly returns, Blume adjusted
            cost_of_equity_pct:
              type: object
              description: The cost of equity, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: e9185c00-9900-4680-adab-09bab5e92c7a
                source: f22ccec6-a2eb-4622-9646-f8e3baddbf7b
                basis: e8793f37-6208-4d06-87b3-245c11f10c03
              examples:
                - value: 9.78
                  source: derived
                  basis: CAPM
            pre_tax_cost_of_debt_pct:
              type: object
              description: The pre-tax cost of debt, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: 92c8099c-2be9-4611-bead-b3e017791252
                source: 9c944cac-0e3c-4a74-89e4-8dc35c22304c
                basis: 8c80ec3c-ee19-47d1-82b6-3180576d9898
              examples:
                - value: 3.6
                  source: derived
                  basis: interest / total debt
            tax_rate_pct:
              type: object
              description: The tax rate, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: dbd864fd-a6c2-461a-a57a-b938c41fb5ec
                source: 31648276-8656-49ca-80ee-188950107aa7
                basis: bd9a3fca-09cc-4814-a2a9-55126df0e7fc
              examples:
                - value: 16.2
                  source: derived
                  basis: effective tax rate
            after_tax_cost_of_debt_pct:
              type: object
              description: The after-tax cost of debt, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: e37c84fe-626c-4360-8acc-2827f3cd332e
                source: 3afd50ca-6e23-4e5a-8068-32d1f2b59211
                basis: ed3d4037-712c-4f72-b97a-70a2456667a5
              examples:
                - value: 3.02
                  source: derived
                  basis: pre_tax_cost_of_debt × (1 - tax_rate)
            equity_weight_pct:
              type: object
              description: The weight of equity in the capital, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: e50e034d-b312-4226-8bba-f3b3cbf33a67
                source: ba3da60d-326a-48c1-b348-dcfaae970925
                basis: 185f539c-a952-4b98-8b55-521c5d8d3121
              examples:
                - value: 97.4
                  source: derived
                  basis: market_cap / (market_cap + total_debt)
            wacc_pct:
              type: object
              description: The WACC, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: dbea1d21-a595-4a5f-a539-49b989891ef3
                source: 8086f3fd-d0ed-4f8e-86d2-a770d9e7e258
                basis: 2d191ece-0f51-4346-9ae1-dceb06eb6d5c
              examples:
                - value: 9.6
                  source: derived
                  basis: weighted cost of equity and debt
            fcf_growth_pct:
              type: object
              description: The year-one free cash flow growth, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: 54c82241-52f8-4c70-ae05-76736f3f2d1b
                source: 3386964c-85cc-4ecc-ad39-2e35d7c307ab
                basis: 0bf2e90d-0168-4275-bf9c-b92bff31ec33
              examples:
                - value: 7.1
                  source: derived
                  basis: 5-year revenue CAGR
            terminal_growth_pct:
              type: object
              description: The terminal growth, in percent.
              additionalProperties: false
              required:
                - value
                - source
                - basis
              properties:
                value: 114454d1-fb39-4226-970a-287008447c75
                source: 2a83e58b-92ff-4e59-8ca2-88c2b5e8980a
                basis: bc3189ef-1d80-4869-847d-560c00f3f42a
              examples:
                - value: 2.5
                  source: default
                  basis: long-run nominal growth
            projection_years:
              type: integer
              format: int64
              minimum: 3
              maximum: 15
              description: Years projected before the terminal value.
              examples:
                - 10
          examples:
            - risk_free_rate_pct:
                value: 4.18
                source: derived
                basis: 10-year Treasury par yield
              equity_risk_premium_pct:
                value: 5
                source: default
                basis: long-run premium
              beta:
                value: 1.12
                source: derived
                basis: 5 years of monthly returns, Blume adjusted
              cost_of_equity_pct:
                value: 9.78
                source: derived
                basis: risk_free_rate + beta × equity_risk_premium
              pre_tax_cost_of_debt_pct:
                value: 3.6
                source: derived
                basis: interest / total debt
              tax_rate_pct:
                value: 16.2
                source: derived
                basis: effective tax rate
              after_tax_cost_of_debt_pct:
                value: 3.02
                source: derived
                basis: pre_tax_cost_of_debt × (1 - tax_rate)
              equity_weight_pct:
                value: 97.4
                source: derived
                basis: market_cap / (market_cap + total_debt)
              wacc_pct:
                value: 9.6
                source: derived
                basis: weighted cost of equity and debt
              fcf_growth_pct:
                value: 7.1
                source: derived
                basis: 5-year revenue CAGR
              terminal_growth_pct:
                value: 2.5
                source: default
                basis: long-run nominal growth
              projection_years: 10
        base_free_cash_flow_usd:
          type:
            - number
            - 'null'
          format: double
          description: Trailing operating cash flow less capital expenditure.
          examples:
            - 98770000000
        base_fcff_usd:
          type:
            - number
            - 'null'
          format: double
          description: The base free cash flow with after-tax interest added back.
          examples:
            - 101600000000
        projection:
          type: array
          maxItems: 15
          description: The projected years, first year first.
          items:
            $ref: '#/components/schemas/DcfProjectionYear'
        present_value_of_projection_usd:
          type:
            - number
            - 'null'
          format: double
          description: The present value of the projected years.
          examples:
            - 760000000000
        terminal_value_usd:
          type:
            - number
            - 'null'
          format: double
          description: The Gordon growth value of the year after the projection.
          examples:
            - 2400000000000
        present_value_of_terminal_value_usd:
          type:
            - number
            - 'null'
          format: double
          description: The terminal value discounted to today.
          examples:
            - 960000000000
        terminal_value_share_of_enterprise_value_pct:
          type:
            - number
            - 'null'
          format: double
          description: The terminal value's share of enterprise value, in percent.
          examples:
            - 55.8
        enterprise_value_usd:
          type:
            - number
            - 'null'
          format: double
          description: The DCF's enterprise value.
          examples:
            - 1720000000000
        net_debt_usd:
          type:
            - number
            - 'null'
          format: double
          description: Total debt less cash.
          examples:
            - 35000000000
        equity_value_usd:
          type:
            - number
            - 'null'
          format: double
          description: Enterprise value less net debt.
          examples:
            - 1685000000000
        shares_outstanding:
          type: integer
          format: int64
          minimum: 0
          maximum: 9007199254740991
          description: The shares outstanding today.
          examples:
            - 14840000000
        intrinsic_value_per_share_usd:
          type:
            - number
            - 'null'
          format: double
          description: Equity value per share today.
          examples:
            - 113.55
        current_price_usd:
          type:
            - number
            - 'null'
          format: double
          description: The latest price; null without one.
          examples:
            - 266.9
        upside_pct:
          type:
            - number
            - 'null'
          format: double
          description: Intrinsic value over the price, less one, in percent.
          examples:
            - -57.46
        sensitivity:
          type: object
          description: >-
            Intrinsic value per share over a grid: rows (wacc_pct), columns
            (terminal_growth_pct), their values, and
            intrinsic_value_per_share_usd, one row per WACC.
          additionalProperties: true
          maxProperties: 40
          examples:
            - rows: wacc_pct
              columns: terminal_growth_pct
        reverse_dcf:
          type: object
          description: >-
            The year-one growth today's price implies: implied_fcf_growth_pct,
            market_cap_usd, solves_for and null_reason.
          additionalProperties: true
          maxProperties: 40
          examples:
            - implied_fcf_growth_pct: 21.4
        null_reason:
          type:
            - string
            - 'null'
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 300
          description: What blocks the model; null when it ran.
          examples:
            - null
        price_time:
          type:
            - string
            - 'null'
          format: date-time
          maxLength: 40
          description: When the price was set.
          examples:
            - '2026-11-27T21:00:00.000Z'
        methodology:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 4000
          description: How the DCF is computed.
          examples:
            - Free cash flow to the firm, discounted at WACC.
        units:
          type: object
          description: The unit of each DCF field name ending.
          maxProperties: 40
          additionalProperties:
            type: string
            pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
            maxLength: 2000
          examples:
            - _usd: US dollars
        source:
          type: string
          pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
          maxLength: 300
          description: What the DCF is built from.
          examples:
            - Standardized SEC filings
        as_of:
          type: string
          format: date-time
          maxLength: 40
          description: When Darvas built the DCF.
          examples:
            - '2026-11-30T12:00:00.000Z'
      examples:
        - ticker: AAPL
          report_period: '2026-09-26'
          fiscal_period: 2026-Q4
          period: ttm
          currency: USD
          accession_number: 0000320193-26-000026
          form_type: null
          filing_url: >-
            https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm
          filing_date: '2026-11-03'
          filing_datetime: '2026-11-03T16:31:05-05:00'
          model: >-
            two-stage unlevered free cash flow (FCFF) DCF with a Gordon growth
            terminal value
          assumptions:
            risk_free_rate_pct:
              value: 4.18
              source: derived
              basis: 10-year Treasury par yield
            equity_risk_premium_pct:
              value: 5
              source: default
              basis: long-run premium
            beta:
              value: 1.12
              source: derived
              basis: 5 years of monthly returns, Blume adjusted
            cost_of_equity_pct:
              value: 9.78
              source: derived
              basis: risk_free_rate + beta × equity_risk_premium
            pre_tax_cost_of_debt_pct:
              value: 3.6
              source: derived
              basis: interest / total debt
            tax_rate_pct:
              value: 16.2
              source: derived
              basis: effective tax rate
            after_tax_cost_of_debt_pct:
              value: 3.02
              source: derived
              basis: pre_tax_cost_of_debt × (1 - tax_rate)
            equity_weight_pct:
              value: 97.4
              source: derived
              basis: market_cap / (market_cap + total_debt)
            wacc_pct:
              value: 9.6
              source: derived
              basis: weighted cost of equity and debt
            fcf_growth_pct:
              value: 7.1
              source: derived
              basis: 5-year revenue CAGR
            terminal_growth_pct:
              value: 2.5
              source: default
              basis: long-run nominal growth
            projection_years: 10
          base_free_cash_flow_usd: 98770000000
          base_fcff_usd: 101600000000
          projection:
            - year: 1
              growth_pct: 7.1
              free_cash_flow_usd: 108800000000
              discount_factor: 0.912409
              present_value_usd: 99270000000
          present_value_of_projection_usd: 760000000000
          terminal_value_usd: 2400000000000
          present_value_of_terminal_value_usd: 960000000000
          terminal_value_share_of_enterprise_value_pct: 55.8
          enterprise_value_usd: 1720000000000
          net_debt_usd: 35000000000
          equity_value_usd: 1685000000000
          shares_outstanding: 14840000000
          intrinsic_value_per_share_usd: 113.55
          current_price_usd: 266.9
          upside_pct: -57.46
          sensitivity:
            rows: wacc_pct
            columns: terminal_growth_pct
            wacc_pct:
              - 7.6
              - 8.6
              - 9.6
              - 10.6
              - 11.6
            terminal_growth_pct:
              - 1.5
              - 2
              - 2.5
              - 3
              - 3.5
            intrinsic_value_per_share_usd:
              - - 150.2
                - 160.4
                - 172.9
                - 188.6
                - 208.8
          reverse_dcf:
            implied_fcf_growth_pct: 21.4
            market_cap_usd: 3960000000000
            solves_for: >-
              year-one fcf_growth at which equity value equals market
              capitalization
            null_reason: null
          null_reason: null
          price_time: '2026-11-27T21:00:00.000Z'
          methodology: >-
            Free cash flow to the firm, grown and faded to terminal growth,
            discounted at WACC.
          units:
            _usd: US dollars
            _pct: 'percent: 8.5 means 8.5%'
            beta: a plain number
          source: >-
            Standardized SEC filings, daily closes of the US listing and the US
            Treasury par yield curve, as Darvas stores them
          as_of: '2026-11-30T12:00:00.000Z'
    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
    DcfProjectionYear:
      type: object
      description: One projected year of the DCF.
      additionalProperties: false
      required:
        - year
        - growth_pct
        - free_cash_flow_usd
        - discount_factor
        - present_value_usd
      properties:
        year:
          type: integer
          format: int64
          minimum: 1
          maximum: 15
          description: The year, 1 for the first projected one.
          examples:
            - 1
        growth_pct:
          type:
            - number
            - 'null'
          format: double
          description: The year's free cash flow growth, in percent.
          examples:
            - 7.1
        free_cash_flow_usd:
          type:
            - number
            - 'null'
          format: double
          description: The year's free cash flow to the firm.
          examples:
            - 108800000000
        discount_factor:
          type: number
          format: double
          description: 1 / (1 + WACC) to the power of the year.
          examples:
            - 0.912409
        present_value_usd:
          type:
            - number
            - 'null'
          format: double
          description: The year's free cash flow discounted to today.
          examples:
            - 99270000000
      examples:
        - year: 1
          growth_pct: 7.1
          free_cash_flow_usd: 108800000000
          discount_factor: 0.912409
          present_value_usd: 99270000000
  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.