GET
/
v1
/
pendle
/
markets
Typescript (SDK)
import { CompassApiSDK } from "@compass-labs/api-sdk";

const compassApiSDK = new CompassApiSDK({
  apiKeyAuth: "<YOUR_API_KEY_HERE>",
});

async function run() {
  const result = await compassApiSDK.pendle.pendleMarkets({});

  console.log(result);
}

run();
{
  "markets": [
    {
      "name": "<string>",
      "address": "<string>",
      "expiry": "2023-11-07T05:31:56Z",
      "pt": "<string>",
      "yt": "<string>",
      "sy": "<string>",
      "underlyingAsset": "<string>",
      "details": {
        "liquidity": 123,
        "pendleApy": 123,
        "impliedApy": 123,
        "feeRate": 123,
        "movement10Percent": {
          "ptMovementUpUsd": 123,
          "ptMovementDownUsd": 123,
          "ytMovementUpUsd": 123,
          "ytMovementDownUsd": 123
        },
        "yieldRange": {
          "min": 123,
          "max": 123
        },
        "aggregatedApy": 123,
        "maxBoostedApy": 123
      },
      "isNew": true,
      "isPrime": true,
      "timestamp": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:arbitrum
required
Available options:
arbitrum,
base,
ethereum

Response

200
application/json

Successful Response

The response is of type object.