Token API Overview

Learn about Alchemy's Token APIs.

New CU Costs

Build and scale apps with lower CU costs on key APIs

How CU costs work

Intro

With the Token API, you can retrieve token balances, metadata, and more. Easily request information on specific tokens such as metadata or balances.

Alchemy currently supports the following Token API Endpoints:

  • alchemy_getTokenAllowance: Returns the amount which the sender is allowed to withdraw from the owner.
  • alchemy_getTokenBalances : Returns ERC20 token balances for all tokens the given address has ever transacted in with. Optionally accepts a list of contracts.
  • alchemy_getTokenMetadata: Returns metadata (name, symbol, decimals, logo) for a given token contract address.

Interested in token prices? Check out the Prices API.

Unless otherwise specified, Alchemy methods will return decoded values in their responses (e.g., for token decimals, 18 will be returned instead of “0x12”) to save you the extra step of decoding the value yourself ✅