BitcoinAverage

BitcoinAverage

Cryptocurrency

These APIs can be used to gather real-time, OHLC, volume and historical price data for Bitcoin (BTC), Bitcoin Cash (BCH), Litecoin (LTC), Ethereum (ETH), Dash (DASH), Ripple (XRP), Monero (XMR) plus many more.

Visit API🔁 Alternatives

📚 Documentation & Examples

Everything you need to integrate with BitcoinAverage

🚀 Quick Start Examples

BitcoinAverage Javascript Examplejavascript
// BitcoinAverage API Example
const response = await fetch('https://apiv2.bitcoinaverage.com/', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

Working with BitcoinAverage API

Are you looking for a reliable and easy-to-use API to fetch real-time Bitcoin prices? Look no further than BitcoinAverage's public API!

Getting Started

First, head over to https://apiv2.bitcoinaverage.com/ and create an account. Once you have verified your account, you'll be able to access the API endpoints.

API Endpoints

Ticker

This endpoint returns the current price of Bitcoin.

fetch('https://apiv2.bitcoinaverage.com/ticker/bitcoin_usd')
  .then(response => response.json())
  .then(data => console.log(data.last))

Global Ticker

This endpoint returns the global cryptocurrency market data.

fetch('https://apiv2.bitcoinaverage.com/global/ticker/all')
  .then(response => response.json())
  .then(data => console.log(data['BTC'].last))

OHLC

This endpoint returns the Open, High, Low, and Close price data for Bitcoin.

fetch('https://apiv2.bitcoinaverage.com/indices/global/history/BTCUSD?period=daily&format=json')
  .then(response => response.json())
  .then(data => console.log(data))

Conclusion

And that's it! With just a few lines of code, you can easily access real-time Bitcoin prices and other market data using BitcoinAverage's public API. Happy coding!

📊 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Nov 15Nov 17Nov 19Nov 21Nov 23Nov 25Nov 27Nov 29Dec 1Dec 3Dec 5Dec 7Dec 9Dec 11Dec 1404008001440Minutes
Online
Offline

Related APIs in Cryptocurrency