API
Last updated
{
"total_volume_24h":"1852892926.854888",
"cumulative_volume":"108671952666.516115",
"tvl":"100687516.122407000000",
"open_interest":"901741683.7948225316456366773",
"num_markets":486,
"loss_refund":{
"pool_size":"106919.703032000000",
"refunded_24h":"25475.042848"
},
"listings":[
{
"ticker":"BTC",
"name":"Bitcoin",
"mark_price":"93787.9606019699",
"volume_24h":"1058107020.462713",
"open_interest":{
"long_open_interest":"113883049.01452301878687056000",
"short_open_interest":"82403040.51901045963533924000"
},
"funding_rate":"0.037347",
"funding_interval_s":28800,
"base_spread_bps":"0.4307589134116585963643440000",
"quotes":{
"updated_at":"2026-01-06T06:38:52.476166127Z",
"size_1k":{
"bid":"93750.97",
"ask":"93755.01"
},
"size_100k":{
"bid":"93746.13",
"ask":"93759.85"
},
"size_1m":{
"bid":"93718.95",
"ask":"93779.82"
}
}
}
]
}import requests
BASE_URL = "https://omni-client-api.prod.ap-northeast-1.variational.io"
def fetch_stats():
resp = requests.get(f"{BASE_URL}/metadata/stats")
resp.raise_for_status()
return resp.json()
stats = fetch_stats()
# Platform metrics
print(f"24h Volume: ${float(stats['total_volume_24h']):,.2f}")
print(f"TVL: ${float(stats['tvl']):,.2f}")
print(f"Open Interest: ${float(stats['open_interest']):,.2f}")
print(f"Markets: {stats['num_markets']}")
# List all tokens
print("\nListings:")
for listing in stats["listings"]:
print(f" {listing['ticker']}: ${listing['mark_price']}")