Canton Venues

v1.0.1
com.cantonvenues/canton-venues Checked 2 days ago Published 1 month ago

Live Canton Network DEX data: prices, best execution across venues, exit cost, premiums.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

market_overview Canton DEX market overview

Canton DEX market right now: CC price and CC's own 24h volume on each DEX (null where a venue publishes no volume), spot volume per venue we read, Canton's TVL for the day named, top movers, the largest premiums to global prices, and the latest alerts.

list_tokens List Canton DEX tokens

Every token on Canton DEXes with price, 24h/7d change, liquidity and volume. sort_by: liquidity, volume, change_24h, change_7d or premium.

ParameterTypeDescription
limitintegerHow many tokens to return, 1 to 100
sort_bystringOrder of the list, largest first: liquidity (USD), volume (24h USD), change_24h, change_7d, or premium (largest gap to the outside price, either sign)

token Token detail

One token: price, changes, liquidity and volume, price on each venue, premium to its outside reference, its pools with fee APR, and hourly USD prices for the last 7 days. CC (Canton Coin) too: its price on each venue is its CC/USDCx market there, and its volume is every market with CC on one side (`note` says so).

ParameterTypeDescription
symbol *stringToken symbol as Canton DEXes name it, e.g. CC (Canton Coin), CBTC, USDCx; list_tokens() gives every symbol

quote Quote a trade on Canton DEXes

Best execution for selling `amount` of token `sell` (or `amount_usd` worth) for token `buy`, on every venue that can make the trade on its own markets in one or two swaps: an AMM pool (Cantex, Tradecraft, OneSwap, Pool Party), an order book (Temple, Rocky, Kora), or two of them in a row on the same venue (Temple: CC to USDCx, then USDCx to CBTC; Pool Party: CC to USDC.B, then USDC.B to CBTC). The same comparison as the site's best execution, at any size. Pool fees, book fees and price impact are included; `after_network_fee` also takes off the venue's per-trade network fee…

ParameterTypeDescription
buy *stringSymbol of the token bought, e.g. USDCx
sell *stringSymbol of the token sold, e.g. CC
amountHow much of the sold token, in its own units. Give this or amount_usd, not both
amount_usdSize of the sale in US dollars at our price of the sold token. Give this or amount, not both

premiums Canton premium to global prices

How far Canton DEX prices sit from outside markets: CBTC vs BTC, cETH vs ETH, eXAU and eXAG vs gold and silver spot (while the spot market trades), CC vs global CC, and every stablecoin vs $1. kind: all, reference or peg.

ParameterTypeDescription
kindstringreference: tokens priced against an outside market (CBTC vs BTC, cETH vs ETH, eXAU, eXAG, CC); peg: stablecoins against $1; all: both

spreads Cross-venue spreads

Buy-on-one-venue, sell-on-the-other round trips at their best size, after each venue's network fee: `cost_cc` per route, `swap_cost_cc` per venue (Cantex and OneSwap their own quotes, checked against our trades; Tradecraft, Temple, Kora and Rocky none per trade; Pool Party assumed at 1.5 CC). A trip through an order book in dollars (via=usd) also pays the CC/USDCx leg of each pool side. `clears` is true when one nets at least $0.50.

ParameterTypeDescription
limitintegerHow many routes to return, best first, 1 to 50

alerts Recent alerts

Alerts fired on Canton DEXes: stablecoin peg breaks, premiums over 1%, hourly moves over 5%, and spreads that clear their costs. Newest last.

ParameterTypeDescription
limitintegerHow many of the latest alerts to return, 1 to 300

pools Liquidity pools

CC pools on every AMM (Cantex, Tradecraft, OneSwap, Pool Party) with liquidity, 24h volume where the venue publishes it, fee and LP fee APR from the last 24 hours of volume; a pool whose reserves have stood still while its price left the market carries `not_trading_since`. sort_by: tvl, volume or apr.

ParameterTypeDescription
limitintegerHow many pools to return, 1 to 60
sort_bystringOrder of the list, largest first: tvl (USD), volume (24h USD) or apr (LP fee APR)

venues Canton venues and coverage

Every Canton trading venue we know of: type, 24h volume, and whether we price it live, see its volume only, or cannot read it (key needed, testnet, no public API). Also the share of Canton spot DEX volume that these prices cover.

perps Perpetual futures

Perp markets on Rocky, Ekiden and Canborsa: price, basis to the outside spot price, funding, spread, open interest and 24h volume where the venue publishes them. base filters by asset, e.g. BTC, ETH or CC.

ParameterTypeDescription
baseOnly markets on this asset, e.g. BTC, ETH or CC; leave out for every market

exit_cost Exit cost: what selling a token for dollars nets

What selling a token for dollars (USDCx) nets on Canton, as a share of its value at our price: a ladder from $1K to $1M per venue and at the best one (with across_venues when selling the token for CC on one venue and that CC for dollars on another keeps more), the largest sale each venue (and all of them together) takes within 1%, 2% and 5%, what limited each (the cost, or the end of a venue's visible order book), and the worst share at $10K and $50K since the record began. For lending, vault and risk tools: what collateral sells for on Canton, not only what it is quoted at…

ParameterTypeDescription
symbol *stringToken symbol as Canton DEXes name it, e.g. CC (Canton Coin), CBTC, USDCx; list_tokens() gives every symbol
amount_usdOptional: one sale of this size in US dollars, priced now on every venue

check_trade Check a trade against every Canton venue at that time

Was a trade well executed? Give the token sold and bought, the amount sold, the amount received, the time (ISO such as 2026-10-27T18:05:00Z, or unix seconds) and optionally the venue. The trade is priced again on every venue from the pool reserves and order books read at the five-minute ticks either side of it (archive since 27 Oct 2026), by the same code as quote(), after network fees. Returns the venue that returned the most, how far the trade fell short of it in basis points (at the reading least favourable to that), and with venue given, how much of the gap was the…

ParameterTypeDescription
amount_in *numberHow much of the sold token went in, in its own units
amount_out *numberHow much of the bought token came back, in its own units
buy *stringSymbol of the token bought, e.g. USDCx
sell *stringSymbol of the token sold, e.g. CC
time *stringWhen the trade ran: ISO 8601 such as 2026-10-27T18:05:00Z, or unix seconds; the archive starts 27 Oct 2026 21:01 UTC
venueOptional: the venue it ran on, e.g. cantex, tradecraft, oneswap, temple, rocky, kora or poolparty