Blog

API for Futures Data

Power your apps, websites and software with reliable futures market data directly from the cloud with Futures data APIs from Barchart. Whether you’re looking for real-time data, delayed data, historical data, or end-of-day data Barchart has a solution for you.

Barchart OnDemand is built upon the Amazon Web Services (AWS) cloud infrastructure and features the ability to easily access an extensive amount of market data and information. OnDemand users get access to powerful time series data that can be used for custom analytics, financial charting, or building the next great financial app.

Futures Data APIs

Our Futures Data APIs Include….

Quote Data API
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.

Historical Data API
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.

Futures Data by Exchange API
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.

Futures Options API
The getFuturesOptionsExpiration API provides last trade dates for options on futures contracts.

Futures Spreads API
The getFuturesSpreads API returns all active futures spread for the requested commodity.

Futures Expiration API
The getFuturesExpiration API from Barchart OnDemand provides first notice and last trade dates for futures contracts. Contract, exchange, expiration date, first notice date, last trading day and symbol are provided

Futures Options Expirations API
The getFuturesOptionsExpiration API provides last trade dates for options on futures contracts.

See a full list of our Market Data APIs.

Barchart OnDemand makes integrating data easier than ever before with API access to our global content inventory. We provide futures data from over 30 exchanges! Our US Exchanges include:

Futures Data Exchanges

See a full list of our global futures data.

How Can You Access Our Futures Data APIs?

Barchart’s OnDemand APIs can return data in multiple formats (XML, JSON or CSV) making them easy-to-use and integrated. Data can also be delivered through our digital solutions.

To get started, contact us to receive your unique API key. Once you have your API key you can customize your queries using the inputs found in the API documentation.

For example, the below call returns the openInterest for Meats on the BMF exchange in CSV format.

https://ondemand.websol.barchart.com/getFuturesByExchange.csv?apikey=YOUR_API_KEY&exchange=BMF&category=Meats&fields=openInterest

You can query for XML, JSON, or CSV by changing the extension of the API. See the bolded section in the API query below.

https://ondemand.websol.barchart.com/getFuturesByExchange.xml?apikey=YOUR_API_KEY&exchange=BMF&category=Meats&fields=openInterest

https://ondemand.websol.barchart.com/getFuturesByExchange.json?apikey=YOUR_API_KEY&exchange=BMF&category=Meats&fields=openInterest

https://ondemand.websol.barchart.com/getFuturesByExchange.csv?apikey=YOUR_API_KEY&exchange=BMF&category=Meats&fields=openInterest

Futures Data API Pricing

Our OnDemand service pricing is based on usage, meaning you only pay for the amount of data you use. We can scale up our services in a matter of seconds and offer versatile packages tailored to your specific needs that range from small to enterprise solutions.

Whether you are looking for a fully custom or off-the-shelf solution, our flexible APIs can be tailored to include only the data you need. With direct connectivity to the exchanges, our OnDemand solution is completely platform-independent so you can receive the data you need in any operating system or programming language. Barchart OnDemand delivers a truly reliable and scalable cloud-based solution. To learn more about our futures data APIs contact us at solutions@barchart.com.

VIEW ALL POSTS