Trading volume
/trading-volume
Returns trading-volume observations for one resolved asset. The response declares whether values are shares (equity) or USD (crypto). Asset selectors support equities, commodities, indices, and crypto assets returned by GET /assets; commodity and index IDs use asset_class=equity.
Parameters
Canonical identifier returned by /assets. Stock, commodity, and index IDs are normally ticker or market symbols and use asset_class=equity; crypto IDs are canonical crypto slugs. asset_class is mandatory whenever asset_id is present.
Example:NVDA
Namespace of asset_id, or the market class for endpoints with a class-scoped global view. Stocks, commodities, and indices use equity. Equity is the documented default only where the endpoint description states a default.
equitycrypto
Example:equity
Lookback window in hours.
Default:720
Requested time-series bucket size. When omitted, the service chooses a bucket size appropriate for the lookback window.
1h2h4h12h1d
Example:1h
cURL Example
curl --get \
--url 'https://nebula-api.hiddensystems.ai/api/v1/public/trading-volume' \
--data-urlencode 'asset_id=NVDA' \
--data-urlencode 'asset_class=equity' \
--header 'X-API-Key: YOUR_API_KEY'
Responses
Media type application/json
series
array<object>
Chronologically ordered observations.
series
Chronologically ordered observations.
series[].timestamp
UTC RFC 3339 timestamp for the observation or bucket start.
series[].trading_volume
Trading volume for the observation in the unit declared by the response.
unit
Unit used by every value in the series.
sharesusd
{
"series": [
{
"timestamp": "2026-08-07T15:00:00Z",
"trading_volume": 18420531
}
],
"unit": "shares"
}