Get market aggregate statistics
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.testnet.tayho.io/v1/markets/{marketId}/stats', 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}/stats \
--header 'X-API-Key: <api-key>'{
"checkpoint": "<string>",
"data": {
"funding": {
"marketId": "<string>",
"updatedBlock": "<string>",
"impactPriceWad": "<string>",
"indexPriceWad": "<string>",
"ratePerHourWad": "<string>",
"updatedAt": "<string>"
},
"lifetime": "<unknown>",
"marketId": "<string>",
"markPriceWad": "<string>",
"open": "<unknown>",
"settlement": "<unknown>"
}
}{
"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 aggregate statistics
GET
/
v1
/
markets
/
{marketId}
/
stats
Get market aggregate statistics
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.testnet.tayho.io/v1/markets/{marketId}/stats', 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}/stats \
--header 'X-API-Key: <api-key>'{
"checkpoint": "<string>",
"data": {
"funding": {
"marketId": "<string>",
"updatedBlock": "<string>",
"impactPriceWad": "<string>",
"indexPriceWad": "<string>",
"ratePerHourWad": "<string>",
"updatedAt": "<string>"
},
"lifetime": "<unknown>",
"marketId": "<string>",
"markPriceWad": "<string>",
"open": "<unknown>",
"settlement": "<unknown>"
}
}{
"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