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

📚 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

May 26May 28May 30Jun 1Jun 3Jun 5Jun 7Jun 9Jun 11Jun 13Jun 15Jun 17Jun 19Jun 21Jun 2404008001440Minutes
Online
Offline

Related APIs in Cryptocurrency