Skip to Content
Dashboard
API ReferenceLiquidity poolsGet Liquidity Position History GET

Get Liquidity Position History

A V3-style pool position's result since its first deposit and its daily value: current value + fees collected − fees charged − deposits + withdrawals. Positions linked by rebalances are one history, with each rebalance marked. Days close at 00:00 America/Sao_Paulo.

GET
/api/v1/wallets/{walletAddress}/liquidity-positions/{chainId}/{tokenId}/history

Authorization

x-api-key
headerx-api-key<token>

Path Parameters

walletAddress*string

Smart wallet that holds the position

chainId*number

Chain of the position

tokenId*string

Position NFT id

Match^\d+$

Query Parameters

timerange?string

Period of the points. The summary is always since the start.

Default"all"
Value in"1d""7d""1m""3m""6m""1a""all"
currency?string

Currency of every value, converted at each day close rate

Default"USD"
Value in"USD""BRL"

Response Body

application/json
  1. response
status*string
Value in"INDEXED""INDEXING"
granularity*"DAY"
Value in"DAY"
progress*|null

How far the indexer is while INDEXING, null once INDEXED.

timerange*string
Value in"1d""7d""1m""3m""6m""1a""all"
currency*string
Value in"USD""BRL"
since*|

Day liquidity was first added to the position or the one it was rebalanced from.

closed*boolean

True once all liquidity was removed.

tokenIds*array<string>

The position and the ones it was rebalanced from or into, oldest first.

rebalances*array<>
summary*|null

Since the start, whatever the timerange. Null when today has no price.

points*array<>

One point per day of the timerange, oldest first.