Skip to main content
GET
/
assets
/
{symbol}
/
bars
Get historical OHLCV bars
curl --request GET \
  --url https://api.bluumfinance.com/v1/assets/{symbol}/bars \
  --header 'Authorization: Basic <encoded-value>'
{
  "object": "investor",
  "livemode": false,
  "symbol": "AAPL",
  "market": "XNAS",
  "currency": "USD",
  "timeframe": "1Day",
  "bars": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "open": 123,
      "high": 123,
      "low": 123,
      "close": 123,
      "volume": 123,
      "vwap": 123,
      "trade_count": 123
    }
  ],
  "id": "inv_01j9x8m2k7qpzwv3t5r6y8n0ab",
  "created": 1747776000,
  "metadata": {},
  "data_quality": {
    "provider": "NAYA",
    "limitations": [
      "Only daily closing prices available; open, high, low values reflect the closing price"
    ]
  }
}

Authorizations

Authorization
string
header
required

HTTP Basic Authentication using the API Key as username and API Secret as password.

Path Parameters

symbol
string
required

Query Parameters

timeframe
enum<string>
required
Available options:
1Min,
5Min,
15Min,
30Min,
1Hour,
1Day,
1Week,
1Month
market
string
start
string<date-time>
end
string<date-time>
limit
integer
default:100
Required range: 1 <= x <= 10000
adjustment
enum<string>
default:raw
Available options:
raw,
split,
dividend,
all

Response

Historical bars

Envelope-wrapped bars (object: bars).

object
string
required

The resource type discriminator.

Example:

"investor"

livemode
boolean
required

Whether this resource was created against a live API key. Test-mode keys always return false.

Example:

false

symbol
string
required
Example:

"AAPL"

market
string
required
Example:

"XNAS"

currency
string
required

Price currency (ISO 4217)

Example:

"USD"

timeframe
string
required
Example:

"1Day"

bars
object[]
required
id
string

Prefixed public id (e.g. inv_…, ord_…, dep_…).

Example:

"inv_01j9x8m2k7qpzwv3t5r6y8n0ab"

created
integer | null

Unix-seconds timestamp of resource creation.

Example:

1747776000

metadata
object

Partner-set key/value map for cross-referencing.

data_quality
object

Present when the data provider has known limitations