Today we're excited to announce a number of improvements to our ERC20 price endpoints ๐
Fetch multiple ERC20 pricesโ
We've added a new endpoint, /erc20/prices
, that allows you to fetch the prices of up to 25 ERC20s in one API call. No more fetching prices one by one ๐
24hr changeโ
We've added 24hrPercentChange
to all of our price endpoints, so you can now easily fetch a token's 24 hour performance. We've introduced a new query parameter, include=percent_change
, which when included will add 24hrPercentChange
to the response body. Note: using this query parameter incurs an additional cost of +5 CUs per request.
Pretty pricesโ
No more displaying ugly prices ๐ซฃ We've added usdPriceFormatted
to our price endpoints meaning you'll always be returned with prices in a nice clean decimal format (for example, 3.0526340931742754e-8
will appear as 0.00000003052
).