Wallet list

Request cost: 5 credits

post

Returns a list of wallets with filtering, sorting, and pagination capabilities

Authorizations
Body
pageinteger Β· min: 1Optional

Page number for pagination

Default: 1
Responses
200
Successful response
application/json
post
POST /api/analytics/v1/wallets HTTP/1.1
Host: definest.ai
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 10

{
  "page": 1
}
{
  "result": {
    "wallets": [
      {
        "address": "0x199...",
        "network": "eth",
        "indicators": {
          "pnl_realized": {
            "12h": {
              "initial": 100,
              "following": 99
            },
            "24h": {
              "initial": 100,
              "following": null
            }
          },
          "pnl_unrealized": {
            "1m": {
              "initial": 1000,
              "following": 999
            },
            "1y": {
              "initial": 1000,
              "following": null
            }
          }
        }
      }
    ],
    "page": {
      "current": 1,
      "per_page": 100
    }
  },
  "credits": {
    "spent": 1,
    "remaining": 1000
  }
}

Last updated