curl --request GET \
--url https://api.dkit.xyz/v1/poolrates
{
"rates": [
{
"asset": "ETH.ETH",
"priceInCacao": "12.34567890",
"priceInUsd": "3250.00",
"poolDepth": "50000000000000",
"volume24h": "10000000000000"
},
{
"asset": "BTC.BTC",
"priceInCacao": "165.43210987",
"priceInUsd": "43500.00",
"poolDepth": "100000000000000",
"volume24h": "25000000000000"
},
{
"asset": "DASH.DASH",
"priceInCacao": "0.32145678",
"priceInUsd": "84.60",
"poolDepth": "500000000000",
"volume24h": "50000000000"
},
{
"asset": "KUJI.KUJI",
"priceInCacao": "0.01234567",
"priceInUsd": "3.25",
"poolDepth": "250000000000",
"volume24h": "25000000000"
}
],
"cacaoPriceUsd": "0.263",
"timestamp": 1704067200
}
Returns pool rates in stables (median USDT/USDC price)
curl --request GET \
--url https://api.dkit.xyz/v1/poolrates
{
"rates": [
{
"asset": "ETH.ETH",
"priceInCacao": "12.34567890",
"priceInUsd": "3250.00",
"poolDepth": "50000000000000",
"volume24h": "10000000000000"
},
{
"asset": "BTC.BTC",
"priceInCacao": "165.43210987",
"priceInUsd": "43500.00",
"poolDepth": "100000000000000",
"volume24h": "25000000000000"
},
{
"asset": "DASH.DASH",
"priceInCacao": "0.32145678",
"priceInUsd": "84.60",
"poolDepth": "500000000000",
"volume24h": "50000000000"
},
{
"asset": "KUJI.KUJI",
"priceInCacao": "0.01234567",
"priceInUsd": "3.25",
"poolDepth": "250000000000",
"volume24h": "25000000000"
}
],
"cacaoPriceUsd": "0.263",
"timestamp": 1704067200
}
Pool rates retrieved successfully
The response is of type object[]
.