Protocolink
English
Search
⌃K
📗

API

For a more comprehensive protocol support and enhanced position and market information, we recommend using the Lending SDK.

GitHub

API Server

https://compound-kit-api.protocolink.com

Swagger Docs

get
https://compound-kit-api.protocolink.com
/status
Returns the current version of the API
get
https://compound-kit-api.protocolink.com
/v1/markets
List multi-chain markets
get
https://compound-kit-api.protocolink.com
/v1/markets/{chainId}/{marketId}
Get market information and position for an optional account
post
https://compound-kit-api.protocolink.com
/v1/markets/{chainId}/{marketId}/leverage
Get the estimated post-leverage position
post
https://compound-kit-api.protocolink.com
/v1/markets/{chainId}/{marketId}/deleverage
Get the estimated post-deleverage position
post
https://compound-kit-api.protocolink.com
/v1/markets/{chainId}/{marketId}/collateral-swap
Get the estimated post-collateral-swap position
get
https://compound-kit-api.protocolink.com
/v1/{chainId}/zap-tokens
List supported tokens for zaps
post
https://compound-kit-api.protocolink.com
/v1/markets/{chainId}/{marketId}/zap-supply
Get the estimated post-zap-supply
post
https://compound-kit-api.protocolink.com
/v1/markets/{chainId}/{marketId}/zap-withdraw
Get the estimated post-zap-withdraw
post
https://compound-kit-api.protocolink.com
/v1/markets/{chainId}/{marketId}/zap-repay
Get the estimated post-zap-repay
post
https://compound-kit-api.protocolink.com
/v1/markets/{chainId}/{marketId}/zap-borrow
Get the estimated post-zap-borrow
post
https://compound-kit-api.protocolink.com
/v1/transactions/build
Get transaction data
Last modified 1mo ago