Every two years we are seeing major cryptocurrency blows in the market then everyone talking about the cryptocurrency and especially the market volume and popularly leader Bitcoin. Finage is from the first day providing real-time and historical Cryptocurrency API and Websocket from major 20 crypto exchanges from all over the world. We believe the technology behind the cryptocurrency called blockchain will be a gamer changer thing in the next 3 years according to growing up cryptocurrency trades, exchanges, and investors' interest.


Today we will check out the Finage Cryptocurrency APIs and Webcokets - You can easily build your own trade, investment, payment gateways, and transfer applications with our cryptocurrency market data.

After you signup for our cryptography package, you will get your own API key then you can follow the instructions below;

Finage has more than 1500+ cryptocurrency data in real-time.

https://api.finage.co.uk/last/crypto/{ symbol }?apikey=YOUR_API_KEY

Params
  • symbol = Cryptocurrency symbol that you want to get price
Queries
  • apikey = Your API key

https://api.finage.co.uk/last/crypto/btcusd?apikey=YOUR_API_KEY

With the given example above, you can get the last prices of the BTCUSD.

Response

An example response is given below when you make an API request.

{
    "symbol":"BTCUSD",
    "name":"Bitcoin USD",
    "price":18622.28,
    "changesPercentage":0.91,
    "change":167.532,
    "high":18729.865,
    "open":18454.748,
    "low":18002.09,
    "close":18454.748,
    "yearHigh":18936.621,
    "yearLow":4106.981,
    "marketCap":345478856704,
    "priceAvg50":13804.334,
    "priceAvg200":11091.029,
    "volume":43721678848,
    "avgVolume":28791630355,
    "exchange":"CRYPTO",
    "sharesOutstanding":18551910,
    "timestamp":1606131739
}

It's that simple to use the last price API for cryptocurrencies.

Cryptocurrency Aggregates API

Finage has more than 1500+ cryptocurrency data in real-time.

https://api.finage.co.uk/agg/crypto/{ symbol }/{ interval }/{ from }/{ to }?limit=LIMIT&apikey=YOUR_API_KEY

Params
  • symbol = Cryptocurrency symbol that you want to get prices

  • interval = Date interval. [1m3m , 5m15m30m1h2h4h6h8h12h1d3d1w1M]

  • from = Start date [Timestamp (ms)]

  • to = End date [Timestamp (ms)]

  • m = minute, h = hour, d = day, w = week, M = month

Queries
  • apikey = Your API key
  • limit = Response limit, default is 500. [Maximum 1000]

https://api.finage.co.uk/agg/crypto/btcusd/15m/1605873600000/1605874500000?apiKey=YOUR_API_KEY

Response

[
    {
        "ot":1605873600000,
        "ct":1605874499999,
        "o":"18263.69000000",
        "h":"18292.01000000",
        "l":"18208.96000000",
        "c":"18225.08000000",
        "v":"887.35619000",
        "bbav":"369.73826800",
        "bqav":"6746851.85163735",
        "qav":"16192906.81171509",
        "not":15936
    },
 ...
]
  • Parameters
    • ot = Open Time
    • ct = Close Time
    • o = Open
    • h = High
    • l = Low
    • c = Close
    • v = Volume
    • bbav = Taker Buy Base Asset Volume
    • bqav = Taker Buy Quote Asset Volume
    • qav = Quote Asset Volume
    • not = Number of Trades

Cryptocurrency Market Depth API

Finage has more than 1500+ cryptocurrency data in real-time.

https://api.finage.co.uk/depth/crypto/{ symbol }?apikey=YOUR_API_KEY

Params
  • symbol = Cryptocurrency symbol
Queries
  • apikey = Your API key

https://api.finage.co.uk/depth/crypto/BTCUSD?apikey=YOUR_API_KEY

Response


{
    "bids":[
        ["18466.48000000","0.64376500"],
        ["18465.93000000","0.00842600"],
        ...
    ],
    "asks": [
        ["18466.49000000","2.25283700"],
        ["18467.93000000","0.00817800"],
        ...
    ]
}