Financial Data APIs

Barchart OnDemand features a diverse set of market data and information APIs. Pricing is based on the number of monthly queries and fields requested. We offer four packages: Small, Medium, Large, Enterprise. Explore our APIs below.


Event-Based API - Contact Us For Access

Barchart's Event-Based API provides developers REST API and/or Socket.IO endpoints for implementing market data and news based real-time alerts when their user-defined conditions occur.

WebSockets APIs

Stream real-time market data direct to web browsers and mobile apps (Android, iOS, Chrome, IE, Firefox, etc.). Available in Java, JavaScript and Swift. Uses Socket.IO.

Clients:   Java Client  /   JavaScript Client  /   Python Client

Price Data

The getQuote API is used to request price data, either real-time, delayed or end-of-day, by symbol. In addition to Last Price or Settlement, other fields such as Open, High, Low, Close, Bid, Ask, 52-week high and low, and more are available.
The getHistory API is used to request historical time series data on stocks, indices, mutual funds, ETFs, futures, indices or forex pairs. Historical data is available as tick, minute or end-of-day data.
Custom Data. The getData API is a custom query to request any combination of market data fields we make available. Contact us to design a custom getData API.
Get the close price for given instruments for the given date.
The getQuoteEod API is used to request end-of-day price data, by combined exchange & symbol, for every equity, future, and fund in the world.
Receive all real-time or delayed stock and/or index price data by exchange through a single onDemand query.
Receive all real-time or delayed, or end-of-day Futures data by exchange through a single onDemand query.
The getFuturesOptions API provides EOD options data such as strike, expiration date, volatility, etc.
The getSpecialOptions API provides delayed ("I") and end-of-day ("D") data for short-dated and weekly futures options.
The getEquityOptions API provides EOD options data such as strike, expiration date, volatility, etc.
The getEquityOptionsIntraday API provides intraday options data such as strike, expiration date, volatility, etc.
Get historical prices for equity option.
The getOptionsScreener API allows a user to screen for specific equity and etf option strikes using a variety of filters and parameters that highlight where unusual options activity may be occuring. Users can build powerful market scanners to implement professional trading strategies.
Ameribor® is an interbank interest rate reflecting the borrowing rates based on actual transactions of the members of the American Financial Exchange (AFX). Ameribor is a transaction-based short-term interest rate based on loans executed between U.S. depositories on the American Financial Exchange Electronic Trading System. The rate is calculated using the 30 trading day rolling average of the weighted average daily volume in the AFX overnight unsecured market. The rate is denoted as a 360-day annualized percentage rate up to the fifth decimal.

Cryptocurrency Data

The getCrypto API provides price data by symbol for spot market cryptocurrencies, including Bitcoin, Ethereum, Ripple, Litecoin and more. Bitcoin futures are available through getQuote. In addition to last price, other fields such as open, high, low, close, price change, percent change are available.
The getCryptoHistory API provides historical price data for spot cryptocurrencies, including Bitcoin, Ethereum, Ripple, Litecoin and more. Bitcoin futures historical data is available through the getHistory API.

Profiles and Financial Data

The getProfile API is used to request information about a company, such as sector, industry, company description, CEO, recent earnings, P/E ratio, and address, based on a symbol.
The getFinancialHighlights API provides key financial highlights, ratios and statistics for equities based on symbol. Fields include market capitalization, revenue, net income, revenue growth and earnings per share.
The getFinancialRatios API provides key financial ratios for equities based on symbol. The fields include earnings per share, return on equity and price to earnings.
The getIncomeStatements API provides access to public company financial Income statements based on symbol.
The getBalanceSheets API provides access to public company financial balance sheets based on symbol.
The getCompetitors API provides a list of related stock symbols (competitors) for an underlying stock input.
The getInsiders API provides insider transaction records for publically traded companies based on symbol. Data reported includes the date of the transaction, transaction type, number of shares and the transaction value.
The getRatings API provides analysts ratings on stocks (strong buy, moderate buy, hold, moderate sell or strong sell) based on a symbol.
The getIndexMembers API returns the stocks compromising a given index.
The getCashFlow API provides information about cash flow, income and cash equivalents of publicly traded companies.

Splits, Dividends, and Earnings

The getCorporateActions API provides corporate actions data on equities including Splits, Dividends and Earnings, based on a symbol.
The getEarningsEstimates API provides per share earnings estimates on public companies for quarterly and annual periods based on symbol. Multiple symbols can be used to return estimated earnings data, including average estimate, number of analysts, high estimate, low estimate and estimated growth rate.
The getDividendData API provides the most recent dividend data for requested instruments.
The getDividendStocks API returns dividend info for all US instruments.

Leaderboards and Lists

The getLeaders API provides leaderboard lists for equities, futures, forex, mutual funds and ETFs, including most active, gainers, losers, what's hot and what's not hot.
The getHighsLows API provides lists for new 52-week highs or 52-week lows based on exchange and asset type.
The getSectors API provides returns using weighted alpha on sectors covering multiple periods, including 1-day, 1-month, 3-month, 6-month, 9-month, 12-month and year-to-date.

Charts and Analytics

The getChart API is used to request a custom chart image with variables such as chart type, size, period and technical indicators, based on a symbol.
The getTechnicals API provides technical data and statistics for equities, indices, futures, forex and funds based on symbol. Fields include moving averages, percent changes over different time periods and stochastics.
The getScreener API provides the ability to screen for stocks, index, mutual fund, ETF or futures instruments that meet a custom set of criteria.
The getSignal API provides the Barchart Technical Opinion / Signal (buy, sell or hold) based on a variety of short, medium and long-term technical indicators based on a symbol.
The getMomentum API provides a daily summary on the number of advancing, declining and unchanged stocks, as well as the percentage of stocks above moving averages of different lengths.


The getETFDetails API provides ETF profile information including descriptions, fund family, underlying index, inception date, alpha, beta, shares outstanding, management fee, assets under management, top 10 holdings and more.
The getETFConstituents API provides the complete list of constituents for a given ETF.

News and Filings

The getNews API returns news headlines, articles and related photos based upon news sources, category, sub-category and/or keyword.
The getNewsSources API provides access to public news sources and your authorization status per source.
The getNewsCategories API provides access to news source category and sub-category data.
The getSECFilings API provides access to quarterly, annual and other required regulatory/SEC filings for U.S. publically traded companies based on symbol.


The getInstrumentDefinition API is available to request metadata on financial instruments by symbol, exchange, or exchange MIC. Metadata includes instrument names, exchange codes, tick increments, base codes, expiration dates and more.
The getFuturesSpecifications API provides contract information such as trading hours, contract size and tick size for futures contracts.
The getFuturesExpiration API provides first notice and last trade dates for futures contracts.
The getFuturesOptionsExpiration API provides last trade dates for options on futures contracts.
This API provides the classification for weekly and special options by commodity.
The getForexForwardCurves API provides the bid, ask and mid price data for all available forward curves (forward rates) for a given forex symbol.

Other Data

The getWeather API provides current conditions and forecasts based on zip code. As well as weather maps based on type or region.
The getGrainBids API provides cashbid data for 30 closest locations in relation to the requested zip code. Learn more about Barchart's proprietary commodity data and grain cmdtyIndexes.
The getUSDAGrainPrices API provides daily cash grain bids and prices for locations throughout the United States covering corn, wheat, oats and soybean markets.