APIs


Financial Data APIs

Barchart OnDemand features a diverse set of market data and information APIs. With Barchart OnDemand you can access Price Data (real-time, delayed, historical or end-of-day), Profiles, Financial Data, Corporate Actions, Leaderboards, Charts, Analytics, ETFs, News, Filings, Weather and more. Explore our APIs below.

Off-the-Shelf. Customized. Flexible.

TOOLS:

Use our official Java client for accessing Barchart OnDemand APIs. Available through gitHub.
Use our official JavaScript client for accessing Barchart OnDemand APIs. Available through gitHub.
Use our official Python client for accessing Barchart OnDemand APIs. Available through gitHub.
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.
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. These events are typically based on market data (e.g., when a stock, future, index or other financial instrument trades in excess of, or below, a given price; when volume crosses a specified level; when a moving average is crossed or when news on a symbol is released; etc.). Available through gitHub.

PRICE DATA:

getData
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.
Real-Time, Delayed, End-of-Day. 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.
End-of-Day. The getQuoteEod API is used to request end-of-day price data from world-wide exchanges using exchange MIC codes.
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 futures price data by exchange through a single onDemand query.
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.
The getFuturesOptions API provides price and volatility data for options on Futures contracts.
The getSpecialOptions API provides Intraday data for short-dated, and weekly futures options.
The getEquityOptions API provides price and volatility data for options on Equities.
The getEquityOptionsIntraday API provides intraday prices and volatility data for options on Equities.
The getEquityOptionsHistory API provides historical prices for options on Equities.

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. Up to 8 years of financial ratios are available and 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 and associated comparative market data to the 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 provides the stocks compromising common indices.
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.

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.

ETFs:

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

META DATA:

The getInstrumentDefinition API is available to request meta data on financial instruments by symbol or exchange. Meta data 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 getFuturesOptionsExpirations API provides last trade dates for options on futures contracts.
The getSpecialOptionsClassification API provides the classification of special options (short-dated, weekly etc) by commodity.
The getForexForwardCurves API provides the bid, ask and mid price data for all available forward curves for a given forex symbol.

OTHER DATA:

The getWeather API provides current conditions, forecasts, and maps based on zip code.
The getUSDAGrainPrices API provides daily cash grain bids and prices for locations throughout the United States covering corn, wheat, oats and soybean markets.

CONTACT US