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

# AI Agent Integration: llms.txt & MCP Routing

> Give coding and finance agents structured access via llms.txt, Markdown pages, docs MCP search and the complete task-to-tool routing directory.

These docs are written for people and for the AI agents that work for them. An agent can list every page, read any page as Markdown, search the docs over MCP and call the data API's 164 tools.

## What the site serves to agents

| Path | What it holds |
| - | - |
| [`/llms.txt`](https://docs.darvas.app/llms.txt) | The index: every indexed page with a one-line summary, in the order of the navigation, and how to call the API. The lookup lists of tickers, types and series are left out; the [discovery tables](#discovery-and-catalog-tools) below name them. |
| [`/llms-full.txt`](https://docs.darvas.app/llms-full.txt) | Every indexed page in one Markdown file |
| Page URL + `.md` | One page as Markdown, with its endpoint's parameters and answer from the OpenAPI spec, such as [`/futures/commitment-of-traders.md`](https://docs.darvas.app/futures/commitment-of-traders.md) |
| [`openapi.yaml`](https://docs.darvas.app/openapi.yaml) | The OpenAPI 3.1 spec of every endpoint: parameters, schemas and examples |
| [`/skill.md`](https://docs.darvas.app/skill.md) | What an agent can do with Darvas, in the agent skills format |
| `/mcp` | An MCP server that searches and reads these docs |

The menu in each page's header copies the page as Markdown, opens it in Claude, ChatGPT, Perplexity or Grok, or connects the docs search to Cursor, VS Code, Windsurf or Devin. API pages also download the spec.

## Three MCP servers

The docs search server, `https://docs.darvas.app/mcp`, answers questions about the docs: which endpoint gives insider sales, what a field means, how pagination works. It needs no key.

The [data API server](https://docs.darvas.app/mcp-server.md), `https://api.darvas.app/mcp`, answers with data: a company's income statements, a fund's holdings, last week's 8-Ks. It needs your API key. Each message counts against your account's [rate limit](https://docs.darvas.app/authentication.md#rate-limits-and-credits) as one request, and a tool call that returns data costs one credit, however many rows it holds. It lists 10 tools by default; `search_data_tools` finds the other 154 by keyword, and `?mode=full` lists all 164.

The account server, `https://darvas.app/mcp`, is for apps that connect by sign-in, such as Claude and ChatGPT. It uses your Darvas account through OAuth 2.1 instead of an API key.

An agent that writes code against the API uses the docs server. An agent that answers questions with numbers uses the data API server, and the docs server when it needs to know which tool to call.

## Which endpoint answers which question

Every read and search endpoint is also a tool on the data API server, so the two tables below name all 164 tools. Pass the endpoint's parameters as arguments.

| Question | Endpoint | MCP tool |
| - | - | - |
| A company's profile, CIK and tickers | [`GET /company/facts`](https://docs.darvas.app/companies/profile) | `get_company_facts` |
| A company by name, ticker, CIK, CUSIP, ISIN, FIGI or LEI | [`GET /companies/search`](https://docs.darvas.app/companies/search) | `search_companies` |
| Everything Darvas holds about a US stock, in one call | [`GET /company/dossier`](https://docs.darvas.app/companies/dossier) | `get_company_dossier` |
| The tickers and CIKs that have a profile or filings | [`GET /company/facts/tickers`](https://docs.darvas.app/companies/tickers), [`/company/facts/ciks`](https://docs.darvas.app/companies/ciks), [`/filings/tickers`](https://docs.darvas.app/sec-edgar/filings-tickers), [`/filings/ciks`](https://docs.darvas.app/sec-edgar/filings-ciks) | `list_company_facts_tickers`, `list_company_facts_ciks`, `list_filings_tickers`, `list_filings_ciks` |
| A company's filings, newest first | [`GET /filings`](https://docs.darvas.app/sec-edgar/filings) | `list_filings` |
| The SEC form types to filter filings by | [`GET /filings/types`](https://docs.darvas.app/sec-edgar/filing-types) | `list_filing_types` |
| The text of a 10-K, 10-Q or 8-K item, such as Item 1A Risk Factors | [`GET /filings/items`](https://docs.darvas.app/sec-edgar/filing-items) | `get_filing_items` |
| The items of a filing Darvas was still reading, after a `202` | [`GET /filings/items/requests/{request_id}`](https://docs.darvas.app/sec-edgar/filing-items-requests) | `get_filing_items_request` |
| 8-K events, such as officer changes or acquisitions | [`GET /filings/events`](https://docs.darvas.app/sec-edgar/8k-events) | `list_filing_events` |
| Every company's newest filings, by form, 8-K item or sector | [`GET /filings/feed`](https://docs.darvas.app/sec-edgar/filings-feed) | `list_filings_feed` |
| Executive changes, votes, auditor changes, non-reliance and cyber incidents as fields | [`GET /events/8k-structured`](https://docs.darvas.app/sec-edgar/8k-structured-events) | `list_structured_eight_k_events` |
| Rule 10b5-1 plan adoptions and terminations | [`GET /sec/rule-10b5-1`](https://docs.darvas.app/sec-edgar/rule-10b5-1-plans) | `list_trading_arrangements` |
| Private offerings and fund raises on Form D | [`GET /filings/form-d`](https://docs.darvas.app/sec-edgar/form-d-offerings) | `list_sec_form_d_offerings` |
| The crypto public companies hold | [`GET /sec/crypto-treasuries`](https://docs.darvas.app/sec-edgar/crypto-treasuries) | `list_crypto_treasuries` |
| A company's federal government contracts | [`GET /government/contracts`](https://docs.darvas.app/companies/government-contracts) | `list_government_contracts` |
| Filing passages that answer a question | [`POST /search`](https://docs.darvas.app/sec-edgar/full-text-search) | `search_documents` |
| Revenue, earnings and EPS over time | [`GET /financials/income-statements`](https://docs.darvas.app/financials/income-statements) | `list_income_statements` |
| Assets, debt and equity | [`GET /financials/balance-sheets`](https://docs.darvas.app/financials/balance-sheets) | `list_balance_sheets` |
| Operating cash flow, capex and free cash flow | [`GET /financials/cash-flow-statements`](https://docs.darvas.app/financials/cash-flow-statements) | `list_cash_flow_statements` |
| Any XBRL fact a company reports, by concept tag | [`GET /financials/xbrl-facts`](https://docs.darvas.app/financials/xbrl-facts) | `list_xbrl_facts` |
| Debt due in each of the next five years | [`GET /financials/debt-schedule`](https://docs.darvas.app/financials/debt-schedule) | `get_debt_schedule` |
| Margins, returns and other ratios | [`GET /financial-metrics`](https://docs.darvas.app/financials/metrics) | `list_financial_metrics` |
| A company's latest P/E, EV/EBITDA, market cap and other TTM ratios | [`GET /financial-metrics/snapshot`](https://docs.darvas.app/financials/metrics-snapshot) | `get_financial_metrics_snapshot` |
| Valuation and ratios of 2 to 20 peers, with the group medians | [`GET /financials/peer-comparison`](https://docs.darvas.app/financials/peer-comparison) | `compare_financial_peers` |
| Every valuation, return, leverage and growth metric per period | [`GET /financial-metrics/extended`](https://docs.darvas.app/financials/extended-metrics) | `list_extended_financial_metrics` |
| Each metric's formula, unit and inputs | [`GET /financial-metrics/catalog`](https://docs.darvas.app/financials/metrics-catalog) | `get_financial_metrics_catalog` |
| Altman Z, Piotroski F and Beneish M scores | [`GET /financials/scores`](https://docs.darvas.app/financials/quality-scores) | `list_financial_scores` |
| A DCF value per share and the growth the price implies | [`GET /valuation/dcf`](https://docs.darvas.app/financials/dcf-valuation) | `get_dcf_valuation` |
| A stock's P/E or EV/EBITDA on every past day | [`GET /valuation/history`](https://docs.darvas.app/financials/valuation-history) | `list_valuation_history` |
| Companies that pass fundamental filters | [`POST /financials/search/screener`](https://docs.darvas.app/financials/stock-screener) | `screen_companies` |
| A few statement fields for many companies | [`POST /financials/search/line-items`](https://docs.darvas.app/financials/line-items) | `search_line_items` |
| All three statements of the same periods in one call | [`GET /financials`](https://docs.darvas.app/financials/all-statements) | `list_financials` |
| Statements exactly as the filing presents them, with the company's own labels | [`GET /financials/as-reported`](https://docs.darvas.app/financials/as-reported-statements), [`/financials/income-statements/as-reported`](https://docs.darvas.app/financials/as-reported-income-statements), [`/financials/balance-sheets/as-reported`](https://docs.darvas.app/financials/as-reported-balance-sheets), [`/financials/cash-flow-statements/as-reported`](https://docs.darvas.app/financials/as-reported-cash-flow-statements) | `list_as_reported_financials`, `list_income_statements_as_reported`, `list_balance_sheets_as_reported`, `list_cash_flow_statements_as_reported` |
| Revenue by product, region or segment | [`GET /financials/segments`](https://docs.darvas.app/financials/segments) | `list_segmented_financials` |
| One statement's segment values: revenue and operating income, assets, or capital expenditure | [`GET /financials/income-statements/segments`](https://docs.darvas.app/financials/segment-income-statements), [`/financials/balance-sheets/segments`](https://docs.darvas.app/financials/segment-balance-sheets), [`/financials/cash-flow-statements/segments`](https://docs.darvas.app/financials/segment-cash-flow-statements) | `list_income_statement_segments`, `list_balance_sheet_segments`, `list_cash_flow_statement_segments` |
| A quarter's results as the earnings release reported them | [`GET /earnings`](https://docs.darvas.app/earnings/releases) | `list_earnings` |
| Sector KPIs, guidance and non-GAAP figures | [`GET /kpi/metrics`](https://docs.darvas.app/earnings/kpis), [`/kpi/guidance`](https://docs.darvas.app/earnings/guidance), [`/kpi/non-gaap`](https://docs.darvas.app/earnings/non-gaap) | `list_kpi_metrics`, `list_kpi_guidance`, `list_kpi_non_gaap` |
| Insider buys and sells | [`GET /insider-trades`](https://docs.darvas.app/ownership/insider-trading) | `list_insider_trades` |
| Insider trades of every company, screened by type, value and role | [`GET /insider-trades/screener`](https://docs.darvas.app/ownership/insider-screener) | `screen_insider_trades` |
| Companies where several insiders bought at once | [`GET /insider-trades/clusters`](https://docs.darvas.app/ownership/insider-cluster-buys) | `list_insider_clusters` |
| Planned insider sales on Form 144 | [`GET /insider-trades/sale-notices`](https://docs.darvas.app/ownership/form-144-sale-notices) | `list_sale_notices` |
| What insiders hold | [`GET /insider-ownership`](https://docs.darvas.app/ownership/insider-holdings) | `list_insider_ownership` |
| Owners of more than 5% and activist stakes | [`GET /beneficial-ownership`](https://docs.darvas.app/ownership/beneficial-13d-13g), [`/activist-ownership`](https://docs.darvas.app/ownership/activist-13d) | `list_beneficial_owners`, `list_activist_owners` |
| A manager's 13F portfolio, or the managers that hold a stock | [`GET /institutional-holdings`](https://docs.darvas.app/ownership/13f-institutional-holdings) | `list_institutional_holdings` |
| Who opened, added, cut or sold a position last quarter | [`GET /institutional-ownership/changes`](https://docs.darvas.app/ownership/13f-position-changes) | `list_institutional_changes` |
| The stocks 13F managers bought or sold most | [`GET /institutional-ownership/top-bought`](https://docs.darvas.app/ownership/13f-most-bought) | `list_institutional_top_bought` |
| Everyone who owns a company, in one call | [`GET /ownership/summary`](https://docs.darvas.app/ownership/ownership-summary) | `get_ownership_summary` |
| The CIK of a 13F filer | [`GET /institutional-holdings/investors`](https://docs.darvas.app/ownership/13f-investors) | `list_institutional_investors` |
| What an ETF or fund holds, or the funds that hold a stock | [`GET /index-funds`](https://docs.darvas.app/ownership/etf-fund-holdings) | `list_index_fund_holdings` |
| New IPO filings | [`GET /ipos`](https://docs.darvas.app/sec-edgar/ipo-filings) | `list_ipos` |
| Company and market news | [`GET /news`](https://docs.darvas.app/stocks/financial-news) | `list_news` |
| Daily, weekly or monthly stock prices | [`GET /prices`](https://docs.darvas.app/stocks/historical-prices) | `list_prices` |
| A stock's latest price | [`GET /prices/snapshot`](https://docs.darvas.app/stocks/price-snapshot) | `get_price_snapshot` |
| Every US stock's latest price in one call | [`GET /prices/snapshot/market`](https://docs.darvas.app/stocks/market-snapshot) | `get_market_snapshot` |
| A stock's RSI, MACD, moving averages and 52-week range | [`GET /prices/technicals`](https://docs.darvas.app/stocks/technical-indicators) | `get_stock_technicals` |
| A stock's beta, Sharpe ratio, drawdown and value at risk | [`GET /prices/risk`](https://docs.darvas.app/stocks/risk-statistics) | `get_price_risk` |
| Dividends and splits | [`GET /dividends`](https://docs.darvas.app/stocks/dividends), [`GET /splits`](https://docs.darvas.app/stocks/splits) | `list_dividends`, `list_splits` |
| Shares that failed to settle | [`GET /fails-to-deliver`](https://docs.darvas.app/stocks/fails-to-deliver) | `list_fails_to_deliver` |
| Daily short sale volume and short ratio | [`GET /short-volume`](https://docs.darvas.app/stocks/short-volume) | `list_short_volume` |
| Futures positions by trader group | [`GET /cot`](https://docs.darvas.app/futures/commitment-of-traders) | `list_cot` |
| COT Index, positioning z-scores and extremes | [`GET /cot/analytics`](https://docs.darvas.app/futures/cot-analytics) | `get_cot_analytics` |
| Upcoming and past economic releases, with consensus and surprise | [`GET /macro/economic-calendar`](https://docs.darvas.app/macro/economic-calendar), [`/macro/economic-calendar/countries`](https://docs.darvas.app/macro/economic-calendar-countries) | `list_economic_calendar`, `list_economic_calendar_countries` |
| Central bank policy rates | [`GET /macro/interest-rates`](https://docs.darvas.app/macro/interest-rates) | `list_interest_rates`, `get_interest_rates_snapshot` |
| Treasury yields | [`GET /macro/yield-curve`](https://docs.darvas.app/macro/treasury-yield-curve) | `list_yield_curve`, `get_yield_curve_snapshot` |
| Yield curve spreads, inversions and the Sahm Rule | [`GET /macro/spreads`](https://docs.darvas.app/macro/yield-curve-spreads) | `get_macro_spreads` |
| Fed net liquidity, reverse repo, TGA and SOFR | [`GET /macro/liquidity`](https://docs.darvas.app/macro/fed-net-liquidity) | `get_macro_liquidity` |
| CPI and PCE inflation | [`GET /macro/inflation`](https://docs.darvas.app/macro/cpi-pce-inflation) | `list_inflation`, `get_inflation_snapshot` |
| Payrolls, unemployment and jobless claims | [`GET /macro/labor`](https://docs.darvas.app/macro/labor-market) | `list_labor`, `get_labor_snapshot` |
| GDP, profits and income | [`GET /macro/gdp`](https://docs.darvas.app/macro/gdp-income) | `list_gdp`, `get_gdp_snapshot` |
| GPU rental prices | [`GET /macro/gpu-prices`](https://docs.darvas.app/macro/gpu-rental-prices) | `list_gpu_prices`, `get_gpu_prices_snapshot` |
| The tokenized stocks Darvas follows, by venue | [`GET /tokenized-stocks`](https://docs.darvas.app/tokenized-stocks/markets) | `list_tokenized_stocks` |
| Prices of tokenized stocks | [`GET /tokenized-stocks/prices/snapshot`](https://docs.darvas.app/tokenized-stocks/snapshot) | `get_tokenized_stock_snapshot` |
| Price and trade history of a tokenized stock | [`GET /tokenized-stocks/prices`](https://docs.darvas.app/tokenized-stocks/prices), [`/tokenized-stocks/trades`](https://docs.darvas.app/tokenized-stocks/trades) | `list_tokenized_stock_prices`, `list_tokenized_stock_trades` |
| Crypto candles and latest price (Darvas aggregated or per exchange) | [`GET /crypto/prices`](https://docs.darvas.app/crypto/prices), [`/crypto/prices/snapshot`](https://docs.darvas.app/crypto/price-snapshot) | `list_crypto_prices`, `get_crypto_price_snapshot` |
| Crypto instruments and Darvas aggregated pairs (`ALLUSD` and constituents) | [`GET /crypto/tickers`](https://docs.darvas.app/crypto/tickers) | `list_crypto_tickers` |
| Crypto raw trades and aggregated order flow | [`GET /crypto/trades`](https://docs.darvas.app/crypto/trades), [`/crypto/order-flow`](https://docs.darvas.app/crypto/order-flow) | `list_crypto_trades`, `list_crypto_order_flow` |
| Crypto price-level footprint bars, cells and delta clusters | [`GET /crypto/footprint`](https://docs.darvas.app/crypto/footprint-charts) | `get_crypto_footprint` |
| Crypto technical indicators (SMA, EMA, RSI, MACD, Bollinger Bands, ATR) | [`GET /crypto/indicators`](https://docs.darvas.app/crypto/technical-indicators) | `get_crypto_indicators` |
| Every crypto pair's price, 24-hour change and volume | [`GET /crypto/prices/snapshot/market`](https://docs.darvas.app/crypto/market-snapshot) | `get_crypto_market_snapshot` |
| A perpetual's 24-hour volume across exchanges | [`GET /crypto/volume/aggregated`](https://docs.darvas.app/crypto/aggregated-volume) | `get_crypto_aggregated_volume` |
| A brief of one crypto market: price ranges, funding, open interest and macro releases | [`GET /crypto/context`](https://docs.darvas.app/crypto/market-context) | `get_crypto_market_context` |
| Composite crypto spot index candles and prices | [`GET /crypto/index/prices`](https://docs.darvas.app/crypto/index-prices), [`/crypto/index/snapshot`](https://docs.darvas.app/crypto/index-snapshot) | `list_crypto_index_prices`, `get_crypto_index_snapshot` |
| Hyperliquid perpetuals with funding and open interest | [`GET /crypto/hyperliquid/markets`](https://docs.darvas.app/crypto/hyperliquid-markets) | `list_hyperliquid_markets` |
| Spot Bitcoin, Ethereum and Solana ETF flows | [`GET /crypto/etf-flows`](https://docs.darvas.app/crypto/etf-flows) | `list_crypto_etf_flows` |
| The Coinbase premium | [`GET /crypto/coinbase-premium`](https://docs.darvas.app/crypto/coinbase-premium) | `get_crypto_coinbase_premium` |
| Crypto fear and greed, and altcoin season | [`GET /crypto/sentiment`](https://docs.darvas.app/crypto/sentiment-index) | `get_crypto_sentiment` |
| A coin's realized volatility, correlation to stocks and seasonality | [`GET /crypto/analytics`](https://docs.darvas.app/crypto/volatility-correlation) | `get_crypto_analytics` |
| A live crypto order book, merged across exchanges | [`GET /crypto/order-book`](https://docs.darvas.app/crypto/order-book) | `get_crypto_order_book` |
| Resting bid and ask size over time | [`GET /crypto/order-book/heatmap`](https://docs.darvas.app/crypto/order-book-heatmap) | `get_crypto_order_book_heatmap` |
| Order book depth, imbalance and slippage per bar | [`GET /crypto/order-book/imbalance-history`](https://docs.darvas.app/crypto/order-book-imbalance) | `get_crypto_order_book_imbalance_history` |
| Whale trades, and the price zones where they traded | [`GET /crypto/large-trades`](https://docs.darvas.app/crypto/large-trades), [`/crypto/large-trades/zones`](https://docs.darvas.app/crypto/whale-trade-zones) | `list_crypto_large_trades`, `list_crypto_large_trade_zones` |
| Volume profiles by session or for any time range | [`GET /crypto/volume-profile`](https://docs.darvas.app/crypto/volume-profile), [`/crypto/volume-profile/fixed-range`](https://docs.darvas.app/crypto/fixed-range-volume-profile) | `get_crypto_volume_profile`, `get_crypto_fixed_range_volume_profile` |
| TPO market profiles | [`GET /crypto/tpo`](https://docs.darvas.app/crypto/tpo-market-profile) | `get_crypto_tpo` |
| Smart Money Concepts, order blocks, fair value gaps and swings | [`GET /crypto/market-structure`](https://docs.darvas.app/crypto/market-structure) | `get_crypto_market_structure` |
| Funding, open interest, basis and long-short ratios over time | [`GET /crypto/derivatives`](https://docs.darvas.app/crypto/derivatives) | `list_crypto_derivatives` |
| Live funding, open interest and basis of one contract | [`GET /crypto/derivatives/snapshot`](https://docs.darvas.app/crypto/derivatives-snapshot) | `get_crypto_derivatives_snapshot` |
| Contracts whose open interest changed the most | [`POST /crypto/derivatives/oi-scan`](https://docs.darvas.app/crypto/open-interest-scanner) | `scan_crypto_oi_change` |
| Funding rate arbitrage across venues | [`GET /crypto/funding-arbitrage`](https://docs.darvas.app/crypto/funding-arbitrage) | `scan_crypto_funding_arbitrage` |
| A coin's open interest, funding and CVD summed across venues | [`GET /crypto/aggregated-derivatives`](https://docs.darvas.app/crypto/aggregated-derivatives) | `get_crypto_aggregated_derivatives` |
| Perpetual and futures basis and the term structure | [`GET /crypto/basis`](https://docs.darvas.app/crypto/basis) | `get_crypto_basis` |
| An options chain with Greeks, and IV skew and term structure | [`GET /crypto/derivatives/option-chain`](https://docs.darvas.app/crypto/options-chain), [`/crypto/derivatives/iv-skew`](https://docs.darvas.app/crypto/options-iv-skew) | `list_crypto_options_chain`, `get_crypto_options_iv_skew` |
| Options max pain, dealer gamma exposure and IV surface | [`GET /crypto/derivatives/options-analytics`](https://docs.darvas.app/crypto/options-analytics) | `get_crypto_options_analytics` |
| The DVOL index, IV rank and realized volatility cone | [`GET /crypto/derivatives/dvol`](https://docs.darvas.app/crypto/dvol-index) | `get_crypto_options_dvol` |
| Liquidation fills, and estimated liquidation levels | [`GET /crypto/liquidations`](https://docs.darvas.app/crypto/liquidations), [`/crypto/liquidations/heatmap`](https://docs.darvas.app/crypto/liquidation-heatmap) | `list_crypto_liquidations`, `get_crypto_liquidation_heatmap` |
| Crypto markets that pass technical or derivatives conditions | [`POST /crypto/screener`](https://docs.darvas.app/crypto/screener), [`GET /crypto/screener/metrics`](https://docs.darvas.app/crypto/screener-metrics) | `screen_crypto_markets`, `list_crypto_screener_metrics` |
| DeFi protocols ranked by TVL | [`GET /defi/protocols`](https://docs.darvas.app/defi/protocols-tvl) | `list_defi_protocols` |
| Stablecoin supply | [`GET /defi/stablecoins`](https://docs.darvas.app/defi/stablecoins) | `list_stablecoin_supply` |
| DeFi lending, staking and pool yields | [`GET /defi/yields`](https://docs.darvas.app/defi/yields) | `list_defi_yields` |
| DEX pairs, their liquidity, and trending tokens | [`GET /defi/dex-tokens`](https://docs.darvas.app/defi/dex-tokens) | `list_dex_tokens` |
| DeFi protocol fees and revenue | [`GET /defi/fees`](https://docs.darvas.app/defi/fees-revenue) | `list_defi_fees` |
| DEX, aggregator and options volume | [`GET /defi/dex-volumes`](https://docs.darvas.app/defi/dex-volumes) | `list_defi_dex_volumes` |
| One protocol's TVL by chain and its history | [`GET /defi/protocols/{slug}`](https://docs.darvas.app/defi/protocol-profile) | `get_defi_protocol` |
| Prediction market odds on Polymarket, Kalshi and OKX | [`GET /prediction-markets`](https://docs.darvas.app/prediction-markets/markets) | `list_prediction_markets` |
| Prediction market series and categories | [`GET /prediction-markets/series`](https://docs.darvas.app/prediction-markets/series) | `list_prediction_market_series` |
| The same question priced apart on Polymarket and Kalshi | [`GET /prediction-markets/arbitrage`](https://docs.darvas.app/prediction-markets/arbitrage) | `scan_prediction_market_arbitrage` |
| One prediction market's rules, prices and history | [`GET /prediction-markets/markets/{id}`](https://docs.darvas.app/prediction-markets/market-detail) | `get_prediction_market` |
| A prediction market's live order book | [`GET /prediction-markets/orderbook`](https://docs.darvas.app/prediction-markets/order-book) | `get_prediction_market_order_book` |
| Market-implied FOMC, CPI, payrolls and recession odds | [`GET /prediction-markets/macro-odds`](https://docs.darvas.app/prediction-markets/macro-odds) | `list_prediction_macro_odds` |

### Discovery and catalog tools

These lists tell an agent which tickers, types and series a dataset takes before it asks for data. Each costs at most 1 credit per call, and 0 when the list is empty. The [catalog resources](https://docs.darvas.app/mcp-server.md#catalog-resources) hold the series tables for 0 credits.

| What it lists | Endpoint | MCP tool |
| - | - | - |
| Tickers with earnings releases | [`GET /earnings/tickers`](https://docs.darvas.app/earnings/tickers) | `list_earnings_tickers` |
| Tickers and sectors with operating KPIs | [`GET /kpi/metrics/tickers`](https://docs.darvas.app/earnings/kpi-tickers), [`/kpi/metrics/sectors`](https://docs.darvas.app/earnings/kpi-sectors) | `list_kpi_tickers`, `list_kpi_sectors` |
| The items a 10-K, 10-Q or 8-K can have | [`GET /filings/items/types`](https://docs.darvas.app/sec-edgar/filing-item-types) | `list_filing_item_types` |
| The 8-K event types and their items | [`GET /filings/events/types`](https://docs.darvas.app/sec-edgar/8k-event-types) | `list_filing_event_types` |
| Companies with standardized statements | [`GET /financials/income-statements/tickers`](https://docs.darvas.app/financials/tickers) | `list_statement_tickers` |
| Tickers with a financial metrics snapshot | [`GET /financial-metrics/snapshot/tickers`](https://docs.darvas.app/financials/metrics-tickers) | `list_financial_metrics_tickers` |
| The fields the stock screener filters on | [`GET /financials/search/screener/filters`](https://docs.darvas.app/financials/screener-filters) | `list_screener_filters` |
| Tickers held in 13F reports, and fund share class tickers | [`GET /institutional-holdings/tickers`](https://docs.darvas.app/ownership/13f-tickers), [`/index-funds/tickers`](https://docs.darvas.app/ownership/fund-tickers) | `list_institutional_tickers`, `list_index_fund_tickers` |
| Stocks with price history, and stocks with a snapshot | [`GET /prices/tickers`](https://docs.darvas.app/stocks/tickers), [`/prices/snapshot/tickers`](https://docs.darvas.app/stocks/snapshot-tickers) | `list_price_tickers`, `list_price_snapshot_tickers` |
| Commitments of Traders markets | [`GET /cot/markets`](https://docs.darvas.app/futures/cot-markets) | `list_cot_markets` |
| Central banks with a policy rate | [`GET /macro/interest-rates/banks`](https://docs.darvas.app/macro/central-banks) | `list_interest_rates_series` |
| Inflation, labor, GDP and GPU rental series | [`GET /macro/inflation/series`](https://docs.darvas.app/macro/inflation-series), [`/macro/labor/series`](https://docs.darvas.app/macro/labor-market-series), [`/macro/gdp/series`](https://docs.darvas.app/macro/gdp-series), [`/macro/gpu-prices/series`](https://docs.darvas.app/macro/gpu-prices-series) | `list_inflation_series`, `list_labor_series`, `list_gdp_series`, `list_gpu_price_series` |

When an agent does not know a tool's name, `search_data_tools` on the [MCP server](https://docs.darvas.app/mcp-server.md#tool-lists) finds it by keyword or domain. [Market coverage](https://docs.darvas.app/market-coverage.md) gives the history and update time of each dataset.

## How an agent uses the docs

1. Read `/llms.txt` to find the page of what it needs. Endpoint pages are grouped by dataset: financial statements, filings, insider trades, institutional holdings, prices, macro and the rest.
2. Read that page's `.md`. It names the endpoint, every parameter with its type and limits, and an example answer.
3. Call `https://api.darvas.app/v1` with the key in `X-API-KEY`. Companies go by `ticker` or `cik`, and dates are `YYYY-MM-DD`.
4. Follow `next_page_url` until the answer has none. See [Pagination](https://docs.darvas.app/pagination.md).
5. On `429`, wait the seconds in `Retry-After`. Other errors carry a stable `error` code, listed in [Errors](https://docs.darvas.app/authentication.md#errors).

## Add the docs to your agent

Install the skill, so the agent knows what Darvas offers before it reads a page:

```bash theme={null}
npx skills add https://docs.darvas.app
```

Connect the docs search to Claude Code:

```bash theme={null}
claude mcp add --transport http darvas-docs https://docs.darvas.app/mcp
```

Connect the docs search to Codex in `~/.codex/config.toml`:

```toml theme={null}
[mcp_servers.darvas-docs]
url = "https://docs.darvas.app/mcp"
```

Connect the data API, with your key. [MCP server](https://docs.darvas.app/mcp-server.md) has the same setup for Codex, Cursor, VS Code, Windsurf and Devin.

```bash theme={null}
claude mcp add --transport http darvas https://api.darvas.app/mcp --header "X-API-KEY: $DARVAS_API_KEY"
```

Or give the agent the index and let it read on:

```text theme={null}
Read https://docs.darvas.app/llms.txt, then the pages you need, and use the Darvas data API with the key in DARVAS_API_KEY.
```


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