Nothing Special   »   [go: up one dir, main page]

Home
Chain iconToken API

Complete token data

The token data your users expect, no token list required. Available on all EVM-supported chains.

token-hero
  • gmx-logo
  • collabland-logo
  • aave-logo
  • rainbow full logo
  • worldcoin-logo-full
  • gmx-logo
  • collabland-logo
  • aave-logo
  • rainbow full logo
  • worldcoin-logo-full

Enhance your app

Infrastructure that makes it simple to get started and easy to scale infinitely, all with the APIs that address the biggest challenges in web3.

token-balances
token-allowances
token-metadata
background gradient

Programmatic and complete token tracking

Get your API key
    savings-icon
    Save resources

    Alternative token data methods are time and cost intensive, requiring hundreds of calls per user. Alchemy’s Token API gives you this data in a single call, minimizing resource investment.

    Automated
    Automated

    Instead of relying on incomplete heuristics like token-lists, the Token API automatically retrieves all token balances and metadata for any address.

    Paginated retrieval
    Paginated retrieval

    With paginated endpoints, load and manage complete token data for any address, even your app’s biggest whales.

Boost the Token API

NFT API Logo
NFT API
Card background image

Build any NFT application

The multichain API to launch, verify, analyze, trade and display NFTs.

Code preview

Copied
curl --request GET \ --url 'https://eth-mainnet.g.alchemy.com/nft/v3/docs-demo/getNFTsForOwner?owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&withMetadata=true&pageSize=100' \ --header 'accept: application/json'
Transfers API
Transfers API
Card background image

Portfolio management, simplified

100x faster than others. One request to get all historical transaction activity, including internal transfers.

Code preview

Copied
curl --request POST \ --url https://eth-mainnet.g.alchemy.com/v2/docs-demo \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data ' { "id": 1, "jsonrpc": "2.0", "method": "alchemy_getAssetTransfers", "params": [ { "fromBlock": "0x0", "toBlock": "latest", "toAddress": "0x5c43B1eD97e52d009611D89b74fA829FE4ac56b1", "withMetadata": false, "excludeZeroValue": true, "maxCount": "0x3e8" } ] } '
Transaction Simulation
Transaction Simulation
Card background image

Transaction previews for any use case

Transact with confidence. Preview how transactions will behave onchain, and keep your assets safe.

Code preview

Copied
curl --request POST \ --url https://eth-mainnet.g.alchemy.com/v2/docs-demo \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data ' { "id": 1, "jsonrpc": "2.0", "method": "alchemy_simulateExecution", "params": [ { "from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "value": "0x0", "data": "0xa9059cbb000000000000000000000000fc43f5f9dd45258b3aff31bdbe6561d97e8b71de00000000000000000000000000000000000000000000000000000000000f4240" } ] } '
Section background image

Build blockchain magic

Alchemy combines the most powerful web3 developer products and tools with resources, community and legendary support.

Get your API key