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

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"

Query Parameters

start
string<date-time>

Start time for the data range (ISO 8601)

end
string<date-time>

End time for the data range (ISO 8601)

limit
integer
default:100

Maximum number of trades to return

Required range: 1 <= x <= 10000
page_token
string

Token for pagination

Response

Historical trades data

trades
object[]
symbol
string
Example:

"AAPL"

next_page_token
string | null

Token for pagination