Leaderboard summary (header stats + volume-by-network donut)

Returns the leaderboard header stats and the "Volume by network" breakdown for the selected `period`, aggregated over all supported chains. Rankings refresh continuously (typically within minutes). `liquidity.shared` (allocated strategy balances), `liquidity.pullable` (the same balances capped by on-chain wallet balance and allowance) and `makers.total` are point-in-time values and do not change with `period`. While leaderboard data has not been computed yet the endpoint returns the empty state: `{liquidity: {shared: {usd: null}, pullable: {usd: null}}, makers: {total: 0}, performance: {volume: {usd: null, networks: []}, apy: {top: null}}}`.

GEThttps://api.1inch.com/aqua/v1.0/leaderboard/summary
Supported on:
EthereumBaseBNB ChainAvalancheZKsyncGnosisOptimismPolygonLineaSonicUnichainRobinhoodArbitrum

Parameters

period
string (Enum)query

Request Body

This request doesn’t have any request body.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const axios = require('axios');

async function httpCall() {
  const url = 'https://api.1inch.com/aqua/v1.0/leaderboard/summary';

  const config = {
    headers: {
      Authorization: `Bearer ${API_KEY}`,
    },
    params: {},
    paramsSerializer: {
      indexes: null,
    },
  };

  try {
    const response = await axios.get(url, config);
    console.log(response.data);
  } catch (error) {
    console.error(error);
  }
}

Returns

200
400
GetLeaderboardSummaryResponseDto object
liquidity
* any
allOf[0]
LeaderboardSummaryLiquidityDto object
shared
* any
allOf[0]
LiquidityUsdDto object
usd
* number
pullable
* any
allOf[0]
LiquidityUsdDto object
usd
* number
makers
* any
allOf[0]
LeaderboardSummaryMakersDto object
total
* number
performance
* any
allOf[0]
LeaderboardSummaryPerformanceDto object
volume
* any
allOf[0]
LeaderboardSummaryVolumeDto object
usd
* number
networks
* array
items
LeaderboardSummaryNetworkVolumeDto object
chainId
* number (Enum)
1
56
137
42161
10
43114
324
100
8453
59144
146
130
4663
143
25
999
volume
* any
allOf[0]
LeaderboardSummaryNetworkVolumeUsdDto object
usd
* number
share
* number
apy
* any
allOf[0]
LeaderboardSummaryApyDto object
top
* number
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  "liquidity": {
    "shared": {
      "usd": 12345.67
    },
    "pullable": {
      "usd": 12345.67
    }
  },
  "makers": {
    "total": 128
  },
  "performance": {
    "volume": {
      "usd": 25271456.12,
      "networks": [
        {
          "chainId": 1,
          "volume": {
            "usd": 1234567.89
          },
          "share": 0.25
        }
      ]
    },
    "apy": {
      "top": 42.5
    }
  }
}

Did you find what you need?