all-about-apikey/bitcoinaverage
Muhammad Daffa 7372a52709 Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00
..
README.md Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00

README.md

BitcoinAverage

Description

Digital Asset Price Data for the blockchain industry

Example Request

  • Curl
curl 'https://apiv2.bitcoinaverage.com/exchanges/ticker/bitstamp' -H 'x-ba-key: {{token}}'
  • Raw
GET https://apiv2.bitcoinaverage.com/exchanges/ticker/bitstamp HTTP/1.1
Host: apiv2.bitcoinaverage.com
x-ba-key: {{token}}

Response

  • Success
{
    "name": "bitstamp",
    "display_name": "Bitstamp",
    "url": "https://bitstamp.net/",
    "timestamp": 00000000,
    "data_source": "api",
    "symbols": {
        "ETHUSD": {
            "ask": 0000.00000000,
            "bid": 0000.00000000,
            "last": 0000.000000,
            "high": 0000.000000,
            "low": 000.0000000,
            "open": 0000.000000,
            "vwap": 0000.000000,
            "volume": 000.000000,
            "exchange_symbol": "ETHUSD"
        },
  • Error
Api key does not exist {'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}

or if expired

Your plan has expired. Go to https://pro.bitcoinaverage.com/pages/auth/my-plan to active or extend your plan.

Regex

[a-zA-Z0-9]{43}

Example API key

NzI0MjM4Njc1NGQ3NDU4Mzg1NWU3YYmU4MTdiMaADwS