GET
/
v1
/
pricing
/
historical_by_addresses_v2
/
{chainName}
/
{quoteCurrency}
/
{contractAddress}
/
Credit Cost: 1 per call.
Processing: Batch

Path Parameters

chainName
string
required

The chain name eg: eth-mainnet.

quoteCurrency
string
required

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

contractAddress
string
required

Contract address for the token. Passing in an ENS, RNS, Lens Handle, or an Unstoppable Domain resolves automatically. Supports multiple contract addresses separated by commas.

Query Parameters

from
string

The start day of the historical price range (YYYY-MM-DD).

to
string

The end day of the historical price range (YYYY-MM-DD).

prices-at-asc
boolean

Sort the prices in chronological ascending order. By default, it's set to false and returns prices in chronological descending order.

Response

200 - application/json
contract_decimals
integer

Use contract decimals to format the token balance for display purposes - divide the balance by 10^{contract_decimals}.

contract_name
string

The string returned by the name() method.

contract_ticker_symbol
string

The ticker symbol for this contract. This field is set by a developer and non-unique across a network.

contract_address
string

Use the relevant contract_address to lookup prices, logos, token transfers, etc.

supports_erc
string[]

A list of supported standard ERC interfaces, eg: ERC20 and ERC721.

logo_url
string

The contract logo URL.

update_at
string
quote_currency
string

The requested quote currency eg: USD.

logo_urls
object

The contract logo URLs.

prices
object[]

List of response items.

items
object[]

List of response items.