
Historical token prices
GET/v1/pricing/historical_by_addresses_v2/{chainName}/{quoteCurrency}/{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 historical prices of one (or many) large cap ERC20 tokens between specified date ranges. Also supports native tokens.
Path parameters
chainNamerequiredstringGoes in the path: replace {chainName} in the request.quoteCurrencyrequiredstringGoes in the path: replace {quoteCurrency} in the request.contractAddressrequiredstringGoes in the path: replace {contractAddress} in the request.Query parameters
fromstringThe start day of the historical price range (YYYY-MM-DD).tostringThe end day of the historical price range (YYYY-MM-DD).prices-at-ascbooleanSort the prices in chronological ascending order. By default, it's set to false and returns prices in chronological descending order.Response types
contract_decimalsUse contract decimals to format the token balance for display purposes - divide the balance by 10^{contract_decimals}.integercontract_nameThe string returned by the name() method.stringcontract_ticker_symbolThe ticker symbol for this contract. This field is set by a developer and non-unique across a network.stringcontract_addressUse the relevant contract_address to lookup prices, logos, token transfers, etc.stringsupports_erc[]stringupdate_atstringquote_currencyThe requested quote currency eg: USD.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