Endpoints

Wallets

One wallet's positions summed in one call: value, uncollected fees, PnL and counts, across every chain and per chain.

GET /v1/wallets/{address} — 2 units

bash
curl -s "https://api.tickwise.xyz/v1/wallets/0x1111111111111111111111111111111111111111" \
  -H "KC-APIKey: $TICKWISE_API_KEY"

Path and query parameters

ParameterDefaultMeaning
addressrequiredPath. The wallet, 0x plus 40 hex, any case. Anything else is a 400.
chainIdevery chainOnly this chain. 1, 42161, 43114, 5042, 999, 4326, 7777777, 42220, 57073, 4217, 137 or 130. Any other chain is a 400.
protocoluniswap-v4The only value served; anything else is a 400.
statusallactive (open), inactive (closed) or all.
includeRiskytruefalse leaves out open positions with no reliable price, a zero value or an implausible APR or ROI, as on the positions list.
minValueUsd0Leave out positions worth less than this.
minPoolTvl0Leave out positions in pools with less TVL than this.

The four filters are the positions list's own, but the defaults count every position the wallet holds, where the list's defaults show only open, non-risky positions in pools with at least $1,000 TVL.

Response

json
{
  "address": "0x1111111111111111111111111111111111111111",
  "protocol": "uniswap-v4",
  "filters": { "status": "all", "includeRisky": true, "minValueUsd": 0, "minPoolTvl": 0 },
  "totals": {
    "valueUsd": 44242.7,
    "uncollectedFeesUsd": 159.06,
    "pnlUsd": 2373.94,
    "positions": 11,
    "openCount": 7,
    "closedCount": 4,
    "unpricedCount": 2,
    "pnlPendingCount": 1
  },
  "byChain": [
    { "chainId": 1, "valueUsd": 35002.7, "uncollectedFeesUsd": 121.26, "pnlUsd": 2051.95, "positions": 5, … },
    { "chainId": 42161, "valueUsd": 9240, "uncollectedFeesUsd": 37.8, "pnlUsd": 222, "positions": 4, … },
    { "chainId": 130, "valueUsd": 0, "uncollectedFeesUsd": 0, "pnlUsd": 99.99, "positions": 2, … }
  ],
  "asOf": "2026-11-20T05:12:00.000Z"
}

How the figures add up

The figures are the sum of exactly the rows GET /v1/positions?owner=<address> returns with the same four filters and sort=underlying_value, paged to the end. With the defaults that is status=all&includeRisky=true&minValueUsd=0&minPoolTvl=0. The sort matters: apr, fee_apr and roi narrow the list to open positions, and pnl with includeRisky=false to positions whose PnL is ready. Positions paired with a spam or no-market token are left out of both.

  • valueUsd, uncollectedFeesUsd and pnlUsd add up each row's metrics.underlyingValueUsd, metrics.pendingFeesUsd and metrics.pnlUsd.
  • A position with no reliable price (metrics.priceUnavailable) adds nothing to those three and is counted in unpricedCount: its value is unknown, not zero.
  • A position whose PnL is still being computed adds its value and fees, and 0 PnL, and is counted in pnlPendingCount.
  • Each figure is the one the list row shows: a position the list serves at $0 because its valuation was rejected adds nothing and is counted in pnlPendingCount.
  • positions = openCount + closedCount, unpriced ones included. byChain lists only chains where the wallet has a matching position, highest value first.

Errors and charges

  • 200 with zeros and an empty byChain: a wallet with no matching positions. Every well-formed address is a wallet. Charged.
  • 400: a malformed address, an unsupported chain or protocol, or a bad status, includeRisky, minValueUsd or minPoolTvl. Not charged.
  • partial: true with missingChains: a chain did not answer in time and is left out of the totals. Not charged; ask again. 503 with Retry-After when no chain answered. Not charged.
  • One flat charge per answer (2 units), the same as a positions list page. A successful answer may be reused for 15 seconds (Cache-Control: private, max-age=15). The figures may be up to about 30 seconds old (asOf says when they were read); older than that, the answer carries stale: true and dataAsOf.

In the portal

Link a wallet to your account under Settings → Sign-in methods by signing a message with it; the wallet can then sign you in too. My positions in the portal shows the same figures and rows for your linked wallets, at no charge. It only shows wallets linked to your account.