Get one maker's leaderboard rank detail

Returns the volume-race rank detail for one maker — the caller’s own row plus the gap to the next rank — together with the maker’s other leaderboard metrics. Responds 200 with `rank: null` (never 404) for a valid address with no volume in the window. For the maker’s place in another ordering, page the makers list with `sortBy` and `maker`.

GEThttps://api.1inch.com/aqua/v1.0/leaderboard/makers/{address}
Supported on:
EthereumBaseBNB ChainRobinhoodArbitrumAvalancheZKsyncGnosisOptimismPolygonLineaSonicUnichain

Parameters

address
* string path
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/makers/{address}';

  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
GetLeaderboardMakerResponseDto object
rank
* number
maker
* string
volume
* any
allOf[0]
LeaderboardVolumeUsdDto object
usd
* number
fees
* any
allOf[0]
LeaderboardFeesUsdDto object
usd
* number
apy
* any
allOf[0]
LeaderboardMakerApyDto object
percent
* number
liquidity
* any
allOf[0]
LeaderboardMakerLiquidityDto object
shared
* any
allOf[0]
LeaderboardSharedLiquidityUsdDto object
usd
* number
pullable
* any
allOf[0]
LeaderboardPullableLiquidityUsdDto object
usd
* number
share
* number
rankDelta
* number
strategies
* any
allOf[0]
LeaderboardStrategiesDto object
open
* number
nextRank
* object
allOf[0]
LeaderboardNextRankDto object
rank
* number
maker
* string
volume
* any
allOf[0]
LeaderboardVolumeUsdDto object
usd
* number
volumeGap
* any
allOf[0]
LeaderboardVolumeUsdDto object
usd
* 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
32
33
34
35
36
37
{
  "rank": 4,
  "maker": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
  "volume": {
    "usd": 20400000.123456
  },
  "fees": {
    "usd": 12345.67
  },
  "apy": {
    "percent": 42.5
  },
  "liquidity": {
    "shared": {
      "usd": 23456.78
    },
    "pullable": {
      "usd": 12345.67
    }
  },
  "share": 0.042,
  "rankDelta": 2,
  "strategies": {
    "open": 3
  },
  "nextRank": {
    "rank": 3,
    "maker": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
    "volume": {
      "usd": 20400000.123456
    },
    "volumeGap": {
      "usd": 20400000.123456
    }
  }
}

Did you find what you need?