Get market supply
GET/api/v1/markets/supply
Get market supply
Get market supply
curl https://api-v2.nept.finance/api/v1/markets/supply{
"data": {
"borrow_collateral": {
"non_receipt": {
"balance": "1911404.359986036157511319",
"shares": "1461677.619335545343149205",
"extra": {
"text": {
"shares": "$1,461,677.61",
"balance": "$1,911,404.35"
}
}
},
"receipt": {
"balance": "200517.404188230833340572",
"shares": "200517.404188230833340572",
"extra": {
"text": {
"shares": "$200,517.40",
"balance": "$200,517.40"
}
}
},
"total": {
"balance": "2111921.764174266990851891",
"shares": "1662195.023523776176489777",
"extra": {
"text": {
"shares": "$1,662,195.02",
"balance": "$2,111,921.76"
}
}
}
},
"borrow_debt": {
"balance": "1175633.019245139869052634",
"shares": "1027257.134081383640559021",
"extra": {
"text": {
"shares": "$1,027,257.13",
"balance": "$1,175,633.01"
}
}
},
"lend": {
"principal": "1674639.064979431919912068",
"extra": {
"text": {
"principal": "$1,674,639.06"
}
}
},
"tvl": {
"tvl": "3586043.424965468077423387",
"net_tvl": "2410410.405720328208370753",
"extra": {
"text": {
"net_tvl": "$2,410,410.40",
"tvl": "$3,586,043.42"
}
}
}
},
"error": null,
"status": 200,
"status_text": "OK"
}{
"data": null,
"error": {
"kind": "internal",
"scope": "server",
"message": "An unexpected error occurred"
},
"status": 500,
"status_text": "Internal Server Error"
}Returns Examples
{
"data": {
"borrow_collateral": {
"non_receipt": {
"balance": "1911404.359986036157511319",
"shares": "1461677.619335545343149205",
"extra": {
"text": {
"shares": "$1,461,677.61",
"balance": "$1,911,404.35"
}
}
},
"receipt": {
"balance": "200517.404188230833340572",
"shares": "200517.404188230833340572",
"extra": {
"text": {
"shares": "$200,517.40",
"balance": "$200,517.40"
}
}
},
"total": {
"balance": "2111921.764174266990851891",
"shares": "1662195.023523776176489777",
"extra": {
"text": {
"shares": "$1,662,195.02",
"balance": "$2,111,921.76"
}
}
}
},
"borrow_debt": {
"balance": "1175633.019245139869052634",
"shares": "1027257.134081383640559021",
"extra": {
"text": {
"shares": "$1,027,257.13",
"balance": "$1,175,633.01"
}
}
},
"lend": {
"principal": "1674639.064979431919912068",
"extra": {
"text": {
"principal": "$1,674,639.06"
}
}
},
"tvl": {
"tvl": "3586043.424965468077423387",
"net_tvl": "2410410.405720328208370753",
"extra": {
"text": {
"net_tvl": "$2,410,410.40",
"tvl": "$3,586,043.42"
}
}
}
},
"error": null,
"status": 200,
"status_text": "OK"
}{
"data": null,
"error": {
"kind": "internal",
"scope": "server",
"message": "An unexpected error occurred"
},
"status": 500,
"status_text": "Internal Server Error"
}