Skip to main content
GET
/
assets
/
{asset_id}
/
trades
/
latest
Get the latest trade for an asset
curl --request GET \
  --url https://api.bluum.finance/v1/assets/{asset_id}/trades/latest \
  --header 'Authorization: Basic <encoded-value>'
{
  "t": "2024-01-15T09:30:15.123Z",
  "x": "IEXG",
  "p": "175.75",
  "s": "100",
  "c": [
    "@",
    "I"
  ],
  "i": 123456789,
  "z": "C"
}

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 trade data

t
string<date-time>

Timestamp of the trade

Example:

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

x
string

Exchange where the trade occurred

Example:

"IEXG"

p
string

Price of the trade

Example:

"175.75"

s
string

Size (quantity) of the trade

Example:

"100"

c
string[]

Trade conditions

Example:
["@", "I"]
i
integer

Trade ID

Example:

123456789

z
string

Tape (1, 2, or 3)

Example:

"C"