Agara
Calendars

Get a trading day

Whether the venue is open on a date. is_trading_day=false is a definitive closed answer; a 404 means no data for that date (treat as "do not act", not "closed").

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

Path Parameters

mic
Required
string

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

date
Required
string

Calendar date as ISO YYYY-MM-DD, in the venue's own timezone.

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

Success

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