Discover/barchart.com API
live

barchart.com APIbarchart.com

Access Barchart market data via API: stock quotes, options chains with Greeks, gamma exposure, historical OHLCV, top stocks by weighted alpha, and futures prices.

Endpoints
6
Updated
3mo ago
Try it
Comma-separated list of stock or ETF symbols (e.g. 'AAPL,MSFT,SPY')
api.parse.bot/scraper/1cda4487-4915-4e6a-b0de-627d66a03c5a/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/1cda4487-4915-4e6a-b0de-627d66a03c5a/get_stock_quotes?symbols=AAPL%2CMSFT%2CSPY' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 6 totalclick to expand

Get current quotes for a list of stock symbols. Returns real-time price data including last price, price change, percent change, and symbol metadata.

Input
ParamTypeDescription
symbolsrequiredstringComma-separated list of stock or ETF symbols (e.g. 'AAPL,MSFT,SPY')
Response
{
  "type": "object",
  "fields": {
    "data": "array of quote objects with symbol, symbolName, lastPrice, priceChange, percentChange, symbolCode, symbolType, and raw numeric values",
    "count": "integer total items returned",
    "total": "integer total items available"
  },
  "sample": {
    "data": {
      "data": [
        {
          "raw": {
            "symbol": "AMD",
            "lastPrice": 449.7,
            "symbolCode": "STK",
            "symbolName": "Adv Micro Devices",
            "symbolType": 1,
            "priceChange": 4.2,
            "percentChange": 0.0094
          },
          "symbol": "AMD",
          "lastPrice": "449.70",
          "symbolCode": "STK",
          "symbolName": "Adv Micro Devices",
          "symbolType": 1,
          "priceChange": "+4.20",
          "percentChange": "+0.94%"
        }
      ],
      "count": 2,
      "total": 2,
      "errors": null
    },
    "status": "success"
  }
}

About the barchart.com API

The Barchart API exposes 6 endpoints covering equities, options, and futures market data from Barchart.com. You can retrieve real-time stock quotes with price change and percent change fields, full options chains including Greeks and open interest via get_options_chain, gamma exposure grouped by strike price, daily and 5-minute OHLCV history, ranked top stocks by weighted alpha, and full futures contract ladders for roots like CL, GC, and ES.

Quotes, Options, and Greeks

The get_stock_quotes endpoint accepts a comma-separated symbols parameter (e.g. AAPL,MSFT,SPY) and returns per-symbol objects containing lastPrice, priceChange, percentChange, symbolName, symbolCode, and symbolType. The response also includes count and total integers for pagination awareness. The get_options_chain endpoint takes a required symbol and an optional expiration date in YYYY-MM-DD format; omitting the date defaults to the nearest available expiration. Each contract in the returned array includes strikePrice, expirationDate, bidPrice, askPrice, volume, openInterest, and symbolType distinguishing calls from puts.

Gamma Exposure and Historical Data

get_gamma_exposure returns a nested structure keyed by strike price, where each key maps to an array of option contracts carrying gamma, delta, openInterest, lastPrice, and symbolType. This layout makes it straightforward to aggregate net gamma across strikes. The get_historical_data endpoint supports both daily and 5min intervals via the interval parameter and a max_records cap. Each OHLCV candle object includes date, open, high, low, close, and volume as strings. The symbol field accepts standard equity tickers as well as futures notation like GC*0 for front-month Gold.

Top Stocks and Futures

get_top_stocks requires no input and returns a ranked list of equities sorted by weightedAlpha, alongside percentChange1y for year-over-year context. The get_futures_prices endpoint takes a required root_symbol (e.g. CL, GC, ES) and an optional timeframe. Each contract in the contracts array includes contractName, lastPrice, priceChange, percentChange, settlementPrice, volume, openInterest, and high/low prices. The response also returns the cleaned rootSymbol string and a totalContracts count.

Common use cases
  • Build a multi-symbol watchlist dashboard using get_stock_quotes with live lastPrice and percentChange fields
  • Construct options flow scanners by pulling full chains via get_options_chain and filtering by volume or openInterest
  • Visualize net gamma exposure by strike for SPY or AAPL using get_gamma_exposure delta and gamma fields
  • Backtest trading strategies by loading daily or 5-minute OHLCV series from get_historical_data with a max_records limit
  • Screen for momentum stocks by ranking weightedAlpha and percentChange1y data from get_top_stocks
  • Track full futures contract ladders for crude oil or gold using get_futures_prices with roots like CL or GC
  • Monitor settlement prices and open interest shifts across futures expirations using the settlementPrice and openInterest fields
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Barchart have an official developer API?+
Yes. Barchart operates an official market data platform called Barchart OnDemand, documented at https://www.barchart.com/ondemand/api. It requires a commercial agreement and API key. This Parse API provides access to a subset of Barchart data without requiring a separate OnDemand contract.
What does `get_options_chain` return, and how do I target a specific expiration?+
It returns an array of option contracts for the given symbol, each with strikePrice, expirationDate, bidPrice, askPrice, volume, openInterest, and symbolType (call or put). Pass a date string in YYYY-MM-DD format as the expiration parameter to target a specific expiration. Omitting it defaults to the nearest available date.
Does the historical data endpoint support intraday intervals other than 5 minutes?+
Currently, get_historical_data supports daily and 5min as the two available interval values. Other intraday resolutions such as 1-minute or hourly bars are not exposed. You can fork this API on Parse and revise it to add endpoints for additional intervals if your use case requires them.
Does the API cover earnings estimates, analyst ratings, or fundamental data for stocks?+
Not currently. The endpoints cover quotes, options chains, gamma exposure, historical OHLCV, top stocks by weighted alpha, and futures prices. Fundamental fields like EPS estimates or analyst price targets are not included. You can fork this API on Parse and revise it to add an endpoint targeting that data.
How fresh is the quote data returned by `get_stock_quotes`?+
The get_stock_quotes endpoint returns current quote data reflecting Barchart's live feed, but Barchart's own display rules apply delays (typically 15–20 minutes for non-subscribers on US equities). Real-time values depend on the data entitlements associated with the underlying source. The response fields lastPrice, priceChange, and percentChange reflect whatever the current feed provides.
Page content last updated . Spec covers 6 endpoints from barchart.com.
Related APIs in FinanceSee all →
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
guba.eastmoney.com API
Access Chinese stock discussion posts and comments from Eastmoney's community platform to monitor investor sentiment, search board discussions, and retrieve detailed post information and stock board metadata. Get real-time insights into what traders are discussing about specific stocks through posts, replies, and board analytics.
blur.io API
Access NFT collection data on Blur.io, including floor prices, best bids, listed tokens, and recent activity. Authenticate with an Ethereum wallet to place collection bids and retrieve portfolio holdings.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.
blackrock.com API
Access comprehensive BlackRock iShares ETF data to research fund performance, holdings, fees, and sector allocations, plus search and compare specific ETFs. Monitor investment details like distributions, key characteristics, and broad market indices all in one place.
morningstar.com.au API
Access comprehensive financial data for Australian stocks, ETFs, and managed funds including key metrics, valuations, dividends, and historical prices. Search securities, review company profiles and ownership details, and stay informed with market news and upcoming dividend information.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.