Get current normalized quotes for assets
Get normalized real-time and near-real-time price quotes for up to 20 canonical asset IDs in a single request.
📌 Supported Canonical Asset ID Formats
- Cryptocurrency:
crypto:BTC-USD,crypto:ETH-USD,crypto:SOL-USD - Precious Metals:
metal:XAU(Gold),metal:XAG(Silver) - Equities / Stocks:
stock:AAPL,stock:NVDA,stock:TSLA - Forex Pairs:
forex:EUR-USD,forex:USD-JPY,forex:USD-VND - Market Indexes:
index:SPX,index:NDX - Macro Indicators:
macro:FEDFUNDS,macro:DGS10
⚙️ Unit & Currency Conversions
currency: Convert price into ISO-4217 standard quote currency (e.g.,USD,VND,EUR).unit: Convert pricing unit (e.g.,troy_ounce,g,kgfor precious metals). Supported units:coin,troy_ounce,g,kg,barrel,share,point,currency.
📊 Data Statuses (data_status)
live: Real-time data from primary market provider.delayed: Market provider data delayed (e.g., stock market 15-min delay).market_closed: Market is currently closed (e.g. traditional weekend equity markets).stale: Last known quote exceeds freshness thresholds.partial: Fallback pricing applied or optional fields omitted.unavailable: Data temporarily unavailable from providers.
💳 Billing & Rate Limits
- Cost: 0.20 credit points per request.
- Rate Limit: 60 requests per second.
Parameters
query
| Name | Type | Description |
|---|---|---|
assets* |
string |
Comma-separated canonical asset IDs (e.g. crypto:BTC-USD,metal:XAU); max 20 (e.g.crypto:BTC-USD,metal:XAU) |
currency |
string |
ISO-4217 quote currency conversion (e.g. USD, EUR, VND) (e.g.USD) |
unit |
string |
Compatible unit conversion (e.g. troy_ounce, g, coin) (e.g.coin) |
include_change |
boolean |
Include 24h price change and previous close (e.g.true) |
Responses
Successful response returning normalized asset quotes
Response schema
| Property | Type | Description |
|---|---|---|
data* |
array[object] |
List of market quotes matching request order |
Response example (Crypto & Precious Metal Quotes)
{
"data": [
{
"asset_id": "crypto:BTC-USD",
"name": "Bitcoin",
"symbol": "BTC-USD",
"price": 67420.5,
"currency": "USD",
"unit": "coin",
"exchange": "Binance",
"previous_close": 65800,
"change_24h": 1620.5,
"change_24h_percent": 2.46,
"market_state": "24_7",
"source": "binance",
"source_timestamp": 1774684800,
"retrieved_at": 1774684802,
"freshness_seconds": 2,
"data_status": "live",
"warnings": []
},
{
"asset_id": "metal:XAU",
"name": "Gold Spot",
"symbol": "XAU",
"price": 2350.75,
"currency": "USD",
"unit": "troy_ounce",
"exchange": "COMMODITY",
"previous_close": 2340,
"change_24h": 10.75,
"change_24h_percent": 0.46,
"market_state": "open",
"source": "yahoo_finance",
"source_timestamp": 1774684800,
"retrieved_at": 1774684802,
"freshness_seconds": 2,
"data_status": "live",
"warnings": []
}
]
}
Response example (Currency Converted Quote (VND))
{
"data": [
{
"asset_id": "crypto:BTC-USD",
"name": "Bitcoin",
"symbol": "BTC-USD",
"price": 1715851725,
"currency": "VND",
"unit": "coin",
"exchange": "Binance",
"previous_close": 1674610000,
"change_24h": 41241725,
"change_24h_percent": 2.46,
"market_state": "24_7",
"source": "binance",
"source_timestamp": 1774684800,
"retrieved_at": 1774684802,
"freshness_seconds": 2,
"data_status": "live",
"warnings": []
}
]
}
Bad Request - Invalid query parameters or unsupported unit
Response example
{
"detail": {
"error": {
"code": 400,
"message": "unit must be one of ['barrel', 'coin', 'currency', 'g', 'kg', 'point', 'share', 'troy_ounce']"
}
}
}
Unauthorized - Missing or invalid X-Api-Key header
Response example
{
"statusCode": 401,
"error": "Unauthorized",
"message": "api_key: Invalid credentials"
}
Unprocessable Entity - Request validation failed (e.g. >20 assets or invalid currency code)
Response example
{
"detail": {
"error": {
"code": 422,
"message": "Maximum 20 assets allowed per request"
}
}
}
Bad Gateway - Data provider connectivity or retrieval error
Response example
{
"detail": {
"error": {
"code": 502,
"message": "Upstream market data provider error"
}
}
}