Skip to main content
GET
/
assets
/
{asset_id}
/
bars
/
latest
Get the latest completed bar for an asset
curl --request GET \
  --url https://api.bluum.finance/v1/assets/{asset_id}/bars/latest \
  --header 'Authorization: Basic <encoded-value>'
{
  "t": "2024-01-15T09:30:00Z",
  "o": "175.50",
  "h": "176.20",
  "l": "175.10",
  "c": "175.85",
  "v": "1250000",
  "n": 4500,
  "vw": "175.65"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

asset_id
string<uuid>
required
Example:

"6c5b2403-24a9-4b55-a3dd-5cb1e4b50da6"

Response

Latest bar data

t
string<date-time>

Timestamp of the bar

Example:

"2024-01-15T09:30:00Z"

o
string

Open price

Example:

"175.50"

h
string

High price

Example:

"176.20"

l
string

Low price

Example:

"175.10"

c
string

Close price

Example:

"175.85"

v
string

Volume

Example:

"1250000"

n
integer

Number of trades

Example:

4500

vw
string

Volume-weighted average price

Example:

"175.65"