Agara
Calendars

List trading days in a range

Sessions for [from, to] inclusive. Range may not exceed 366 days.

GET
/api/v1/calendars/{mic}/days

Path Parameters

mic
Required
string

ISO 10383 MIC of the venue, case-insensitive (e.g. XNAS). List them with GET /api/v1/calendars.

Query Parameters

from
Required
string

First date of the range, inclusive, as ISO YYYY-MM-DD.

Format: "date"

to
Required
string

Last date of the range, inclusive, as ISO YYYY-MM-DD. Must be on or after from, and at most 366 days later.

Format: "date"
curl -X GET "https://app.agara.xyz/api/v1/calendars/string/days?from=2019-08-24&to=2019-08-24"

Success

{
  "mic": "string",
  "days": [
    {
      "mic": "string",
      "date": "string",
      "is_trading_day": true,
      "segments": [
        {
          "open": "string",
          "close": "string"
        }
      ],
      "reason": "string"
    }
  ]
}