Skip to main content
POST
/
v1
/
assets
/
prices
/
tokens
Get prices for multiple tokens
curl --request POST \
  --url https://api.xentfi.com/v1/assets/prices/tokens \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --header 'orgId: <api-key>' \
  --data '
{
  "symbols": [
    "ETH",
    "USDC",
    "USDT"
  ]
}
'
{
  "data": [
    {
      "symbol": "ETH",
      "price": "3500.50",
      "lastUpdatedAt": "2024-01-15T10:30:00Z"
    }
  ],
  "total": 25,
  "hasMore": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.xentfi.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apiKey
string
header
required
orgId
string
header
required

Body

application/json
symbols
string[]
required

Array of token symbols

Required array length: 1 - 100 elements
Example:
["ETH", "USDC", "USDT"]

Response

Token prices retrieved successfully

data
object[]
total
integer

Total number of tokens matching the filter

Example:

25

hasMore
boolean

Whether there are more results available

Example:

true