Pendle Hosted SDK API

A hosted REST API that generates ready-to-broadcast calldata for every Pendle protocol action — swap (including tokens-to-PT, PT-to-tokens, YT swaps), add and remove liquidity, ZPI (zero-price-impact) flows, mint and redeem PT/YT, mint and redeem SY, transfer liquidity, roll over PT positions, and dual-sided liquidity. Most operations go through a single universal Convert endpoint (`POST /v3/sdk/{chainId}/convert`) that accepts tokens in, tokens out, amounts, receiver, slippage, optional aggregator selection (KyberSwap, etc.), and additional analytics flags (impliedApy, effectiveApy). The hosted SDK tracks Pendle UI behaviour exactly and is updated whenever underlying SY assets evolve, so integrators do not have to patch client SDKs to follow protocol changes.

Pendle Hosted SDK API is one of 9 APIs that Pendle Finance publishes on the APIs.io network.

Tagged areas include SDK, Hosted API, Transactions, Swap, and Liquidity. The published artifact set on APIs.io includes API documentation and an API reference.

API entry from apis.yml

apis.yml Raw ↑
aid: pendle-finance:pendle-hosted-sdk
name: Pendle Hosted SDK API
description: A hosted REST API that generates ready-to-broadcast calldata for every Pendle protocol action
  — swap (including tokens-to-PT, PT-to-tokens, YT swaps), add and remove liquidity, ZPI (zero-price-impact)
  flows, mint and redeem PT/YT, mint and redeem SY, transfer liquidity, roll over PT positions, and dual-sided
  liquidity. Most operations go through a single universal Convert endpoint (`POST /v3/sdk/{chainId}/convert`)
  that accepts tokens in, tokens out, amounts, receiver, slippage, optional aggregator selection (KyberSwap,
  etc.), and additional analytics flags (impliedApy, effectiveApy). The hosted SDK tracks Pendle UI behaviour
  exactly and is updated whenever underlying SY assets evolve, so integrators do not have to patch client
  SDKs to follow protocol changes.
humanURL: https://docs.pendle.finance/pendle-dev/Backend/HostedSdk
baseURL: https://api-v2.pendle.finance/core
tags:
- SDK
- Hosted API
- Transactions
- Swap
- Liquidity
- Mint
- Redeem
properties:
- type: Documentation
  url: https://docs.pendle.finance/pendle-dev/Backend/HostedSdk
- type: APIReference
  url: https://api-v2.pendle.finance/core/docs
- type: Examples
  url: https://github.com/pendle-finance/pendle-examples-public/tree/main/hosted-sdk-demo