Get detailed metadata and realtime price information for any native asset or ERC20 token including symbol, name, decimals, supply information, USD pricing, and logo URLs.
?chain_ids
query parameter is mandatory.
To learn more about this query parameter, see the Supported Chains page.pool_size
as part of the response.
historical_prices
query parameter. Use whole numbers only, from 1 to 24. You can request up to three offsets. For example, historical_prices=24
returns the price 24 hours ago. historical_prices=1,6,24
returns prices 1 hour ago, 6 hours ago, and 24 hours ago.
historical_prices
query parameter is currently supported only on the EVM Token Info and EVM Balances endpoints.historical_prices
array with one entry per offset:
price_usd
and the values in historical_prices[].price_usd
.
limit
parameter to define the maximum page size.
Results might at times be less than the maximum page size.
The next_offset
value is included in the initial response and can be utilized to fetch the next page of results by passing it as the offset
query parameter in the next request.
next_offset
to set the offset
parameter of the next page of results. Using your own offset
value will not have any effect.Used for authenticating requests. Provide an API key with a purpose of Sim API
. See Authentication.
The contract address of the token or 'native' for the native token of the chain
Either 'all' or a comma separated list of chain ids to get token info for
Request point-in-time prices within the last 24 hours. Accepts integer | integer[]. Provide whole numbers from 1 to 24, with a maximum of 3 time offsets (e.g. 24 or 1,6,24). When present, each token includes a historical_prices array with one entry per offset.
1 <= x <= 24
This endpoint returns up to the number of supported chains. See Supported Chains to learn more.
x >= 0
The offset to paginate through result sets; this is a cursor being passed from the previous response, only use what the backend returns here
Successful Response
The response is of type object
.