get-pool-spot-prices

GET /v1/pricing/spot_prices/{chainName}/pools/{contractAddress}/

Get the spot token pair prices for a specified pool contract address. Supports pools on Uniswap V2, V3 and their forks.

Request

Path parameters

chainNamestring required

The chain name eg: eth-mainnet.

contractAddressstring required

The pool contract address.

Query parameters

quote-currencystring

The currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, and GBP.

Response

Successful response

updated_atstring date-time

The timestamp when the response was generated.

pool_addressstring

The deployed pool contract address.

token_0_addressstring

The deployed contract address of token_0 in the token pair making up the pool.

token_0_namestring

The deployed contract name of token_0 in the token pair making up the pool.

token_0_tickerstring

The deployed contract symbol of token_0 in the token pair making up the pool.

token_0_pricestring

Price of token_0 in units of token_1.

token_0_price_24hstring

Price of token_0 in units of token_1 as of 24 hours ago.

token_0_price_quotestring

Price of token_0 in the selected quote currency (defaults to USD).

token_0_price_24h_quotestring

Price of token_0 in the selected quote currency (defaults to USD) as of 24 hours ago.

token_1_addressstring

The deployed contract address of token_1 in the token pair making up the pool.

token_1_namestring

The deployed contract name of token_1 in the token pair making up the pool.

token_1_tickerstring

The deployed contract symbol of token_1 in the token pair making up the pool.

token_1_pricestring

Price of token_1 in units of token_0.

token_1_price_24hstring

Price of token_1 in units of token_0 as of 24 hours ago.

token_1_price_quotestring

Price of token_1 in the selected quote currency (defaults to USD).

token_1_price_24h_quotestring

Price of token_1 in the selected quote currency (defaults to USD) as of 24 hours ago.

quote_currencystring

The currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, GBP, BTC and ETH.

Changes

No recorded changes to this operation across all 3 revisions of this API.