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.
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.
Instead of relying on incomplete heuristics like token-lists, the Token API automatically retrieves all token balances and metadata for any address.
With paginated endpoints, load and manage complete token data for any address, even your app’s biggest whales.
Boost the Token API
Build any NFT application
The multichain API to launch, verify, analyze, trade and display NFTs.
Code preview
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'
Portfolio management, simplified
100x faster than others. One request to get all historical transaction activity, including internal transfers.
Code preview
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 previews for any use case
Transact with confidence. Preview how transactions will behave onchain, and keep your assets safe.
Code preview
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"
}
]
}
'