dex

Get Individual Position

Retrieves aggregated liquidity metrics and pool-specific breakdowns (pool identifiers, addresses, contributed amounts) for a given wallet across multiple DEX pools. This endpoint also supports a customizable pool size limit, returning essential data to help users and developers analyze individual positions within decentralized finance.

💡 Compute Unit Value: 100 (Fixed)

get/defi/v1/dex/getindividualposition

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/dex/getindividualposition
  • Auth
    API key in header X-API-Key

Query parameters

addressstring required

Public address of the liquidity provider.

Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402
dexId'1000' | '1300' | '1305' | '1306' | '1307' | '1308' | '1309' | '1100' | '1200' | '1201' | '2800' | '2808' | '2809' | '1500' | '1400' | '1402' | '3800' | '3700'

The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more here.

Example:1000
poolAddressesstring

The pool addresses whose liquidity is to be fetched. (Comma-separated values).

Example:0xfad57d2039c21811c8f2b5d5b65308aa99d31559
poolSizestring

The number of pools for which the user intends to fetch the individual position. By default: 50, Maximum: 9,950.

Example:1000
poolAddressstring

Pool address whose liquidity is to be fetched.

Example:0xfad57d2039c21811c8f2b5d5b65308aa99d31559

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "aggregatedLiquidity": "2000200",
    "poolAddresses": {
      "NYANUSDT": {
        "0x6D37Eb2364f8BB28002BD404cF301fA8106DCb14": "1000100"
      },
      "DAIUSDT": {
        "0x055CEDfe14BCE33F985C41d9A1934B7654611AAC": "1000100"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.