Skip to main content

Lake API Overview

Pando Lake and 4swap provide a simple, developer-friendly APIs for 3rd-party developers.

API Endpoints


You can use any of them to construct your API requests in form:



Some entities are widely used in the API responses.

Pair Entity

// the asset id of base and quote assets
"base_asset_id": "c94ac88f-4671-3976-b60a-09064f1811e8",
"quote_asset_id": "f5ef6b5d-cc5a-3d90-b2c0-a2fd386e7a3c",
// the amount of base and quote assets
"base_amount": "827.7243632",
"quote_amount": "57701.51287515",
// the liquidity of this pair
"liquidity": "6588.04146863",
// the asset id of LP-Token of this pair
"liquidity_asset_id": "b34633de-4012-38e3-88a9-1f41eafdf45a",
// the route id of this pair
"route_id": 1,
// fee 0.3%
"fee_percent": "0.003",
"max_liquidity": "100000000",
"base_value": "301753.29",
"quote_value": "300856.63",
"volume_24h": "9552.48",
"fee_24h": "28.63",
"transaction_count_24h": 165,
"version": 7503628,
"base_volume_24h": "27.23252371",
"quote_volume_24h": "1895.88436236"

Asset Entity

// asset id
"id": "159648dc-eba7-3d0e-82ea-06995bee0537",
// displayed name, symbol and icon
"name": "4swap LP Token BTC-wBTC",
"symbol": "sBTC-wBTC",
"logo": "",
// asset id of chain asset
"chain_id": "43d61dcd-e413-450d-80b8-101d5e903357",
// chain asset entity
"chain": {Asset Entity},
// price in US Dollar
"price": "84447.541565189134",
// extra information of this assets
"extra": {"circulation":"109542949","name":"Ethereum","explorer":"","intro":{"en":["Ethereum is a decentralized open-source blockchain system that features its own cryptocurrency, Ether. ETH works as a platform for numerous other cryptocurrencies, as well as for the execution of decentralized smart contracts.","Ethereum was first described in a 2013 whitepaper by Vitalik Buterin. Buterin, along with other co-founders, secured funding for the project in an online public crowd sale in the summer of 2014 and officially launched the blockchain on July 30, 2015.","Ethereum’s own purported goal is to become a global platform for decentralized applications, allowing users from all over the world to write and run software that is resistant to censorship, downtime and fraud."]},"website":"","issue":"2014/7/24","total":"109542949"}