Skip to content

Wallet API

What a wallet holds: the native coin and every token, with USD values and a total. chain=all for every chain.

GET/v1/crypto/wallet/:wallet

You send

  • wallet The wallet's address: a Solana address, or a 0x address on an EVM chain

+ 1 optional: chain

You get back

JSON with these fields, inside data:

wallet, native, tokens, total_usd, tokens_total, tokens_priced, …

Example and every field explained ↓

It costs

$0.002 / call

The first 100 priced calls a day are free on every key.

Freshness
up to 15 s old
Auth
Bearer key
Chains
30 chains
curl "https://api.crypto2api.com/v1/crypto/wallet/7KZHexZyoDdrGi5S2FNAB3XNKKXJ6dLpSXLnBw8f9ESx?chain=solana" \
  -H "Authorization: Bearer c2a_your_key"

Swap in your key for c2a_your_key. No key yet? curl -X POST https://api.crypto2api.com/v1/keys makes one, free, no sign-up, or just press Run below.

Used forTrack a wallet

Works on 30 chains. Pass chain=; it defaults to solana. Pick one in the playground and the cURL, JavaScript, Python and MCP snippets all follow it.

  • solana
  • ethereum
  • base
  • bsc
  • arbitrum
  • polygon
  • avalanche
  • optimism
  • hyperevm
  • monad
  • abstract
  • sonic
  • berachain
  • sei
  • linea
  • zksync
  • mantle
  • unichain
  • cronos
  • worldchain
  • scroll
  • celo
  • pulsechain
  • ink
  • soneium
  • metis
  • manta
  • katana
  • plasma
  • flowevm

Parameters

Required first. Each example is a value that works.

Response

Every answer is { data, cost_usd, balance_usd, cached, request_id }. Below is a real data from this endpoint, read when the page was built.

Example data

"wallet": "7KZHexZyoDdrGi5S2FNAB3XNKKXJ6dLpSXLnBw8f9ESx",
"chain": "solana",
"symbol": "SOL",
"amount": 1.720458921,
"price_usd": 70.36,
"value_usd": 121.05
},
"mint": "GnM6XZ7DN9KSPW2ZVMNqCggsxjnxHMGb2t4kiWrUpump",
"symbol": "WAGMI",
"name": "WAGMI",
"logo": "https://cdn.dexscreener.com/cms/images/vf14MqCPJ5KWz9sB?width=800&height=800&quality=95&format=auto",
"amount": 4891410.110424,
"price_usd": 0.0002025,
"value_usd": 990.51
},
"mint": "Cm6fNnMk7NfzStP9CZpsQA2v3jjzbcYGAxdJySmHpump",
"symbol": "Buttcoin",
"name": "Buttcoin",
"logo": "https://cdn.dexscreener.com/cms/images/baf3d4bdaac47ef59f32c8ddc11f83e995f351be1eef6d4d192d72ff8def0020?width=800&height=800&quality=95&format=auto",
"amount": 133633.320045,
"price_usd": 0.005417,
"value_usd": 723.89
}
],
"total_usd": 2444.74,
"tokens_total": 8,
"tokens_priced": 7,
"unpriced_tokens": 1,
"note": "1 token has no market with $1,000+ of liquidity and is not counted in total_usd."
}

Key fields

walletstring
The wallet address asked about.
nativeobject
Native: symbol, amount, price usd, value usd.
tokensarray
The list of tokens; each item has the fields shown.
total_usdnumber
Total, in US dollars.
tokens_totalnumber
Tokens total.
tokens_pricednumber
Tokens priced.
unpriced_tokensnumber
Unpriced tokens.
chainstring
Which chain this answer is for.
notestring
A plain sentence about how to read this answer.
The wrapper every answer comes in
data
The answer itself: the example above.
cost_usd
What this one call was charged — 0 while you are inside the free 100 a day.
balance_usd
What is left on the key after it.
cached
true means another caller asked first, so the answer may be up to 15 s old.
request_id
Quote this if you report something; it is on your Activity page too.

A fact the API could not read is left out or named, never estimated. When an upstream is down you get a 503 with a stable code you can branch on, not a half-filled answer.

Try it

A real call against the live API. The first 100 priced calls a day are free.

Response

"wallet": "7KZHexZyoDdrGi5S2FNAB3XNKKXJ6dLpSXLnBw8f9ESx",
"chain": "solana",
"symbol": "SOL",
"amount": 1.720458921,
"price_usd": 70.36,
"value_usd": 121.05
},
"mint": "GnM6XZ7DN9KSPW2ZVMNqCggsxjnxHMGb2t4kiWrUpump",
"symbol": "WAGMI",
"name": "WAGMI",
"logo": "https://cdn.dexscreener.com/cms/images/vf14MqCPJ5KWz9sB?width=800&height=800&quality=95&format=auto",
"amount": 4891410.110424,
"price_usd": 0.0002025,
"value_usd": 990.51
},
"mint": "Cm6fNnMk7NfzStP9CZpsQA2v3jjzbcYGAxdJySmHpump",
"symbol": "Buttcoin",
"name": "Buttcoin",
"logo": "https://cdn.dexscreener.com/cms/images/baf3d4bdaac47ef59f32c8ddc11f83e995f351be1eef6d4d192d72ff8def0020?width=800&height=800&quality=95&format=auto",
"amount": 133633.320045,
"price_usd": 0.005417,
"value_usd": 723.89
}
],
"total_usd": 2444.74,
"tokens_total": 8,
"tokens_priced": 7,
"unpriced_tokens": 1,
"note": "1 token has no market with $1,000+ of liquidity and is not counted in total_usd."
}

What this example answered when the page was built, shortened. Run it for a live answer.

Copy it

Runs as-is, with your key in place of c2a_your_key. It follows the boxes above, on Solana.

curl "https://api.crypto2api.com/v1/crypto/wallet/7KZHexZyoDdrGi5S2FNAB3XNKKXJ6dLpSXLnBw8f9ESx?chain=solana" \
  -H "Authorization: Bearer c2a_your_key"

Related

Guides that use it

Apps that show this data

Build what these apps show, from code:

More in Wallets

All endpoints →