Skip to main content
GET
/
markets
/
{code}
/
sessions
Project upcoming session days
curl --request GET \
  --url https://api.bluumfinance.com/v1/markets/{code}/sessions \
  --header 'Authorization: Basic <encoded-value>'
{
  "object": "investor",
  "livemode": false,
  "market_code": "<string>",
  "sessions": [
    {
      "date": "2023-12-25",
      "is_open": true,
      "is_holiday": true,
      "is_early_close": true,
      "holiday_name": "<string>",
      "regular_open": "<string>",
      "regular_close": "<string>",
      "pre_open": "<string>",
      "post_close": "<string>"
    }
  ],
  "id": "inv_01j9x8m2k7qpzwv3t5r6y8n0ab",
  "created": 1747776000,
  "metadata": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

code
string
required

Query Parameters

from
string<date-time>

ISO 8601 start date. Defaults to today (market timezone).

to
string<date-time>

ISO 8601 end date. Defaults to from + limit days.

limit
integer
default:30
Required range: x <= 90

Response

Session projections

Envelope-wrapped session projections (object: market_data).

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

market_code
string
required
sessions
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.