You are on page 1of 10

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 elds requested. We offer four packages:
Small, Medium, Large, Enterprise. Explore our APIs below.

CONTACT US TO GET STARTED

Categories:   Price Data  /  Cryptocurrency Data  /  Pro les and Financial Data  /  Splits, Dividends,
and Earnings  /  Leaderboards and Lists  /  Charts and Analytics  /  ETFs  /  News and Filings  / 
Metadata  /  Other Data

TOOLS

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-de ned
conditions occur.

WebSockets APIs (https://github.com/barchart/barchart-ondemand-client-js)


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 (https://github.com/barchart/barchart-ondemand-client-java)  /   JavaScript


(https://github.com/barchart/barchart-ondemand-client-js)  /   PHP
(https://github.com/barchart/barchart-ondemand-client-php)  /   Python
(https://github.com/barchart/barchart-ondemand-client-python)  /   MATLAB
(https://www.mathworks.com/matlabcentral/ leexchange/68211-barchart-ondemand-for-
matlab?s_tid=prof_contriblnk)

PRICE DATA

getQuote(s) (https://www.barchart.com/ondemand/api/getQuote)
The getQuote API is used to request price data, either real-time, delayed or end-of-day,
by symbol on stocks, indexes, mutual funds, ETFs, futures, foreign exchange, or
cryptocurrencies.

getHistory (https://www.barchart.com/ondemand/api/getHistory)
The getHistory API is used to request historical time series data on stocks, indexes,
mutual funds, ETFs, futures, foreign exchange, or cryptocurrencies. Historical data is
available as tick, minute bars or end-of-day data.

getData
Custom Data. The getData API is a custom query to request any combination of market
data elds we make available. Contact us to design a custom getData API.

getClosePrice (https://www.barchart.com/ondemand/api/getClosePrice)
The getClosePrice API provides the close price for given instruments for the given date.

getQuoteEod (https://www.barchart.com/ondemand/api/getQuoteEod)
The getQuoteEod API is used to request end-of-day price data, by combined exchange
and symbol, on stocks, indexes, mutual funds, ETFs, futures, foreign exchange, or
cryptocurrencies. Historical data is available as tick, minute bars or end-of-day data.

getEquitiesByExchange (https://www.barchart.com/ondemand/api/getEquitiesByExchange)
Receive all real-time or delayed equities market data by exchange through a single
onDemand query with the getEquitiesByExchangeAPI from Barchart OnDemand.

getFuturesByExchange (https://www.barchart.com/ondemand/api/getFuturesByExchange)
Receive all real-time or delayed, or end-of-day futures data by exchange through a
single onDemand query with the get FuturesByExchange API from Barchart
OnDemand.

getFuturesOptions (https://www.barchart.com/ondemand/api/getFuturesOptions)
The getFuturesOptionsExpiration API provides last trade dates for options on futures
contracts.

getFuturesSpreads (https://www.barchart.com/ondemand/api/getFuturesSpreads)
The getFuturesSpreads API returns all active futures spread for the requested
commodity.

getSpecialOptions (https://www.barchart.com/ondemand/api/getSpecialOptions)
The getSpecialOptionsClassi cation API provides the classi cation for weekly and
special options by commodity.

getEquityOptions (https://www.barchart.com/ondemand/api/getEquityOptions)
The getEquityOptions API from Barchart OnDemand provides intraday or end-of-day
options data such as strike price, closing price, expiration date, volume and volatility,
etc.

getEquityOptionsHistory
(https://www.barchart.com/ondemand/api/getEquityOptionsHistory)
The getEquityOptionsHistory API from Barchart OnDemand allows users to get
historical prices for equity options.

getOptionsScreener (https://www.barchart.com/ondemand/api/getOptionsScreener)
The getOptionsScreener API allows a user to screen for speci c equity and ETF option
strikes using a variety of lters and parameters that highlight where unusual options
activity may be occuring. Users can build powerful market scanners to implement
professional trading strategies.

getAmeriborRate (https://www.barchart.com/ondemand/api/getAmeriborRate)
AMERIBOR® is an interbank interest rate re ecting 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 fth decimal.

CRYPTOCURRENCY DATA

getCrypto (https://www.barchart.com/ondemand/api/getCrypto)
The getCrypto API provides price data by symbol for spot market cryptocurrencies,
including Bitcoin, Ethereum, Ripple, Litecoin and more. Bitcoin futures
(https://www.barchart.com/futures/bitcoin) are available through getQuote
(https://www.barchart.com/ondemand/api/getQuote). In addition to last price, other
elds such as open, high, low, close, price change, percent change are available.

getCryptoHistory (https://www.barchart.com/ondemand/api/getCryptoHistory)
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


getPro le (https://www.barchart.com/ondemand/api/getPro le)
The getPro le API is used to request information about a publicly traded company, such
as sector, industry, company description, CEO, recent earnings, P/E ratio, and address,
based on symbol.

getFinancialHighlights (https://www.barchart.com/ondemand/api/getFinancialHighlights)
The getFinancialHighlights API provides key nancial highlights, ratios and statistics for
equities based on symbol. Fields include market capitalization, revenue, net income,
revenue growth and earnings per share.

getFinancialRatios (https://www.barchart.com/ondemand/api/getFinancialRatios)
The getFinancialRatios API provides key nancial ratios for equities based on symbol.
The elds include earnings per share, return on equity and price to earnings.

getIncomeStatements (https://www.barchart.com/ondemand/api/getIncomeStatements)
The getIncomeStatements API from Barchart OnDemand provides access to public
company nancial income statements based on symbol.

getBalanceSheets (https://www.barchart.com/ondemand/api/getBalanceSheets)
The getBalanceSheets API from Barchart OnDemand provides access to public
company nancial balance sheet data based on symbol.

getCompetitors (https://www.barchart.com/ondemand/api/getCompetitors)
Barchart OnDemand's getCompetitors API provides a list of related stock symbols
(competitors) for an underlying stock input.

getRatings (https://www.barchart.com/ondemand/api/getRatings)
Barchart OnDemand's getRatings API provides analysts ratings on stocks (strong buy,
moderate buy, hold, moderate sell or strong sell) based on symbol.

getIndexMembers (https://www.barchart.com/ondemand/api/getIndexMembers)
The getIndexMembers API from Barchart OnDemand returns the constituents
comprising an index.

getCashFlow (https://www.barchart.com/ondemand/api/getCashFlow)
Barchart OnDemand's getCashFlow API provides information about cash ow, income
and cash equivalents of publicly traded companies.

SPLITS, DIVIDENDS, AND EARNINGS


getCorporateActions (https://www.barchart.com/ondemand/api/getCorporateActions)
The getCorporateActions API from Barchart OnDemand provides corporate actions
data on equities including splits, dividends and earnings, based on a symbol.

getEarningsEstimates (https://www.barchart.com/ondemand/api/getEarningsEstimates)
The getEarningsEstimates API from Barchart OnDemand provides per share earnings
estimates on public companies for quarterly and annual periods based on symbol.

getDividendData (https://www.barchart.com/ondemand/api/getDividendData)
The getDividendData API from Barchart OnDemand provides the most recent dividend
data for requested instruments.

getDividendStocks (https://www.barchart.com/ondemand/api/getDividendStocks)
The getDividendStocks API returns dividend info for all US instruments.

LEADERBOARDS AND LISTS

getLeaders (https://www.barchart.com/ondemand/api/getLeaders)
Barchart OnDemand's 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.

getHighsLows (https://www.barchart.com/ondemand/api/getHighsLows)
The getHighsLows API from Barchart OnDemand provides lists for new 52-week highs
or 52-week lows based on exchange and asset type.

getSectors (https://www.barchart.com/ondemand/api/getSectors)
The getSectors API from Barchart OnDemand 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

getChart (https://www.barchart.com/ondemand/api/getChart)
The getChart API from Barchart OnDemand is used to request a custom chart image
with variables such as chart type, size, period and technical indicators, based on a
symbol.
getTechnicals (https://www.barchart.com/ondemand/api/getTechnicals)
Barchart OnDemand's getTechnicals API provides technical data and statistics for
equities, indices, futures, currencies, cryptocurrencies and mutual funds based on
symbol. Fields include moving averages, percent changes over different time periods
and stochastics.

getSignal (https://www.barchart.com/ondemand/api/getSignal)
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.

getMomentum (https://www.barchart.com/ondemand/api/getMomentum)
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

getETFDetails (https://www.barchart.com/ondemand/api/getETFDetails)
Barchart OnDemand's getETFDetails API provides ETF pro le information including
descriptions, fund family, underlying index, inception date, alpha, beta, shares
outstanding, management fee, assets under management, top 10 holdings and more.

getETFConstituents (https://www.barchart.com/ondemand/api/getETFConstituents)
The getETFConstituents API from Barchart OnDemand provides the complete list of
constituents for a given ETF.

NEWS AND FILINGS

getNews (https://www.barchart.com/ondemand/api/getNews)
Barchart OnDemand's getNews API returns news headlines, articles and related photos
based upon news sources, category, sub-category and/or keyword.

getNewsSources (https://www.barchart.com/ondemand/api/getNewsSources)
The getNewsSources API from Barchart OnDemand provides access to public news
sources and your authorization status per source.

getNewsCategories (https://www.barchart.com/ondemand/api/getNewsCategories)
Barchart OnDemand's getNewsCategories API provides access to news source
category and sub-category data.

getSECFilings (https://www.barchart.com/ondemand/api/getSECFilings)
Barchart OnDemand's getSECFilings API provides access to quarterly, annual and other
required regulatory/SEC lings for U.S. publicly traded companies based on symbol.

METADATA

getInstrumentDe nition
(https://www.barchart.com/ondemand/api/getInstrumentDe nition)
The getInstrumentDe nition API from Barchart OnDemand is available to request
metadata on nancial instruments by symbol, exchange, or exchange MIC. Metadata
includes instrument names, exchange codes, tick increments, base codes, expiration
dates and more.

getFuturesSpeci cations
(https://www.barchart.com/ondemand/api/getFuturesSpeci cations)
Barchart OnDemand's getFuturesSpeci cations API provides contract information
such as trading hours, contract size and tick size for futures contracts.

getFuturesExpirations (https://www.barchart.com/ondemand/api/getFuturesExpirations)
The getFuturesExpiration API from Barchart OnDemand provides rst notice and last
trade dates for futures contracts.

getFuturesOptionsExpirations
(https://www.barchart.com/ondemand/api/getFuturesOptionsExpirations)
The getFuturesOptionsExpiration API provides last trade dates for options on futures
contracts.

getSpecialOptionsClassi cation
(https://www.barchart.com/ondemand/api/getSpecialOptionsClassi cation)
The getSpecialOptionsClassi cations API from Barchart OnDemand provides the
classi cation for weekly and special options by commodity.

getForexForwardCurves
(https://www.barchart.com/ondemand/api/getForexForwardCurves)
The getForexForwardCurves API from Barchart OnDemand provides the bid, ask, and
mid price data for all available forward curves (forward rates) for a given forex symbol.
OTHER DATA

getWeather (https://www.barchart.com/ondemand/api/getWeather)
Barchart OnDemand's getWeather API provides current conditions and forecasts
based on zip code. As well as weather maps based on type or region.

getGrainBids (https://www.barchart.com/ondemand/api/getGrainBids)
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
(https://www.barchart.com/solutions/cmdty) and grain cmdtyIndexes
(https://www.barchart.com/solutions/cmdty/indexes).

getUSDAGrainPrices (https://www.barchart.com/ondemand/api/getUSDAGrainPrices)
Barchart OnDemand's getUSDAGrainPrices API provides daily cash grain bids and
prices for grain buying locations throughout the United States covering corn, wheat,
oats and soybeans.

getCmdtyStatsId (https://www.barchart.com/ondemand/api/getCmdtyStatsId)
The getCmdtyStatsId API is used identify instrument identi ers that can be passed to
getCmdtyStats in order to request data on the applicable series. Users can search for
data series based on search parameters covering content, source, area, frequency, and
more.

getCmdtyStats (https://www.barchart.com/ondemand/api/getCmdtyStats)
The getCmdtyStats API is used to request information on various fundamentals,
commodity statistics, and economic data. Users can request information by data series
with historical information available through to inception for most series. cmdtyStats™
is the premier source of aggregated commodity statistics – all made available in one
easy to use API.

getGrainInstruments (https://www.barchart.com/ondemand/api/getGrainInstruments)
The getGrainInstruments API is used to request symbol and metadata information
regarding physical grain instruments across Barchart's cash bids and grain indexes.
Users can request information based on crop type / root symbol, geo-location, or areas
that are codi ed by FIPS standards. Returned instruments and their corresponding
symbols can be passed to getQuote or getHistory to retrieve the associated price data -
as requested by the end user. Find our more about our commodity data
(https://www.barchart.com/solutions/cmdty) offerings here.

getBLSIndexes (https://www.barchart.com/ondemand/api/getBLSIndexes)
The getBLSIndexes API provides historical price data for our cmdty BLS Commodity
Price Index Family. The cmdty BLS Commodity Price Indexes measure price movements
of 22 basic commodities whose markets are among the rst to be in uenced by changes
in economic conditions. Sub-indices for six major asset classes are calculated.

getCmdtyCalendar (https://www.barchart.com/ondemand/api/getCmdtyCalendar)
The getCmdtyCalendar API provides user the latest updates of US economic activity
and commodity trading events, including previous, revised, and actual values, updated 3
times a day. Users can request calendar events for desired period, and lter the output
via various methods - category, importance, event country, and event symbol.

(https://www.barchart.com/ondemand)

 (https://twitter.com/marketdataapis)
APIs (https://www.barchart.com/ondemand/api)
Data Coverage (https://www.barchart.com/ondemand/data)
Support
Case Studies (https://www.barchart.com/ondemand/case-studies)
Contact (https://www.barchart.com/ondemand/contact)
About (https://www.barchart.com/about)

CONTACT:
(312) 566-9235
solutions@barchart.com (mailto:solutions@barchart.com)

Get updates on ntech and new products:

Enter email... SUBMIT

I would like to stay up-to-date on product updates from Barchart Solutions. (You may unsubscribe at any
time)

protected by reCAPTCHA
Privacy - Terms

© 2019 Barchart.com, Inc.  |  Terms of Use & Privacy Policy (https://www.barchart.com/ondemand/terms)


209 W. Jackson, 2nd Floor  |  Chicago, IL 60606

You might also like