Get maker activity feed across all strategies

Returns a paginated activity feed across all strategies of the maker address, optionally scoped to specific chains via `chainId` (all chains when omitted) and to specific activity types via `type` (all types when omitted). Each item is one transaction of one strategy classified as `open` (strategy shipped), `close` (strategy docked) or `swap`, tagged with the `chainId`, `app` and `strategyHash` of the strategy it belongs to, with the per-token net incoming/outgoing flow. Items are ordered chronologically by `(time, chainId, blockNumber, transactionIndex)` per the `sort` query param.

GEThttps://api.1inch.com/aqua/v1.0/strategies/makers/{address}/activity
Supported on:
EthereumBaseBNB ChainAvalancheZKsyncGnosisOptimismPolygonLineaSonicUnichainRobinhoodArbitrum

Parameters

address
* string path
sort
string (Enum)query
cursor
string query
limit
number query
type
array query
chainId
array 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
24
25
26
27
const axios = require('axios');

async function httpCall() {
  const url =
    'https://api.1inch.com/aqua/v1.0/strategies/makers/{address}/activity';

  const config = {
    headers: {
      Authorization: `Bearer ${API_KEY}`,
    },
    params: {
      limit: 100,
      type: ['swap'],
    },
    paramsSerializer: {
      indexes: null,
    },
  };

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

Returns

200
400
GetMakerActivityResponseDto object
items
* array
items
MakerActivityDto object
chainId
* number
txHash
* string
app
* string
strategyHash
* string
type
* string (Enum)
open
close
swap
time
* number
balanceChanges
* array
items
BalanceChangeDto object
token
* string
in
* any
allOf[0]
TokenFlowDto object
raw
* string
usd
* number
out
* any
allOf[0]
TokenFlowDto object
raw
* string
usd
* number
fee
*TokenFlowDto object
raw
* string
usd
* number
price
* object
allOf[0]
ActivityPriceDto object
value
* string
usd
* number
quoteSymbol
* string
total
* number
nextCursor
* string
prevCursor
* string
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
38
{
  "items": [
    {
      "chainId": 1,
      "txHash": "0x7ceddea4b5d7109e0eeab34ae9473e3e868f04034f60922c51abf731319f0a68",
      "app": "0x111111125421ca6dc452d289314280a0f8842a65",
      "strategyHash": "0x84c02b6ac9dbfb965f0f8f10d4a851d4b30e35cbcf2405bbdc19b8ede8d84118",
      "type": "swap",
      "time": 1705276800,
      "balanceChanges": [
        {
          "token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
          "in": {
            "raw": "10000000",
            "usd": 9.99
          },
          "out": {
            "raw": "10000000",
            "usd": 9.99
          },
          "fee": {
            "raw": "10000000",
            "usd": 9.99
          }
        }
      ],
      "price": {
        "value": "2345.67",
        "usd": 2345.67,
        "quoteSymbol": "USDC"
      }
    }
  ],
  "total": 1234,
  "nextCursor": "eyJtYWtlciI6IjB4MTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMSIsImNoYWluSWRzIjpudWxsLCJzb3J0IjoiZGVzYyIsImxhc3RQb3NpdGlvbiI6eyJ0aW1lIjoxNzA1Mjc2ODAwMDAwLCJjaGFpbklkIjoxLCJibG9ja051bWJlciI6MjAxMjM0NTYsInRyYW5zYWN0aW9uSW5kZXgiOjUsInN0cmF0ZWd5SWQiOiI0MiJ9LCJkaXJlY3Rpb24iOiJuZXh0In0",
  "prevCursor": "eyJtYWtlciI6IjB4MTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMSIsImNoYWluSWRzIjpudWxsLCJzb3J0IjoiZGVzYyIsImxhc3RQb3NpdGlvbiI6eyJ0aW1lIjoxNzA1Mjc2ODAwMDAwLCJjaGFpbklkIjoxLCJibG9ja051bWJlciI6MjAxMjAwMDAsInRyYW5zYWN0aW9uSW5kZXgiOjIsInN0cmF0ZWd5SWQiOiI0MiJ9LCJkaXJlY3Rpb24iOiJwcmV2In0"
}

Did you find what you need?