Trading volume
get_volumeRead-onlyIdempotent
24h volume, high/low, last price and % change for one DeepBook pool, or the top pools by 24h quote volume if no pool is given. Set window_hours for a custom trailing window (single pool). 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
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | When no pool is given: how many pools to return (default 10) | |
| pool | No | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) | |
| payment_tx | No | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) | |
| window_hours | No | Trailing window in hours (default 24). Non-24 values need a pool. | |
| payment_token | No | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |