v1

latestOpenAPI 3.0.32026-07-237108.5 KB
Prices

Get price ratio

Returns the current price ratio of token B in terms of token A. Note that token A and token B do not always correlate to the first and second tokens in the pool name.

get/ratio/{tokenA}/{tokenB}

Path parameters

tokenA'CC' | 'USDCx' | 'CBTC' | 'cETH' | 'HANDL' | 'EDELx' | 'SBC' required

The name/symbol of the first token (URL encoded).

tokenB'CC' | 'USDCx' | 'CBTC' | 'cETH' | 'HANDL' | 'EDELx' | 'SBC' required

The name/symbol of the second token (URL encoded).

Response

Price ratio

price_of_b_in_anumber double required

The price of token B expressed in token A (tokenB_holdings / tokenA_holdings).