Skip to main content
Glama

The Spice Melange Trading Desk: DeepBook market data connector

OHLCV candles

get_ohlcv
Read-onlyIdempotent

OHLCV candles for a DeepBook pool (oldest first). Intervals: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w. Volume is in the base asset. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poolYesDeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)
limitNoNumber of candles (1-500, default 24)
end_timeNoUnix timestamp in SECONDS
intervalNo1h
payment_txNoOnly after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)
start_timeNoUnix timestamp in SECONDS
payment_tokenNoOnly after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.