Unmarshal Protocol APIs

get
Get Protocol positions by Address

https://stg-api.unmarshal.io/v1/protocols/:protocol/address/:address/positions
This endpoint fetches all the protocol position held by an address Eg: Fetch all the pancake positions held by an address https://stg-api.unmarshal.io/v1/protocols/pancake/address/0xebb9824a523871d8074eb2acb3a991b2a14efc2a/positions?auth_key=VGVtcEtleQ%3D%3D
Request
Response
Request
Path Parameters
protocol
required
string
currently supports: pancake
address
required
string
any valid address
Response
200: OK
{
"data": {
"address": "0xebb9824a523871d8074eb2acb3a991b2a14efc2a",
"pancakeswap": {
"balances": [
{
"token_0": {
"contract_name": "USDT",
"contract_ticker_symbol": "USDT",
"contract_decimals": 18,
"contract_address": "0x55d398326f99059fF775485246999027B3197955",
"coin": 10000714,
"balance": "0",
"quote": 0,
"quote_rate": 1.00081,
"logo_url": "https://exchange.pancakeswap.finance/images/coins/0x55d398326f99059fF775485246999027B3197955.png"
},
"token_1": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "0",
"quote": 0,
"quote_rate": 416.221592,
"logo_url": "https://exchange.pancakeswap.finance/images/coins/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
},
"pool_token": {
"contract_name": "Pancake LPs",
"contract_ticker_symbol": "Cake-LP",
"contract_decimals": 18,
"contract_address": "0x20bCC3b8a0091dDac2d0BC30F68E6CBb97de59Cd",
"coin": 10000714,
"balance": "0",
"quote": 0,
"quote_rate": 8.105417,
"logo_url": "https://exchange.pancakeswap.finance/images/coins/0x20bCC3b8a0091dDac2d0BC30F68E6CBb97de59Cd.png",
"total_supply": "",
"pool_share_percentage": "",
"liquidity_value": "",
"net_return": 0,
"pool_return": 0,
"fees_earned": 0
}
},
{
"token_0": {
"contract_name": "CAKE",
"contract_ticker_symbol": "CAKE",
"contract_decimals": 18,
"contract_address": "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",
"coin": 10000714,
"balance": "0",
"quote": 0,
"quote_rate": 20.741135,
"logo_url": "https://exchange.pancakeswap.finance/images/coins/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"
},
"token_1": {
"contract_name": "BTCB",
"contract_ticker_symbol": "BTCB",
"contract_decimals": 18,
"contract_address": "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c",
"coin": 10000714,
"balance": "0",
"quote": 0,
"quote_rate": 57669.680767,
"logo_url": "https://exchange.pancakeswap.finance/images/coins/0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c.png"
},
"pool_token": {
"contract_name": "Pancake LPs",
"contract_ticker_symbol": "Cake-LP",
"contract_decimals": 18,
"contract_address": "0x7a9E517EAeAb3e2EF756cFCeD83079535A563E97",
"coin": 10000714,
"balance": "0",
"quote": 0,
"quote_rate": 8.105417,
"logo_url": "https://exchange.pancakeswap.finance/images/coins/0x7a9E517EAeAb3e2EF756cFCeD83079535A563E97.png",
"total_supply": "",
"pool_share_percentage": "",
"liquidity_value": "",
"net_return": 0,
"pool_return": 0,
"fees_earned": 0
}
},
{
"token_0": {
"contract_name": "CAKE",
"contract_ticker_symbol": "CAKE",
"contract_decimals": 18,
"contract_address": "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",
"coin": 10000714,
"balance": "5406003573504940387",
"quote": 112.12664992854837,
"quote_rate": 20.741135,
"logo_url": "https://exchange.pancakeswap.finance/images/coins/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82.png"
},
"token_1": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "264062755791378602",
"quote": 109.90862060339482,
"quote_rate": 416.221592,
"logo_url": "https://exchange.pancakeswap.finance/images/coins/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
},
"pool_token": {
"contract_name": "Pancake LPs",
"contract_ticker_symbol": "Cake-LP",
"contract_decimals": 18,
"contract_address": "0xA527a61703D82139F8a06Bc30097cC9CAA2df5A6",
"coin": 10000714,
"balance": "1050663136490325400",
"quote": 8.516062847782003,
"quote_rate": 8.105417,
"logo_url": "https://exchange.pancakeswap.finance/images/coins/0xA527a61703D82139F8a06Bc30097cC9CAA2df5A6.png",
"total_supply": "",
"pool_share_percentage": "",
"liquidity_value": "",
"net_return": 0,
"pool_return": 0,
"fees_earned": 0
}
}
]
}
}
}

get
Get Protocol pairs

https://stg-api.unmarshal.io/v1/protocols/:protocol/pairs
This endpoint fetches all the pairs in a protocol Eg: Fetch all the pairs in pancake https://stg-api.unmarshal.io/v1/protocols/pancake/pairs?auth_key=VGVtcEtleQ%3D%3D
Request
Response
Request
Path Parameters
protocol
required
string
currently supports: pancake
Response
200: OK
[
{
"exchange": "0xE2D1B285d83efb935134F644d00FB7c943e84B5B",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "BAKE",
"contract_ticker_symbol": "BAKE",
"contract_decimals": 18,
"contract_address": "0xE02dF9e3e622DeBdD69fb838bB799E3F168902c5",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xE02dF9e3e622DeBdD69fb838bB799E3F168902c5.png"
},
"token_1": {
"contract_name": "BUSD",
"contract_ticker_symbol": "BUSD",
"contract_decimals": 18,
"contract_address": "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56.png"
}
},
{
"exchange": "0xBA51D1AB95756ca4eaB8737eCD450cd8F05384cF",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "Cardano Token",
"contract_ticker_symbol": "ADA",
"contract_decimals": 18,
"contract_address": "0x3EE2200Efb3400fAbB9AacF31297cBdD1d435D47",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0x3EE2200Efb3400fAbB9AacF31297cBdD1d435D47.png"
},
"token_1": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
}
},
{
"exchange": "0x20bCC3b8a0091dDac2d0BC30F68E6CBb97de59Cd",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "USDT",
"contract_ticker_symbol": "USDT",
"contract_decimals": 18,
"contract_address": "0x55d398326f99059fF775485246999027B3197955",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0x55d398326f99059fF775485246999027B3197955.png"
},
"token_1": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
}
},
{
"exchange": "0x4cE6703ca7D76F3E65B884C957249035011866F2",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "BURGER",
"contract_ticker_symbol": "BURGER",
"contract_decimals": 18,
"contract_address": "0xAe9269f27437f0fcBC232d39Ec814844a51d6b8f",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xAe9269f27437f0fcBC232d39Ec814844a51d6b8f.png"
},
"token_1": {
"contract_name": "BUSD",
"contract_ticker_symbol": "BUSD",
"contract_decimals": 18,
"contract_address": "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56.png"
}
},
{
"exchange": "0xd937FB9E6e47F3805981453BFB277a49FFfE04D7",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "BURGER",
"contract_ticker_symbol": "BURGER",
"contract_decimals": 18,
"contract_address": "0xAe9269f27437f0fcBC232d39Ec814844a51d6b8f",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xAe9269f27437f0fcBC232d39Ec814844a51d6b8f.png"
},
"token_1": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
}
},
{
"exchange": "0x3Da30727ed0626b78C212e81B37B97A8eF8A25bB",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
},
"token_1": {
"contract_name": "BAKE",
"contract_ticker_symbol": "BAKE",
"contract_decimals": 18,
"contract_address": "0xE02dF9e3e622DeBdD69fb838bB799E3F168902c5",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xE02dF9e3e622DeBdD69fb838bB799E3F168902c5.png"
}
},
{
"exchange": "0xc639187ef82271D8f517de6FEAE4FaF5b517533c",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "Band Protocol Token",
"contract_ticker_symbol": "BAND",
"contract_decimals": 18,
"contract_address": "0xAD6cAEb32CD2c308980a548bD0Bc5AA4306c6c18",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xAD6cAEb32CD2c308980a548bD0Bc5AA4306c6c18.png"
},
"token_1": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
}
},
{
"exchange": "0x1B96B92314C44b159149f7E0303511fB2Fc4774f",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
},
"token_1": {
"contract_name": "BUSD",
"contract_ticker_symbol": "BUSD",
"contract_decimals": 18,
"contract_address": "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56.png"
}
},
{
"exchange": "0x8Ff5196C821b935109c74D74B1BB508F1Bf2A3D7",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
},
"token_1": {
"contract_name": "Small Pancake Token",
"contract_ticker_symbol": "SCAKE",
"contract_decimals": 18,
"contract_address": "0xbbB2aaEB8c9dA72bb7faDB42A9c84AACF26974Fd",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xbbB2aaEB8c9dA72bb7faDB42A9c84AACF26974Fd.png"
}
},
{
"exchange": "0xbCD62661A6b1DEd703585d3aF7d7649Ef4dcDB5c",
"total_liquidity_quote": "",
"volume_quote": "",
"token_0": {
"contract_name": "Polkadot Token",
"contract_ticker_symbol": "DOT",
"contract_decimals": 18,
"contract_address": "0x7083609fCE4d1d8Dc0C979AAb8c869Ea2C873402",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0x7083609fCE4d1d8Dc0C979AAb8c869Ea2C873402.png"
},
"token_1": {
"contract_name": "WBNB",
"contract_ticker_symbol": "WBNB",
"contract_decimals": 18,
"contract_address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"coin": 10000714,
"balance": "",
"quote": 0,
"quote_rate": 0,
"logo_url": "https://assets.unmarshal.io/tokens/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c.png"
}
}
]