Bitcoin average price
There is no explicit restriction on how often you can call the API, however calling it more than once a minute makes no sense. Please be good.
Basics
BitcoinAverage API can be found at .API allows you to access all data available on site and is read only.
API is accessible via HTTP GET in JSON format for current data and in CSV format for historical data. API doesn't provide JSONP, however it does support cross-origin resource sharing and provides HTTP header Access-Control-Allow-Origin: * allowing unlimited crossdomain AJAX calls.
Each API level starting from the top provides you with a self-explanatory JSON document containing
links to deeper levels of API up to data endpoints.
Each API endpoint JSON document includes a timestamp indicating document generation time. All API timestamps assume UTC time.
You can use HTTP or HTTPS for API queries, preference is yours, yet we recommend using HTTPS.
API is updated along with the site, normally around every 10seconds.
This manual assumes that you are familiar with software development in general and understood all of the above.
Global tickers API
Global weighted average ticker API endpoints list is available at . Currencies dedicated endpoints are available ticker showing all currencies at once is available at . Ticker fields:- ask: weighted average of ask prices
- bid: weighted average of bid prices
- last: weighted average of last prices
- volume_btc: total trading volume across all exchanges in this currency in last 24 hours
- volume_percent: percent of global ฿ trading volume
Market tickers API
Market tickers represent only currencies that are directly traded to Bitcoin and thus have actual markets of its own. Each currency has its own average market price. Ticker API endpoints list is available at . Currencies dedicated endpoints are available at . Aggregated ticker showing all currencies at once is available fields:- 24h_avg: average of weighted averages for last 24 hours
- total_vol: total trading volume across all exchanges in last 24 hours
Exchange volume API
Exchange volume API URL list is available at . Currencies dedicated exchange volume endpoints available at . Aggregated document showing all currencies volumes at once is available exchange volume endpoint document is broken down by exchange. Each exchange has these fields:- rates: subset of current ask, bid and last values for exchange to date
- source: either 'api' or 'bitcoincharts'. Indicates whether data is retrieved directly from the exchange API, or from bitcoincharts API
- volume_btc: trading volume for last 24h in BTC
- volume_percent: percent of trading volume represented at this exchange relative to total volume for this currency
Historical data
Historical data URL list is available at . A list of historical data CSV files for any currency can be obtained atEach currency has four CSV endpoints:
- 24 hours sliding window, per minute prices for last 24 hours.
- monthly sliding window, per hour averaged prices for last 30 days.
- averaged daily prices, since start of tracking at bitcoinaverage.com, stored forever.
- 24h trading volumes per exchange, since start of tracking at bitcoinaverage.com, stored forever.