yieldaggregator

Get Market Data

Provides detailed financial metrics (liquidity, trading volume, token supply, PT, LP, SY) for a specified yield market. This snapshot helps users and developers monitor market performance and make informed DeFi decisions.

💡 Compute Unit Value: 70 (Fixed)

get/defi/v1/yieldaggregator/getmarketdata

Request

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

Query parameters

yieldAggregatorId'5200' | '5201' | '5202' | '5203' | '5204'

The unique ID to specify the yield aggregator for queries or transactions.

Example:5200
marketAddressstring required

The blockchain address of the yield market or liquidity pool for which the market data is being requested. This parameter ensures that the query targets the correct market, returning metrics specific to that liquidity pool.

Example:0xcdd26eb5eb2ce0f203a84553853667ae69ca29ce

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "liquidityInUsd": "167264298.4288716",
    "tradingVolumeInUsd": "14114863.261934767",
    "totalSupply": "32849681.13414054",
    "totalPtTokens": "155965599.2172757",
    "totalLpTokens": "77645954.28159352",
    "totalSyTokens": "14596352.533499816"
  }
}

Changes

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