Skip to main content
POST
/
token
/
{network}
/
prices
Get token price
curl --request POST \
  --url https://solana-gateway.moralis.io/token/{network}/prices \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "addresses": [
    "<string>"
  ]
}
'
[
  {
    "tokenAddress": "<string>",
    "pairAddress": "<string>",
    "nativePrice": {
      "value": "<string>",
      "decimals": 123,
      "name": "<string>",
      "symbol": "<string>"
    },
    "usdPrice": 123,
    "exchangeAddress": "<string>",
    "exchangeName": "<string>",
    "logo": "<string>",
    "name": "<string>",
    "symbol": "<string>",
    "score": 123,
    "usdPrice24h": 123,
    "usdPrice24hrUsdChange": 123,
    "usdPrice24hrPercentChange": 123,
    "isVerifiedContract": true
  }
]
Endpoint cost: CUs. Learn more about compute units.

Authorizations

X-Api-Key
string
header
required

Path Parameters

network
enum<string>
required

The network to query

Available options:
mainnet,
devnet

Body

application/json
addresses
string[]
required
Required array length: 1 - 100 elements

Response