Real-time cryptocurrency prices from multiple sources. Query by symbol, EVM address, or Solana mint.
const response = await fetch('https://prices.grep3.com/ETH'); const { data } = await response.json(); console.log(`ETH Price: $${data.priceUSD}`); // ETH Price: $3245.67
Returns the current USD price for any token. Accepts symbols (ETH, BTC), EVM contract addresses, or Solana token mints.
| Parameter | Type | Description |
|---|---|---|
| token | string | Token symbol, EVM address (0x...), or Solana mint address |
Standard symbols like ETH, BTC, SOL
Any ERC-20 contract starting with 0x
Base58 encoded SPL token mint address
{
"success": true,
"data": {
"token": "ETH",
"priceUSD": 3245.67,
"source": "coingecko",
"metadata": {
"name": "Ethereum",
"symbol": "ETH",
"lastUpdated": 1704672000
},
"cached": false
}
}
{
"success": true,
"data": {
"token": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
"priceUSD": 7.82,
"source": "dex",
"metadata": {
"name": "Uniswap",
"symbol": "UNI",
"chain": "ethereum",
"chainId": 1,
"poolAddress": "0x1d42064fc4beb5f8aaf85f4617ae8b3b5b8bd801",
"quoteAsset": "WETH via Uniswap V3",
"lastUpdated": 1704672000
},
"cached": false
}
}
{
"success": true,
"data": {
"token": "So11111111111111111111111111111111111111112",
"priceUSD": 185.42,
"source": "jupiter",
"metadata": {
"symbol": "SOL",
"chain": "solana",
"lastUpdated": 1704672000
},
"cached": false
}
}
Prices are aggregated from the highest liquidity pool across these exchanges: