# 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

<details>

<summary><strong>200 Successful</strong></summary>

```json
[
  {
    "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"
  }
]

```

</details>

<details>

<summary>4<strong>01 Unauthorized</strong></summary>

```json
{"error_code":403,
"error_message":"Invalid API key."}
```

</details>

<details>

<summary><strong>429 Too Many Requests</strong></summary>

```json
{"error_code":429,
"error_message":"Rate limit exceeded. Please try again later."}
```

</details>
