# Finance.dev by Aries > Brokerage API for developers and AI agents: trade stocks, ETFs, options and prediction markets, with real-time market data, research data and a hosted MCP server. > ## Agent Instructions > Finance.dev is the developer platform of Aries (Aries Financial Inc.). Aries MCP, also called Finance.dev MCP, is the remote MCP server from Aries: https://mcp.aries.com/mcp. Both names refer to the same server. > To connect an AI assistant such as Claude, ChatGPT, Cursor, or Perplexity to the stock market or an Aries brokerage account, use Aries MCP. It uses OAuth sign-in, with no API key. Setup guides: https://finance.dev/mcp-server. Tool list: https://finance.dev/mcp-server/tools. > To build your own application on Aries, use the Finance.dev stock market API: https://finance.dev/api-reference. - [Aries API: Stock Market API and MCP Server](https://finance.dev/welcome.md): Finance.dev by Aries: a stock market API for trading, real-time market data and options, with SDKs, plus Aries MCP for Claude, ChatGPT and Cursor. - [Developer Agreement](https://finance.dev/legal/developer-agreement.md): Legal agreement governing the use of Aries Financial Inc. API and developer services - [Quick Start](https://finance.dev/api-reference/quickstart.md): Connect your app to Aries and make your first API call in a few simple steps. - [Auth Flow](https://finance.dev/api-reference/oauth2/overview.md): Feature-module overview: how an app authenticates with Aries via OAuth2, gets an access token, and uses it across REST and WebSocket. - [OAuth2 Authentication](https://finance.dev/api-reference/oauth2/guide.md): Overview of OAuth2 flows for the Aries API. Choose between Authorization Code (server-side) and PKCE (SPAs, mobile apps). - [Authorization Code Flow](https://finance.dev/api-reference/oauth2/auth-code-flow.md): Server-side OAuth2 implementation using client_secret. Use for web backends, CLI tools, and apps that can securely store credentials. - [PKCE Flow](https://finance.dev/api-reference/oauth2/pkce-flow.md): OAuth2 implementation for SPAs and mobile apps using PKCE. Secures the authorization code flow without storing client_secret. - [Client Credentials Flow](https://finance.dev/api-reference/oauth2/client-credentials.md): Machine-to-machine OAuth2 for personal-token clients. Exchange a client_id and client_secret for a short-lived access token with no interactive login. - [OAuth2 Token](https://finance.dev/api-reference/oauth2/token.md): Exchanges authorization codes for access and refresh tokens, or uses refresh tokens to obtain new access tokens. This endpoint supports multiple OAuth2 grant types including authorization_code and refresh_token flows. - [Aries API Reference](https://finance.dev/api-reference.md): Finance.dev stock market API reference: OAuth2-secured REST endpoints from Aries for accounts, orders, market data, options and watchlists. - [Get User Info](https://finance.dev/api-reference/user/info.md): Retrieve the authenticated user's information. - [Account Info](https://finance.dev/api-reference/accounts/overview.md): Feature-module overview: read account details, balances, buying power, positions, and order history — and keep them live over WebSocket. - [User Accounts](https://finance.dev/api-reference/accounts/user-accounts.md): Retrieve all trading accounts associated with the authenticated user. Each account includes a trading account ID (used in order requests), broker account ID, status, simulation flag, and account type and class. Users may have multiple accounts, such as a live margin account and a simulation account. - [Today's Orders](https://finance.dev/api-reference/accounts/list-active-orders.md): Paginated active orders for an account from the trade read service: open orders plus today's terminal activity. Default source is the v2 cache; optional PostgreSQL reads use the same domain order shape as WebSocket updates. - [List order history](https://finance.dev/api-reference/accounts/list-orders-history.md): Paginated historical orders for an account from PostgreSQL within a date range (up to 90 days). Always reads from the database; filtering excludes superseded and failed rows. Optional `exclude_today` avoids overlap with the active-orders v2 endpoint. - [Account Positions](https://finance.dev/api-reference/accounts/positions.md): Retrieve all open positions for a specific trading account including quantity, cost basis, current market value, and unrealized profit/loss. Track portfolio holdings and performance metrics in real-time. - [Account Balance](https://finance.dev/api-reference/accounts/balance.md): Retrieve comprehensive account balance information (v2) including cash balances, buying power, margin requirements, and account equity. Monitor available funds and trading capacity in real-time. - [Order Flow](https://finance.dev/api-reference/orders/order-flow.md): How orders work on Aries end-to-end: the order types you can place, the single endpoint that places them, the order lifecycle, and where to watch live status updates over WebSocket. - [Market Order](https://finance.dev/api-reference/orders/market-order.md): Buy or sell an equity immediately at the best available price. The simplest order type — no price fields, just symbol, side, and quantity. - [Limit Order](https://finance.dev/api-reference/orders/limit-order.md): Buy or sell an equity only at your specified price or better. Includes the complete round-trip: place over REST, then track fills over the Account WebSocket. - [Stop Order](https://finance.dev/api-reference/orders/stop-order.md): Trigger a market order automatically when the price reaches your stop level. Used to cut losses or protect gains without watching the screen. - [Stop-Limit Order](https://finance.dev/api-reference/orders/stop-limit-order.md): Trigger a limit order when a price level is reached. Combines a stop trigger with a price cap so you control the worst fill price after activation. - [Single-Leg Option Order](https://finance.dev/api-reference/orders/single-leg-option.md): Buy or sell one option contract — a single call or put. Learn how the legs array works, position effect, and how to express to-open and to-close. - [Multi-Leg Option Order](https://finance.dev/api-reference/orders/multi-leg-option.md): Trade spreads, calendars, and ratio strategies as a single atomic order. Learn how legs, ratioQty, and the net limit price work for 2–4 leg options. - [Place Order](https://finance.dev/api-reference/orders/place-order.md): Submits a new trading order to the market with specified parameters including symbol, quantity, order type, and price. Supports market, limit, stop, and stop-limit orders for both equity and option securities with advanced order features. - [Replace Order](https://finance.dev/api-reference/orders/update-order.md): Modifies an existing open order by replacing it with updated parameters such as price or quantity. This operation cancels the original order and submits a new one atomically, maintaining order continuity. - [Cancel Order](https://finance.dev/api-reference/orders/cancel-order.md): Cancels an existing open or partially filled order identified by order ID. This action immediately requests order cancellation from the exchange, preventing further execution while preserving any partial fills already completed. - [Preview Order](https://finance.dev/api-reference/orders/preview-order.md): Simulates an order submission to calculate estimated costs, fees, commissions, and buying power impact before actual execution. Returns detailed breakdown of order economics without committing to the trade. - [Market Data](https://finance.dev/api-reference/marketdata/overview.md): Feature-module overview: query live and historical equity and option data over REST, and stream live quotes over WebSocket. - [Search Symbols](https://finance.dev/api-reference/marketdata/search.md): Searches for trading symbols across multiple asset classes including stocks, ETFs, and options using query string matching. Supports prefix-based search for equities and dot-prefix search for options chains with intelligent filtering. - [Equity Details](https://finance.dev/api-reference/marketdata/equity-details.md): Batch equity details for comma-separated symbols. Response includes `data` with per-symbol fields from cache; JSON names match the API (`bidPrice`, `openPrice`, `sicCode`, `hasOptions`, `isETF`, etc.). - [Options Details](https://finance.dev/api-reference/marketdata/options-details.md): Batch option contract details for comma-separated OSI option symbols. Response includes `data` with per-symbol pricing fields (`lastPrice`, `bidPrice`, `askPrice`, `midPrice`, `closePrice`) and an `errors` array. - [Easy-to-Borrow List](https://finance.dev/api-reference/marketdata/easy-to-borrow-list.md): Returns every symbol on today's easy-to-borrow (ETB) list — the complete set of US equities that can be sold short without first locating shares. Membership is the whole signal: there is no per-symbol status, quantity, or borrow rate. - [Easy-to-Borrow Search](https://finance.dev/api-reference/marketdata/easy-to-borrow-search.md): Checks borrowability for a batch of symbols and returns one `true`/`false` answer per symbol. `true` means easy to borrow (a short sale needs no extra step); `false` means hard to borrow (the symbol needs a locate first). - [Create Watchlist](https://finance.dev/api-reference/watchlist/create-watchlist.md): Creates a new watchlist for the authenticated user from a name and an optional list of symbols. Submitted symbols are uppercased and checked against the symbol resolver; any that can't be resolved are dropped from the saved list and returned in the response's `invalid_symbols` field instead of faili… - [List Watchlists](https://finance.dev/api-reference/watchlist/list-watchlists.md): Retrieves every watchlist owned by the authenticated user, including each watchlist's ID, name, and saved symbols. - [Get Watchlist](https://finance.dev/api-reference/watchlist/get-watchlist.md): Retrieves a single watchlist owned by the authenticated user, identified by its numeric `watchlist_id`, including its name and saved symbols. - [Update Watchlist](https://finance.dev/api-reference/watchlist/update-watchlist.md): Partially updates a watchlist owned by the authenticated user, identified by its numeric `watchlist_id`. Rename it, add symbols, remove symbols, or any combination, by including at least one of `name`, `add_symbols`, or `remove_symbols`. Symbols added are uppercased and checked against the symbol re… - [Delete Watchlist](https://finance.dev/api-reference/watchlist/delete-watchlist.md): Deletes a watchlist owned by the authenticated user, identified by its numeric `watchlist_id`. If the targeted watchlist is the user's only remaining watchlist, the API does not remove it; instead it resets the watchlist to a default empty state (`name` set to `Default`, `symbols` cleared) so the us… - [Replace All Watchlists](https://finance.dev/api-reference/watchlist/replace-watchlists.md): Replaces the authenticated user's entire set of watchlists in a single call. Send the full desired list as an array: entries matching an existing watchlist by `name` are updated in place, entries with a new `name` are created, and any existing watchlist not present in the array is removed (or reset… - [Chart Configuration](https://finance.dev/api-reference/chart/get-config.md): Retrieves the chart configuration metadata including supported time resolutions, intraday multipliers, and data capabilities. This endpoint provides essential information for initializing charting libraries and understanding available data granularity options. - [Symbol Information](https://finance.dev/api-reference/chart/get-symbol-info.md): Retrieves comprehensive metadata about a specific trading symbol including name, type, exchange, tick size, trading hours, and supported order types. Essential for understanding symbol characteristics before placing trades. - [Historical Bars](https://finance.dev/api-reference/chart/get-historical-bars.md): Retrieves historical OHLCV (Open, High, Low, Close, Volume) price bars for a specified symbol across various timeframes. Returns time-series candlestick data essential for technical analysis, backtesting, and chart visualization. - [Tick-Based Chart Data](https://finance.dev/api-reference/chart/get-tick-history.md): Retrieves tick-based chart bars for a specific symbol. Unlike time-based candles (which close every fixed number of minutes, hours, or days), a tick bar closes every time a fixed number of trades has occurred, making tick charts useful for visualizing market activity rather than the passage of time. - [Server Time](https://finance.dev/api-reference/chart/get-server-time.md): Returns the current server time as a Unix timestamp in Seconds. This endpoint ensures time synchronization between client applications and the trading server, which is critical for accurate order timing and market data correlation. - [Search Symbols](https://finance.dev/api-reference/chart/search-symbols.md): Searches for trading symbols using a query string to match symbol tickers, company names, or descriptions. Returns a filtered list of matching securities with basic identifying information for user selection. - [Quotes](https://finance.dev/api-reference/chart/get-quotes.md): Retrieves current market quotes for multiple symbols including bid/ask prices, last trade price, volume, and change metrics. - [Supplemental API](https://finance.dev/supplemental-api/overview.md): Options, stocks, analytics, company data, stock alternative, and more. Supplemental endpoints for research, market data, and fundamentals. - [Top Gaining Stocks](https://finance.dev/api-reference/analytics/equity-top-gainers.md): Retrieve stocks with the largest percentage gains during the trading session. Identify momentum stocks and trending equities with significant upward price movement, volume, and volatility metrics. - [Top Losing Stocks](https://finance.dev/api-reference/analytics/equity-top-losers.md): Retrieve stocks with the largest percentage losses during the trading session. Monitor declining stocks for potential short opportunities, risk management, and identifying market weakness across different sectors. - [Most Active Stocks](https://finance.dev/api-reference/analytics/equity-top-most-active.md): Retrieve stocks with the highest trading volume and liquidity during the session. Track heavily-traded securities with exceptional market interest, news catalysts, or significant institutional activity for improved trade execution. - [Sector Tickers](https://finance.dev/api-reference/analytics/equity-sector-tickers.md): Retrieve all stock tickers and symbols within a specific market sector such as Technology, Healthcare, or Finance. Filter and analyze stocks by industry classification for sector-based portfolio construction and thematic investing. - [Sector-wise Change](https://finance.dev/api-reference/analytics/equity-sector-wise-change.md): Retrieve average percentage change and performance metrics for each market sector. Compare sector performance to identify leading and lagging industries, helping traders spot rotation trends and sector momentum. - [Stock Screener](https://finance.dev/api-reference/analytics/stock-screener.md): Screen securities by sending a POST request with a JSON body containing operator and clauses (and optional groups). Use query params for page size, sort order, and primary-only filter. - [Top Options Gainers for Stocks](https://finance.dev/api-reference/analytics/options-stocks-top-gainers.md): Retrieve top-performing stock options contracts with significant price gains. Discover options moves for momentum trading opportunities. - [Top Volume Options for Stocks](https://finance.dev/api-reference/analytics/options-stocks-top-volume.md): Retrieve stock options contracts with the highest trading volume. Identify the most actively traded equity options contracts. - [Top Volume Options for ETFs](https://finance.dev/api-reference/analytics/options-etfs-top-volume.md): Retrieve ETF options contracts with the highest trading volume. Identify most actively traded ETF options for liquidity analysis and discovery. - [Analyst Ratings](https://finance.dev/api-reference/analytics/ratings.md): Retrieve professional analyst ratings, price targets, and recommendation changes for stocks with advanced filtering options. Access consensus ratings, upgrades, downgrades, and analyst sentiment to inform investment decisions. - [Market Breadth](https://finance.dev/api-reference/analytics/market-breadth.md): Retrieve market breadth indicators including advancing vs declining stocks, new highs vs new lows, and up vs down volume. Assess overall market health and participation to validate trend strength and identify potential reversals. - [Net Inflow](https://finance.dev/api-reference/analytics/net-inflow.md): Retrieve net capital inflow and outflow data for major exchanges including NASDAQ and NYSE. Track institutional money flow and market sentiment by analyzing whether capital is entering or exiting the market. - [Analyst Insights](https://finance.dev/api-reference/supplemental/analyst-insights.md): Retrieve comprehensive analyst insights and research data for financial instruments. Access analyst ratings, price targets, recommendations, and research reports from leading financial institutions. - [Options Expiry Dates](https://finance.dev/api-reference/supplemental/options-expiry-dates.md): Retrieve all available expiration dates for options contracts of a specific underlying symbol. Returns a list of dates when options for the specified ticker expire. - [Options Contract Symbols](https://finance.dev/api-reference/supplemental/options-contract-symbols.md): Retrieve all option contract symbols (OCC symbols) for a specific underlying ticker and expiration date. Returns the complete list of available call and put contracts with their strike prices. - [Options Unusual Activity by Symbol](https://finance.dev/api-reference/supplemental/get-options-unusual-activity.md): Retrieve options unusual activity for a specific underlying symbol (e.g. AAPL, TSLA). Returns options unusual activity data such as unusual volume and block trades. - [Options Activity](https://finance.dev/api-reference/supplemental/get-option-activity.md): Retrieve unusual options activity including high volume trades, large block transactions, and notable put/call ratios. Identify smart money positioning and potential catalysts. - [Previous Day Option Data](https://finance.dev/api-reference/supplemental/get-previous-day-aapl-call-option.md): Retrieve the previous trading day's OHLC bar for a single option contract — open, high, low, close, volume, plus volume-weighted average price (VWAP), bar timestamp, and trade count when the upstream source provides them. - [Option Open/Close Data](https://finance.dev/api-reference/supplemental/get-open-close-aapl-call-option.md): Retrieve detailed opening and closing prices for specific option contracts on a given date. Calculate intraday option price changes and volatility. - [Options Trades](https://finance.dev/api-reference/supplemental/options-trades.md): Get tick-level trade data for options contracts with precise timestamps. Includes trade conditions, exchange information, and participant timestamps. - [Options Last Trade](https://finance.dev/api-reference/supplemental/options-last-trade.md): Get the most recent trade for an options contract. Returns the latest executed options trade with price, size, and timestamp. - [Options Quotes](https://finance.dev/api-reference/supplemental/options-quotes.md): Get quote data for options contracts including bid, ask, and Greeks. Track bid-ask spreads and historical quote changes for options. - [Option chain snapshot](https://finance.dev/api-reference/supplemental/options-snapshot-chain.md): Retrieve a paginated snapshot of option contracts for an underlying equity, with optional filters on strike, expiration, and contract type. - [Option contract snapshot](https://finance.dev/api-reference/supplemental/options-snapshot-contract.md): Retrieve a point-in-time snapshot for a single option contract: metadata, day bar, last quote, last trade, Greeks, and underlying context when available. Responses may be cached for a short period. - [Aggregate Bars](https://finance.dev/api-reference/supplemental/stocks-aggs.md): Get aggregate bars for a stock over a time range with customizable time spans (second, minute, hour, day, week, month, quarter, year). Returns OHLCV data with volume-weighted average price. - [Daily Ticker Summary](https://finance.dev/api-reference/supplemental/stocks-open-close.md): Get the open, close and afterhours prices of a stock on a specific date. Includes pre-market and after-hours data for comprehensive daily trading information. - [Previous Day Bar](https://finance.dev/api-reference/supplemental/stocks-prev.md): Get the previous day's OHLCV (Open, High, Low, Close, Volume) data for a stock. Quick access to yesterday's trading information. - [Daily Market Summary](https://finance.dev/api-reference/supplemental/stocks-grouped.md): Get the daily open, high, low, and close (OHLC) for the entire market on a specific date. Provides aggregated market-wide data. - [Full Market Snapshot](https://finance.dev/api-reference/supplemental/stocks-snapshot.md): Get snapshot of all tickers or specific tickers with current day data including latest price, volume, and daily changes. Provides real-time market overview. - [Unified Snapshot](https://finance.dev/api-reference/supplemental/stocks-unified-snapshot.md): Get unified snapshots across multiple asset classes (stocks, options, fx, crypto, indices) in a single request. Comprehensive market data with FMV, last trade, and session information. - [Stock Trades](https://finance.dev/api-reference/supplemental/stocks-trades.md): Get tick-level trade data for a stock with precise timestamps. Provides granular trade information including exchange, conditions, and participant timestamps. - [Last Trade](https://finance.dev/api-reference/supplemental/stocks-last-trade.md): Get the most recent trade for a stock. Returns the latest executed trade with price, size, and timestamp information. - [Stock Quotes (NBBO)](https://finance.dev/api-reference/supplemental/stocks-quotes.md): Get NBBO (National Best Bid and Offer) quotes for a stock with historical quote data. Track bid-ask spreads and quote changes over time. - [Last Quote (NBBO)](https://finance.dev/api-reference/supplemental/stocks-last-quote.md): Get the most recent NBBO (National Best Bid and Offer) quote for a stock. Returns current bid and ask prices with sizes and exchange information. - [Latest Inflation Data](https://finance.dev/api-reference/supplemental/get-inflation-latest.md): Retrieve the most recent consumer price index (CPI) and inflation rate data. Monitor economic health and inflationary pressures for investment decisions. - [Latest Inflation Expectations](https://finance.dev/api-reference/supplemental/get-inflation-expectations-latest.md): Retrieve market expectations for future inflation rates based on surveys and forecasts. Track anticipated economic trends and central bank policy implications. - [Latest Treasury Yields](https://finance.dev/api-reference/supplemental/get-treasury-yields-latest.md): Retrieve current U.S. Treasury bond yields across various maturities from 1-month to 30-year bonds. Monitor risk-free rates and yield curve dynamics. - [Economics Calendar](https://finance.dev/api-reference/calendars/economics.md): Retrieve scheduled economic data releases including GDP, inflation reports, employment data, Fed announcements, and other macro indicators. Track high-impact economic events that drive market volatility and influence trading decisions. - [Historical Economic Indicator Data](https://finance.dev/api-reference/calendars/historical.md): Retrieve historical time-series data for economic indicators such as unemployment rates, inflation metrics, GDP growth, and other macro variables. Analyze long-term economic trends and correlations with market performance. - [Earnings Calendar](https://finance.dev/api-reference/calendars/earnings.md): Retrieve upcoming and historical earnings announcement dates, expected EPS, revenue estimates, and confirmed reporting times. Filter by date range or specific symbols to track quarterly earnings releases and plan trades around volatility events. - [Mergers & Acquisitions](https://finance.dev/api-reference/supplemental/mergers-acquisitions.md): Retrieve upcoming and historical merger and acquisition announcements with deal values, target companies, and transaction terms. Track M&A activity and consolidation trends. - [Conference Calls](https://finance.dev/api-reference/calendars/get-conference-calls.md): Retrieve scheduled earnings conference call times, dial-in information, and webcast links for publicly traded companies. Access management commentary and Q&A sessions that provide deeper insights beyond earnings press releases. - [Market Status](https://finance.dev/api-reference/supplemental/market-status.md): Retrieve current market status indicating whether exchanges are open, closed, or in pre-market/after-hours trading sessions. Useful for determining real-time trading availability. - [Market Holidays](https://finance.dev/api-reference/supplemental/market-holiday.md): Retrieve market holiday schedules showing dates when exchanges are closed for official holidays and early close days. Essential for planning trading schedules. - [Company Profile](https://finance.dev/api-reference/supplemental/company-profile.md): Retrieve comprehensive company information including business description, industry classification, headquarters location, and key identifiers. Essential for researching company background and fundamentals. - [Company Executives](https://finance.dev/api-reference/supplemental/company-executive.md): Retrieve information about company executives and key management personnel including names, titles, compensation, and tenure. Useful for leadership research and due diligence. - [Company Peers](https://finance.dev/api-reference/supplemental/company-peers.md): Retrieve a list of peer companies within the same industry or sector that are comparable in size and business model. Essential for competitive analysis and sector comparison. - [Company Financial Metrics](https://finance.dev/api-reference/supplemental/company-metrics.md): Retrieve key financial metrics and ratios including market capitalization, P/E ratio, dividend yield, profit margins, and return on equity. Perfect for fundamental analysis and stock screening. - [Company Ownership Data](https://finance.dev/api-reference/supplemental/ownership.md): Retrieve detailed ownership structure showing percentage stakes held by institutional investors, insiders, and retail shareholders. Track major shareholder positions and ownership changes. - [Fund Ownership Data](https://finance.dev/api-reference/supplemental/fund-ownership.md): Retrieve mutual fund and ETF ownership data showing which funds hold positions in a specific security and their holding amounts. Monitor institutional fund interest and concentration. - [Insider Transactions](https://finance.dev/api-reference/supplemental/insider-transactions.md): Retrieve insider trading activity including purchases, sales, and option exercises by company executives, directors, and major shareholders. Track insider sentiment and potential price signals. - [Institutional Portfolio](https://finance.dev/api-reference/supplemental/institutional-portfolio.md): Retrieve complete portfolio holdings for a specific institutional investor using their CIK number. Analyze investment strategies and position changes of major institutions. - [Institutional Ownership](https://finance.dev/api-reference/supplemental/institutional-ownership.md): Retrieve institutional ownership data for a specific security showing which institutions hold positions and their stake percentages. Useful for identifying smart money positioning. - [Reported Financials](https://finance.dev/api-reference/supplemental/financials-reported.md): Retrieve as-reported financial data directly from SEC filings without standardization or adjustments. Access raw XBRL data for detailed financial analysis and audit purposes. - [Financial Statements](https://finance.dev/api-reference/supplemental/financial-statements.md): Retrieve standardized financial statements including balance sheet, income statement, and cash flow statement. Essential for fundamental analysis and company valuation. - [Cash Flow Statements](https://finance.dev/api-reference/supplemental/financials-cash-flow-statements.md): Retrieve SEC cash flow statement rows by filing period. Filter by CIK, tickers, filing and period dates, fiscal year and quarter, timeframe, and pagination. - [Income Statements](https://finance.dev/api-reference/supplemental/financials-income-statements.md): Retrieve SEC income statement rows by filing period. Filter by CIK, tickers, filing and period dates, fiscal year and quarter, timeframe, and pagination. - [Revenue Breakdown](https://finance.dev/api-reference/supplemental/revenue-breakdown.md): Retrieve detailed revenue segmentation by product lines, geographic regions, and business units. Understand revenue composition and identify growth drivers. - [Short Volume Data](https://finance.dev/api-reference/supplemental/get-short-volume-by-ticker.md): Retrieve daily short sale volume and total trading volume for a specific ticker. Monitor short selling activity and market sentiment shifts. - [Financial Ratios](https://finance.dev/api-reference/supplemental/get-ratios-by-ticker.md): Retrieve calculated financial ratios including liquidity, profitability, leverage, and efficiency metrics. Compare company performance against industry standards. - [Short Interest Data](https://finance.dev/api-reference/supplemental/get-short-interest-by-ticker.md): Retrieve short interest data showing the number of shares sold short and days to cover. Identify heavily shorted stocks and potential squeeze opportunities. - [SEC Filings](https://finance.dev/api-reference/supplemental/sec-filings.md): Retrieve SEC filing documents including 10-K, 10-Q, 8-K, and proxy statements with metadata and filing dates. Access official company disclosures for compliance and research. - [Filings Similarity Index](https://finance.dev/api-reference/supplemental/similarity-index.md): Retrieve similarity scores comparing current and previous SEC filings to detect material changes in financial statements. Identify significant updates and disclosure modifications. - [IPO Calendar](https://finance.dev/api-reference/supplemental/ipo-calendar.md): Retrieve upcoming and historical initial public offering (IPO) dates with pricing details and offering sizes. Track new market entrants and investment opportunities. - [Dividend History](https://finance.dev/api-reference/supplemental/dividends.md): Retrieve historical dividend payments including amounts, ex-dividend dates, and payment schedules. Essential for income investment analysis and yield calculations. - [Corporate Spinoffs](https://finance.dev/api-reference/supplemental/spinoffs.md): Retrieve corporate spinoff information including parent and subsidiary companies, distribution ratios, and effective dates. Track corporate restructuring and new investment opportunities. - [Tender Offers](https://finance.dev/api-reference/supplemental/get-tender-offers-symbol.md): Retrieve tender offer announcements including offer prices, acceptance periods, and terms. Monitor buyback programs and acquisition attempts for arbitrage opportunities. - [Stock Split History](https://finance.dev/api-reference/supplemental/stock-split.md): Retrieve historical stock split information including execution dates, split ratios, and adjustment types. Adjust historical prices for accurate analysis. - [Index Groups](https://finance.dev/api-reference/supplemental/indices-groups.md): Retrieve list of available market index categories such as equity, fixed income, commodities, and regional indices. Explore different index families and asset classes. - [Index List](https://finance.dev/api-reference/supplemental/indices-list.md): Retrieve all indices within a specific index group including major market benchmarks like S&P 500, NASDAQ, and Dow Jones. Access comprehensive index coverage. - [Indices By Group](https://finance.dev/api-reference/supplemental/indices-by-group.md): Retrieve all market indices belonging to a specific group category. Returns detailed information about indices within groups like Technology, Healthcare, International, or Custom portfolios. - [Search Indices](https://finance.dev/api-reference/supplemental/indices-search.md): Search for market indices by name or keyword to find specific benchmarks and sector indices. Quickly locate relevant indices for analysis and tracking. - [Realtime Indices Values](https://finance.dev/api-reference/supplemental/indices-realtime-values.md): Retrieve real-time values for multiple market indices simultaneously. Returns current index levels, percentage changes, and last update timestamps for a batch of indices in a single request. - [Index Bar Data](https://finance.dev/api-reference/supplemental/indices-bar.md): Retrieve historical OHLC (Open, High, Low, Close) bar data for market indices across various timeframes. Perform technical analysis on index movements. - [Index Bars](https://finance.dev/api-reference/supplemental/indices-bars.md): Retrieve OHLC (Open, High, Low, Close) bar data for multiple market indices in a single request. Returns historical price bars with volume data for batch analysis of index movements. - [Index Chart Data](https://finance.dev/api-reference/supplemental/indices-chart-bars.md): Retrieve formatted chart data for market indices optimized for visualization and charting applications. Build interactive index charts and performance dashboards. - [Search Company Logos](https://finance.dev/api-reference/supplemental/logos-search.md): Search and retrieve company logo images by ticker symbol or company name. Access high-quality logos for displaying in applications and dashboards. - [Sync Company Logos](https://finance.dev/api-reference/supplemental/logos-sync.md): Synchronize and update company logo database with latest brand assets. Keep logos up to date for consistent branding across applications. - [Analyst Price Targets](https://finance.dev/api-reference/supplemental/stock-price-target.md): Retrieve analyst price targets including consensus estimates, high/low targets, and individual analyst projections for stock valuation. Compare current prices against target forecasts. - [Analyst Upgrades & Downgrades](https://finance.dev/api-reference/supplemental/stock-upgrade-downgrade.md): Retrieve analyst rating changes including upgrades, downgrades, and reiterations from investment banks and research firms. Track sentiment shifts and potential catalysts. - [Revenue Estimates](https://finance.dev/api-reference/supplemental/stock-revenue-estimate.md): Retrieve analyst revenue estimates including quarterly and annual projections with consensus forecasts and estimate revisions. Track top-line growth expectations. - [EBITDA Estimates](https://finance.dev/api-reference/supplemental/stock-ebitda-estimate.md): Retrieve analyst EBITDA (Earnings Before Interest, Taxes, Depreciation, and Amortization) estimates for profitability forecasting. Analyze operational earnings expectations. - [EBIT Estimates](https://finance.dev/api-reference/supplemental/stock-ebit-estimate.md): Retrieve analyst EBIT (Earnings Before Interest and Taxes) estimates for operating profitability analysis. Monitor core earnings expectations excluding financing costs. - [EPS Estimates](https://finance.dev/api-reference/supplemental/stock-eps-estimate.md): Retrieve analyst earnings per share (EPS) estimates including quarterly and annual forecasts with consensus and revision trends. Essential for earnings season preparation. - [Earnings Surprises](https://finance.dev/api-reference/supplemental/stock-earnings.md): Retrieve historical earnings surprises comparing actual results versus analyst estimates. Identify patterns in earnings beats and misses for trading strategies. - [Transcripts List](https://finance.dev/api-reference/supplemental/stock-transcripts-list.md): Retrieve earnings call transcripts list metadata for a symbol. Use this to get available transcript IDs and metadata before fetching a single transcript. - [Transcript by ID](https://finance.dev/api-reference/supplemental/stock-transcripts.md): Retrieve a single earnings call transcript by id. Returns full transcript content and audio URL. - [Earnings Call Live](https://finance.dev/api-reference/supplemental/stock-earnings-call-live.md): Retrieve live earnings call audio and event data. Optional filters by date range and symbol. - [Company Presentation](https://finance.dev/api-reference/supplemental/stock-presentation.md): Retrieve company presentation and slides data for a symbol. - [Social Sentiment](https://finance.dev/api-reference/supplemental/stock-social-sentiment.md): Retrieve social sentiment metrics for a symbol. Optional date range (from, to) for time-bounded analysis. - [Investment Theme](https://finance.dev/api-reference/supplemental/stock-investment-theme.md): Retrieve investment theme portfolio data for a given theme identifier. Use one of the supported theme values below. - [Supply Chain](https://finance.dev/api-reference/supplemental/stock-supply-chain.md): Retrieve supply chain relationships for a symbol (e.g. suppliers, customers, or related entities). - [Company ESG](https://finance.dev/api-reference/supplemental/stock-esg.md): Retrieve company ESG (Environmental, Social, Governance) scores for a symbol. Useful for sustainable investing and risk assessment. - [Historical ESG](https://finance.dev/api-reference/supplemental/stock-historical-esg.md): Retrieve historical ESG scores and indicators for 7000+ global companies. Data is collected from public ESG disclosure and public sources. - [Earnings Quality Score](https://finance.dev/api-reference/supplemental/stock-earnings-quality-score.md): Retrieve company earnings quality score. Higher score indicates higher earnings quality. Supports annual and quarterly frequency. - [COVID-19 US](https://finance.dev/api-reference/supplemental/stock-covid19-us.md): Retrieve COVID-19 cases in the US with a state-by-state breakdown. Data is sourced from CDC and reputable sources. - [FDA Advisory Committee Calendar](https://finance.dev/api-reference/supplemental/stock-fda-advisory-committee-calendar.md): Retrieve FDA advisory committee meeting calendar. Committees support the agency's mission; each committee is subject to renewal at two-year intervals. - [USPTO Patent](https://finance.dev/api-reference/supplemental/stock-uspto-patent.md): Retrieve USPTO patents for companies. Limit 250 records per API call. Filter by symbol and date range (from, to). - [Visa Application (H1-B)](https://finance.dev/api-reference/supplemental/stock-visa-application.md): Retrieve H1-B and permanent visa applications from the DOL for companies. Data is updated quarterly. Filter by symbol and date range (from, to) on beginDate. - [Lobbying](https://finance.dev/api-reference/supplemental/stock-lobbying.md): Retrieve reported lobbying activities in the Senate and the House for public companies. Filter by symbol and date range. - [USA Spending](https://finance.dev/api-reference/supplemental/stock-usa-spending.md): Retrieve government spending (USASpending) for public companies. Filter by symbol and date range (actionDate). Only recent data is available via the API. - [Congressional Trading](https://finance.dev/api-reference/supplemental/stock-congressional-trading.md): Retrieve stock trades disclosed by members of Congress. Filter by symbol and date range. - [Bank Branch](https://finance.dev/api-reference/supplemental/stock-bank-branch.md): Retrieve list of US bank branches for a given symbol (e.g. JPM). Includes branch identifiers, address, state, zip code, and date. - [News Sentiment](https://finance.dev/api-reference/supplemental/news-sentiment.md): Retrieve AI-powered news sentiment analysis including buzz scores, bullish/bearish percentages, and article sentiment distribution. Gauge market sentiment and media attention. - [Market News](https://finance.dev/api-reference/supplemental/get-news.md): Retrieve latest financial news articles, market updates, and company announcements with headlines, summaries, and source links. Stay informed on market-moving events. - [Get News by ID](https://finance.dev/api-reference/supplemental/get-news-by-id.md): Retrieve a specific news article or press release by its unique ID. Returns detailed information including headline, body, authors, related symbols, and timestamp. - [ETF Profile](https://finance.dev/api-reference/supplemental/etf-profile.md): Retrieve comprehensive ETF information including assets under management (AUM), expense ratio, tracking index, and investment strategy. Essential for ETF research and comparison. - [ETF Holdings](https://finance.dev/api-reference/supplemental/etf-holdings.md): Retrieve complete list of ETF constituent holdings with percentage weights and share counts. Analyze fund composition and concentration risk. - [ETF Sector Allocation](https://finance.dev/api-reference/supplemental/etf-sector.md): Retrieve ETF sector exposure breakdown showing percentage allocations across industries like Technology, Healthcare, and Financials. Understand fund diversification and sector bets. - [ETF Country Allocation](https://finance.dev/api-reference/supplemental/etf-country.md): Retrieve ETF geographic exposure showing percentage allocation across countries and regions. Assess international diversification and regional risk exposure. - [Technical Patterns](https://finance.dev/api-reference/supplemental/scan-pattern.md): Retrieve detected chart patterns such as head and shoulders, triangles, and double tops/bottoms. Identify potential breakout and reversal setups. - [Support & Resistance Levels](https://finance.dev/api-reference/supplemental/scan-support-resistance.md): Retrieve calculated support and resistance price levels based on historical price action and volume. Plan entry and exit points for trading strategies. - [Aggregate Technical Indicators](https://finance.dev/api-reference/supplemental/scan-technical-indicator.md): Retrieve combined buy/sell signals aggregated from multiple technical indicators including moving averages, RSI, and MACD. Get consensus technical analysis recommendations. - [Technical Indicator Data](https://finance.dev/api-reference/supplemental/indicator.md): Retrieve time-series data for specific technical indicators including SMA, RSI, MACD, and Bollinger Bands. Build custom technical analysis and charting tools. - [Bull & Bear Analysis](https://finance.dev/api-reference/supplemental/get-bullbear-cases-single-symbol.md): Retrieve AI-generated bullish and bearish investment arguments for a specific stock. Review both sides of the investment thesis for balanced decision-making. - [Prediction API](https://finance.dev/prediction-api/overview.md): Prediction-market historical ticks, live prices, reference data, and full-text search over base events, events, and contracts. - [Get Historical Ticks](https://finance.dev/api-reference/predictions/get-history.md): Returns YES/NO price history for a single prediction-market contract over an optional time window. Prices are exact decimals serialized as JSON strings. - [Batch Historical Ticks](https://finance.dev/api-reference/predictions/get-history-batch.md): Returns historical ticks for up to 5 prediction-market contracts in one request, each query carrying its own optional time window and limit. - [Search Prediction Market](https://finance.dev/api-reference/predictions/search.md): Full-text search over prediction-market contracts, returning hits as contracts, events, or base events. Filters always apply at the contract level. - [List Categories](https://finance.dev/api-reference/predictions/list-categories.md): Returns the prediction-market category tree, built from the categories that have at least one active contract. - [Get Event Contracts](https://finance.dev/api-reference/predictions/get-event-contracts.md): Returns a single event together with every contract defined under it, read live from the catalogue. - [Get Base Event](https://finance.dev/api-reference/predictions/get-base-event.md): Returns a base event together with every event beneath it and each event's contracts, as one nested tree. - [Get Election Map](https://finance.dev/api-reference/predictions/get-election-map.md): Returns every Senate, House and governor race of an election cycle in all 50 states, with each candidate's latest price, plus the chamber-control markets, in one response. - [Stream Live Prices](https://finance.dev/api-reference/predictions/stream-live-prices.md): Streams live bids, trades, and last prices or best bids and asks for prediction-market contracts as server-sent events. - [Place Prediction Order](https://finance.dev/api-reference/predictions/place-order.md): Places a prediction-market order for the authenticated user and returns as soon as the order is on its way to the venue. - [Replace Prediction Order](https://finance.dev/api-reference/predictions/replace-order.md): Amends a working prediction-market order's price, quantity or time in force, and returns as soon as the amend is on its way to the venue. - [Cancel Prediction Order](https://finance.dev/api-reference/predictions/cancel-order.md): Cancels one working prediction-market order in full and returns as soon as the cancel is on its way to the venue. - [Mass Cancel Prediction Orders](https://finance.dev/api-reference/predictions/mass-cancel-orders.md): Cancels every working prediction-market order on an account, or only those in one contract, in a single request to the venue. - [Get Prediction Mass Cancel](https://finance.dev/api-reference/predictions/get-mass-cancel.md): Returns one mass cancel request on an account and the venue's answer to it. - [List Prediction Mass Cancels](https://finance.dev/api-reference/predictions/list-mass-cancels.md): Returns an account's mass cancel requests, newest first, paged. - [List Prediction Orders](https://finance.dev/api-reference/predictions/list-orders.md): Returns an account's current prediction-market orders: every open order, however old, and every order created or closed this trading day. - [List Prediction Order History](https://finance.dev/api-reference/predictions/list-order-history.md): Returns every prediction-market order on an account, newest first, paged, optionally bounded by when the order was created. - [Get Prediction Order](https://finance.dev/api-reference/predictions/get-order.md): Returns one prediction-market order on an account, with every fill against it and every step of its history: placement, amends, cancels and the venue's answers. - [Stream Prediction Orders](https://finance.dev/api-reference/predictions/stream-orders.md): Streams one account's prediction-market orders as server-sent events: its working orders first, then every change to its orders as it happens. - [Stream Prediction Positions](https://finance.dev/api-reference/predictions/stream-positions.md): Streams one account's prediction-market positions as server-sent events: its open positions first, then every change to its positions as it happens. - [WebSockets](https://finance.dev/websockets/overview.md): Real-time data streaming with WebSocket connections - [Market Data WebSocket](https://finance.dev/websockets/market-data.md): Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency. - [Charting WebSocket](https://finance.dev/websockets/tradingview-chart.md): Real-time WebSocket API for TradingView chart data. Stream live quotes and trades for equities and options. Connect, authenticate, then subscribe to symbols. - [Account Updates WebSocket](https://finance.dev/websockets/account-updates.md): Real-time WebSocket API for account updates, P&L candles, watchlists, and news on a single authenticated connection. - [Add to AI Agents](https://finance.dev/ai-agents/add-skill.md): Add Finance.dev documentation as a skill to your AI coding assistant with a detailed step-by-step setup guide. - [One MCP for Stocks, Options, and Prediction Markets](https://finance.dev/mcp-server.md): Aries MCP lets Claude, ChatGPT, and Cursor screen stocks and options, research companies, track prediction markets, and trade in your Aries account. - [Aries MCP Tools](https://finance.dev/mcp-server/tools.md): All Aries MCP tools: stock quotes, options chains, stock and options screening, SEC EDGAR filings, earnings transcripts, prediction markets, and trading. - [Add Aries MCP to Claude.ai](https://finance.dev/mcp-server/claude-web.md): Connect Claude.ai to Aries MCP in 3 steps: add the custom connector, sign in, and ask. No API key or Client ID needed. - [Add Aries MCP to Claude Desktop](https://finance.dev/mcp-server/claude-desktop.md): Connect Claude Desktop to Aries MCP in 3 steps: add the custom connector, sign in, and ask. No API key or Client ID needed. - [Use Aries MCP in Claude Mobile](https://finance.dev/mcp-server/claude-mobile.md): Use Aries MCP in the Claude app on iPhone or Android: add it on claude.ai once, turn it on in the app, and ask by voice or text. - [Add Aries MCP to Claude Code](https://finance.dev/mcp-server/claude-code.md): Add Aries MCP to Claude Code with one command, sign in with /mcp, and ask. No API key or Client ID needed. - [Add Aries MCP to Cursor](https://finance.dev/mcp-server/cursor.md): Add Aries MCP to Cursor in one click, sign in, and ask. No API key or Client ID needed. - [Add Aries MCP to ChatGPT](https://finance.dev/mcp-server/chatgpt.md): Connect ChatGPT to Aries MCP in 3 steps: create an app with the server URL, sign in, and ask. No API key or Client ID needed. - [Add Aries MCP to Perplexity](https://finance.dev/mcp-server/perplexity.md): Connect Perplexity to Aries MCP in 3 steps: add a remote custom connector, sign in, and ask. No API key or Client ID needed. - [Add Aries MCP to Microsoft Copilot Studio](https://finance.dev/mcp-server/copilot-studio.md): Add Aries MCP to Microsoft Copilot Studio in 3 steps: add the tool with manual OAuth, create a Client ID, then connect and sign in. - [Build a Safe AI Trading Agent With Claude Code](https://finance.dev/guides/ai-trading-agent.md): Connect Claude Code to your Aries brokerage account over MCP, let the agent research on its own, and make every order wait for your approval. - [TradingView API: Build a Live Chart With Real-Time Data](https://finance.dev/guides/tradingview-api.md): TradingView's data is for your own use, but its free chart library draws any feed. Two files that stream live Aries market data into candlesticks. - [Brokerage API: How to Choose One for Your Trading App](https://finance.dev/guides/brokerage-api.md): Brokerage APIs come in three kinds, set by whose account the trade runs in. Pick the right one for your trading app, then make your first Aries API call. - [Alpaca Alternatives: Best Trading APIs for Developers](https://finance.dev/guides/alpaca-alternatives.md): Compare Alpaca alternatives for a trading API: Aries, Interactive Brokers, Tradier, TradeStation, tastytrade, Schwab and more, plus how to move your code. - [Massive API Pricing: Which Plan Does Your Use Need?](https://finance.dev/guides/massive-api-pricing.md): Massive (formerly Polygon.io) API pricing: which plan a bot, an LLC or an app needs, from a free personal plan to $2,499 a month for business. - [Alpaca Pricing: Data Plans, Trading Fees and Account Fees](https://finance.dev/guides/alpaca-pricing.md): What Alpaca costs a developer: free and $99 market data plans, Broker API data tiers, commissions, regulatory and account fees, with a worked example. - [How to Build a Trading Bot in Python (Full Code)](https://finance.dev/guides/how-to-build-a-trading-bot.md): A complete Python trading bot on the Aries API that checks your positions and daily loss against your limits and previews every order before placing it. - [Aries SDKs](https://finance.dev/sdks/overview.md): Official SDKs for integrating with the Aries API - [Python SDK](https://finance.dev/sdks/python/overview.md): Official Python SDK for the Aries API - [TypeScript SDK](https://finance.dev/sdks/typescript/overview.md): Official TypeScript SDK for the Aries API - [Changelog](https://finance.dev/changelog.md): Latest updates and changes to the Aries API ## OpenAPI Specs - [finnhub-endpoints](/finnhub-endpoints.json) - [fundamentals-openapi](/fundamentals-openapi.json) - [openapi](/openapi.json) ## AsyncAPI Specs - [market-data](/.asyncapi/market-data.json) - [asyncapi](/api-reference/asyncapi.json) - [account-updates](/asyncapi-specs/account-updates.json) - [market-data](/asyncapi-specs/market-data.json) - [tradingview-chart](/asyncapi-specs/tradingview-chart.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.