
DEX pool spot price
GET/v1/pricing/spot_prices/{chainName}/pools/{contractAddress}/
Published by GoldRush Blockchain Data APIPublisher docs
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "goldrush-blockchain-data-api",
"path": "",
"method": "GET"
}'
{
"success": true,
"data": {
"data": [ 1 item ],
"error": false,
"error_code": null,
"error_message": null
}
}
A real response, recorded when Orthogonal checked this endpoint.
$0.00109per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Get the spot token pair prices for a specified pool contract address. Supports pools on Uniswap V2, V3 and their forks.
Path parameters
chainNamerequiredstringGoes in the path: replace {chainName} in the request.contractAddressrequiredstringGoes in the path: replace {contractAddress} in the request.Query parameters
quote-currencystringThe currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, and GBP.Response types
updated_atThe timestamp when the response was generated.stringpool_addressThe deployed pool contract address.stringtoken_0_addressThe deployed contract address of token_0 in the token pair making up the pool.stringtoken_0_nameThe deployed contract name of token_0 in the token pair making up the pool.stringtoken_0_tickerThe deployed contract symbol of token_0 in the token pair making up the pool.stringtoken_0_pricePrice of token_0 in units of token_1.stringtoken_0_price_24hPrice of token_0 in units of token_1 as of 24 hours ago.stringtoken_0_price_quotePrice of token_0 in the selected quote currency (defaults to USD).stringtoken_0_price_24h_quotePrice of token_0 in the selected quote currency (defaults to USD) as of 24 hours ago.stringtoken_1_addressThe deployed contract address of token_1 in the token pair making up the pool.stringtoken_1_nameThe deployed contract name of token_1 in the token pair making up the pool.stringtoken_1_tickerThe deployed contract symbol of token_1 in the token pair making up the pool.stringtoken_1_pricePrice of token_1 in units of token_0.stringtoken_1_price_24hPrice of token_1 in units of token_0 as of 24 hours ago.stringtoken_1_price_quotePrice of token_1 in the selected quote currency (defaults to USD).stringtoken_1_price_24h_quotePrice of token_1 in the selected quote currency (defaults to USD) as of 24 hours ago.stringquote_currencyThe currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, GBP, BTC and ETH.stringMore from GoldRush Blockchain Data API
- Chain sync statusGET/v1/chains/status/$0.00109 per callFixed
- ENS name resolutionGET/v1/{chainName}/address/{walletAddress}/resolve_address/$0.00109 per callFixed
- Paginated wallet transactionsGET/v1/{chainName}/address/{walletAddress}/transactions_v3/page/{page}/$0.000109 per item returnedResponse-based · up to $0.01635
- Time bucket transactionsGET/v1/{chainName}/bulk/transactions/{walletAddress}/{timeBucket}/$0.000109 per item returnedResponse-based · up to $0.01635
- Recent wallet transactionsGET/v1/{chainName}/address/{walletAddress}/transactions_v3/$0.000109 per item returnedResponse-based · up to $0.01635
- Bitcoin transactionsGET/v1/cq/covalent/app/bitcoin/transactions/$0.000109 per item returnedResponse-based · up to $0.109
- Historical Bitcoin balanceGET/v1/btc-mainnet/address/{walletAddress}/historical_balances/$0.00109 per callFixed
- Earliest wallet transactionsGET/v1/{chainName}/bulk/transactions/{walletAddress}/$0.000109 per item returnedResponse-based · up to $0.01635
- Block heights by dateGET/v1/{chainName}/block_v2/{startDate}/{endDate}/$0.00109 per callFixed
- Wallet transaction summaryGET/v1/{chainName}/address/{walletAddress}/transactions_summary/$0.00109 per callFixed
- Gas pricesGET/v1/{chainName}/event/{eventType}/gas_prices/$0.00109 per callFixed
- Contract event logsGET/v1/{chainName}/events/address/{contractAddress}/$0.0109 per 1K items returnedResponse-based · up to $0.0545