API

Read-Only API

Public REST API providing market statistics for Variational Omni.

Base URL

https://omni-client-api.prod.ap-northeast-1.variational.io

Endpoint

GET /metadata/stats

Returns platform-wide and per-listing market statistics.

Rate Limits

  • Per IP: 10 requests per 10 seconds.

  • Global: 1000 requests per minute.

Response Fields

General Metrics

Field
Type
Description

total_volume_24h

string

24-hour trading volume across all markets (USDC)

cumulative_volume

string

Lifetime cumulative trading volume (USDC)

tvl

string

Total value locked in settlement pools and the OLP vault (USDC)

open_interest

string

Total open interest across all markets

num_markets

integer

Number of listed perpetual markets

loss_refund.pool_size

string

Loss refund pool balance (USDC)

loss_refund.refunded_24h

string

Amount of loss refunds processed in last 24 hours (USDC)

listings

array

Per-listing statistics

Per-Listing Fields

Field
Type
Description

ticker

string

Asset ticker (e.g., BTC, ETH)

name

string

Token Description

mark_price

string

Current mark price

volume_24h

string

24h trading volume (USDC)

open_interest.long_open_interest

string

Long open interest

open_interest.short_open_interest

string

Short open interest

funding_rate

string

Current funding rate (decimal)

funding_interval_s

integer

Funding interval in seconds

base_spread_bps

string

Base spread in basis points

quotes.updated_at

string

ISO 8601 timestamp of quote

quotes

quotes object

Quote details

Quotes Fields

Field
Type
Description

updated_at

Time the quote was last updated

ISO 8601 timestamp of quote

size_1k

quote object

Quote at $1,000 notional

size_100k

quote object

Quote at $100,000 notional

size_1m

quote object

Quote at $1,000,000 notional (majors only)

Quote Fields

Field
Type
Description

bid

string

price

ask

string

price

Sample Json

Example

Python

Notes

  • All numeric values are returned as strings to preserve decimal precision.

  • The bid/ask price may be cached for up to 600 seconds, all quotes contain an updated_at field

  • Prices and volumes are denominated in USDC.

  • Funding rates are decimals (multiply by 100 for percentage).

  • Optional fields may be omitted when unavailable.

Support

For questions, contact support through one of our official channels.

Trading API

The trading API is still in development, and is not yet available to any users. Please fill out this form if you wish to be notified once the trading API is available.

Last updated