Skip to main content
POST
YieldGetMarketById returns a Yield market by market ID.

Overview

The YieldGetMarketById endpoint returns a single yield market — including its tokens, reward rate, statistics, risk ratings, status, mechanics, and current state — by market ID. Use it to fetch full detail for a market discovered through YieldGetMarkets.

Request Parameters

Required Fields

  • marketId (string): The market ID returned by YieldGetMarkets.

Response

  • market (YieldMarket): The full market object. Notable fields:
    • id, network, chainId, providerId
    • inputTokens, outputToken, token, tokens (YieldToken)
    • rewardRate (YieldRewardRate): includes total, rateType, and per-source components
    • statistics (YieldStatistics): tvlUsd, tvl, uniqueUsers, average position size, etc.
    • risk (YieldRiskSummary): array of {rating, source} ratings
    • status (YieldStatus): {enter, exit} booleans gating entry/exit
    • mechanics (YieldMechanics): type, reward schedule, gas fee token, lockup, cooldown, fees, entry limits, requirements
    • state (YieldState): price-per-share, concentrated-liquidity-pool state, capacity, liquidity, allocations
    • supportsBeneficiary (boolean)

Example

Next Steps

YieldGetMarkets

Search and list markets

YieldCreateEnterAction

Build a deposit action for a market

Body

application/json
marketId
string
required

Response

OK

market
object
required