Get market liquidity and open-interest state
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.testnet.tayho.io/v1/markets/{marketId}/liquidity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.testnet.tayho.io/v1/markets/{marketId}/liquidity \
--header 'X-API-Key: <api-key>'{
"checkpoint": "<string>",
"data": {
"activationDepthWad": "<string>",
"directionalCapWad": "<string>",
"grossOpenInterestCapWad": "<string>",
"longQWad": "<string>",
"longReceiverReserveWad": "<string>",
"marketId": "<string>",
"minimumDepthWad": "<string>",
"open": {},
"reservedWad": "<string>",
"shortQWad": "<string>",
"shortReceiverReserveWad": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}Get market liquidity and open-interest state
GET
/
v1
/
markets
/
{marketId}
/
liquidity
Get market liquidity and open-interest state
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.testnet.tayho.io/v1/markets/{marketId}/liquidity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.testnet.tayho.io/v1/markets/{marketId}/liquidity \
--header 'X-API-Key: <api-key>'{
"checkpoint": "<string>",
"data": {
"activationDepthWad": "<string>",
"directionalCapWad": "<string>",
"grossOpenInterestCapWad": "<string>",
"longQWad": "<string>",
"longReceiverReserveWad": "<string>",
"marketId": "<string>",
"minimumDepthWad": "<string>",
"open": {},
"reservedWad": "<string>",
"shortQWad": "<string>",
"shortReceiverReserveWad": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}Authorizations
Tayho project API key with the scope declared by the operation.
Path Parameters
Maximum string length:
20Last modified on July 24, 2026
⌘I