# Get Liquidity Position History URL: /docs/api-reference/liquidity-pools/GetLiquidityPositionHistoryController_getLiquidityPositionHistory_v1 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 ```json { "description": "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.", "operationId": "GetLiquidityPositionHistoryController_getLiquidityPositionHistory_v1", "parameters": [ { "name": "walletAddress", "required": true, "in": "path", "description": "Smart wallet that holds the position", "schema": { "type": "string", "examples": [ "0xa7a9dcfcb65ed67e05d9c7eb49d2d74ce1f5f4f1" ] } }, { "name": "chainId", "required": true, "in": "path", "description": "Chain of the position", "schema": { "type": "number", "examples": [ 137 ] } }, { "name": "tokenId", "required": true, "in": "path", "description": "Position NFT id", "schema": { "pattern": "^\\d+$", "type": "string", "examples": [ "2971077" ] } }, { "name": "timerange", "required": false, "in": "query", "description": "Period of the points. The summary is always since the start.", "schema": { "default": "all", "type": "string", "enum": [ "1d", "7d", "1m", "3m", "6m", "1a", "all" ], "examples": [ "1m" ] } }, { "name": "currency", "required": false, "in": "query", "description": "Currency of every value, converted at each day close rate", "schema": { "default": "USD", "type": "string", "enum": [ "USD", "BRL" ], "examples": [ "BRL" ] } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LiquidityPositionHistoryResponseDTO" } } } }, "403": { "description": "FORBIDDEN", "content": { "application/json": { "schema": { "type": "object", "description": "UNAVAILABLE_COMPUTE_UNITS", "required": [ "statusCode", "id", "message" ], "properties": { "statusCode": { "type": "number", "description": "HTTP status code", "examples": [ 403 ] }, "id": { "type": "string", "description": "Our ID of the problem", "examples": [ "UNAVAILABLE_COMPUTE_UNITS" ] }, "message": { "type": "string", "description": "A human readable message that explains the problem", "examples": [ "The project doesn't have enough compute units to perform this action. Please upgrade your plan." ] } } } } } }, "404": { "description": "NOT_FOUND", "content": { "application/json": { "schema": { "oneOf": [ { "type": "object", "description": "ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT", "required": [ "statusCode", "id", "message" ], "properties": { "statusCode": { "type": "number", "description": "HTTP status code", "examples": [ 404 ] }, "id": { "type": "string", "description": "Our ID of the problem", "examples": [ "ACCOUNT_ABSTRACTION_ADDRESS_NOT_REGISTERED_WITH_PROJECT" ] }, "message": { "type": "string", "description": "A human readable message that explains the problem", "examples": [ "The requested wallet is not registered with the project" ] } } }, { "type": "object", "description": "LIQUIDITY_POSITION_NOT_FOUND", "required": [ "statusCode", "id", "message" ], "properties": { "statusCode": { "type": "number", "description": "HTTP status code", "examples": [ 404 ] }, "id": { "type": "string", "description": "Our ID of the problem", "examples": [ "LIQUIDITY_POSITION_NOT_FOUND" ] }, "message": { "type": "string", "description": "A human readable message that explains the problem", "examples": [ "The wallet never held liquidity position undefined on chain undefined." ] } } } ] } } } } }, "summary": "Get Liquidity Position History", "tags": [ "Liquidity Pools" ] } ``` ### Schema LiquidityPositionHistoryResponseDTO ```json { "type": "object", "properties": { "status": { "type": "string", "enum": [ "INDEXED", "INDEXING" ], "examples": [ "INDEXED" ] }, "granularity": { "type": "string", "enum": [ "DAY" ], "examples": [ "DAY" ] }, "progress": { "description": "How far the indexer is while INDEXING, null once INDEXED.", "type": [ "object", "null" ], "allOf": [ { "$ref": "#/components/schemas/LiquidityPositionHistoryProgressDTO" } ] }, "timerange": { "type": "string", "enum": [ "1d", "7d", "1m", "3m", "6m", "1a", "all" ], "examples": [ "all" ] }, "currency": { "type": "string", "enum": [ "USD", "BRL" ], "examples": [ "BRL" ] }, "since": { "type": [ "object", "null" ], "description": "Day liquidity was first added to the position or the one it was rebalanced from.", "examples": [ "2026-09-30" ] }, "closed": { "type": "boolean", "description": "True once all liquidity was removed.", "examples": [ false ] }, "tokenIds": { "description": "The position and the ones it was rebalanced from or into, oldest first.", "type": "array", "items": { "type": "string" }, "examples": [ [ "1349107", "1349161", "1353981" ] ] }, "rebalances": { "type": "array", "items": { "$ref": "#/components/schemas/LiquidityPositionRebalanceDTO" } }, "summary": { "description": "Since the start, whatever the timerange. Null when today has no price.", "type": [ "object", "null" ], "allOf": [ { "$ref": "#/components/schemas/LiquidityPositionSummaryDTO" } ] }, "points": { "description": "One point per day of the timerange, oldest first.", "type": "array", "items": { "$ref": "#/components/schemas/LiquidityPositionHistoryPointDTO" } } }, "required": [ "status", "granularity", "progress", "timerange", "currency", "since", "closed", "tokenIds", "rebalances", "summary", "points" ] } ``` ### Schema LiquidityPositionHistoryProgressDTO ```json { "type": "object", "properties": { "chains": { "type": "number", "examples": [ 9 ] }, "chainsIndexed": { "type": "number", "examples": [ 4 ] } }, "required": [ "chains", "chainsIndexed" ] } ``` ### Schema LiquidityPositionRebalanceDTO ```json { "type": "object", "properties": { "date": { "type": "string", "examples": [ "2026-10-01" ] }, "fromTokenId": { "type": "string", "examples": [ "1349161" ] }, "toTokenId": { "type": "string", "examples": [ "1353981" ] } }, "required": [ "date", "fromTokenId", "toTokenId" ] } ``` ### Schema LiquidityPositionSummaryDTO ```json { "type": "object", "properties": { "currentValue": { "type": "number", "description": "Value now, uncollected fees included. 0 once closed.", "examples": [ 9689.73 ] }, "deposits": { "type": "number", "description": "Liquidity added, valued when it was added.", "examples": [ 9900 ] }, "withdrawals": { "type": "number", "description": "Liquidity removed, valued when it was removed.", "examples": [ 0 ] }, "collectedFees": { "type": "number", "description": "Fees the position paid out (collected, or reinvested by a rebalance).", "examples": [ 190 ] }, "chargedFees": { "type": "number", "description": "Fees charged on the operations (the project fee and Notus fee).", "examples": [ 59.4 ] }, "result": { "type": "number", "description": "currentValue + collectedFees − chargedFees − deposits + withdrawals.", "examples": [ -79.67 ] }, "resultPercent": { "type": [ "object", "null" ], "description": "Result over deposits, in percent.", "examples": [ -0.8 ] } }, "required": [ "currentValue", "deposits", "withdrawals", "collectedFees", "chargedFees", "result", "resultPercent" ] } ``` ### Schema LiquidityPositionHistoryPointDTO ```json { "type": "object", "properties": { "date": { "type": "string", "description": "Day in America/Sao_Paulo, valued at its close.", "examples": [ "2026-10-28" ] }, "time": { "type": "string", "description": "The close the value is at; now for today.", "examples": [ "2026-10-29T03:00:00Z" ] }, "value": { "type": [ "object", "null" ], "description": "What the position was worth at the close, uncollected fees included. Null without a price.", "examples": [ 9689.73 ] }, "result": { "type": [ "object", "null" ], "description": "The result up to that close: above zero is a gain, below is a loss.", "examples": [ -79.67 ] } }, "required": [ "date", "time", "value", "result" ] } ```