Top 5

This endpoint can be called using:

https://api.adiinvestments.net/v1/crypto/top5

Returns the following information for the top 5 cryptocurrencies by market cap:

  • Logo Image URL

  • Percent Change

  • Price

  • Symbol

Responses

200 Successful
[
  {
    "imageUrl": "https://s2.coinmarketcap.com/static/img/coins/64x64/1.png",
    "percentChange": "-0.78",
    "price": "93935.96",
    "symbol": "BTC"
  },
  {
    "imageUrl": "https://s2.coinmarketcap.com/static/img/coins/64x64/1027.png",
    "percentChange": "-1.92",
    "price": "3333.78",
    "symbol": "ETH"
  },
  {
    "imageUrl": "https://s2.coinmarketcap.com/static/img/coins/64x64/825.png",
    "percentChange": "-0.03",
    "price": "1.00",
    "symbol": "USDT"
  },
  {
    "imageUrl": "https://s2.coinmarketcap.com/static/img/coins/64x64/52.png",
    "percentChange": "+6.99",
    "price": "2.26",
    "symbol": "XRP"
  },
  {
    "imageUrl": "https://s2.coinmarketcap.com/static/img/coins/64x64/1839.png",
    "percentChange": "-0.73",
    "price": "703.88",
    "symbol": "BNB"
  }
]
401 Unauthorized
{"error_code":403,
"error_message":"Invalid API key."}
429 Too Many Requests
{"error_code":429,
"error_message":"Rate limit exceeded. Please try again later."}

Last updated