Skip to main content
GET
Get Series

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

period
string
default:mtd

Reporting window. One of the preset windows below, or custom (requires date_from and date_to):

  • today — current day only
  • week — Monday of the current week to today
  • mtd — Month To Date: 1st of this month to today
  • qtd — Quarter To Date: 1st of this quarter to today (e.g. Apr 1 in Q2)
  • ytd — Year To Date: Jan 1 to today
  • rolling_30 — last 30 calendar days, regardless of month boundaries
  • rolling_60 — last 60 calendar days
  • rolling_90 — last 90 calendar days (standard treasury lookback)
  • custom — supply date_from=YYYY-MM-DD&date_to=YYYY-MM-DD
granularity
string
default:daily

Time bucket size for the x-axis:

  • daily — one point per day (best for: today, week, mtd, rolling_30)
  • weekly — one point per Mon–Sun week (best for: rolling_60, rolling_90, qtd)
  • monthly — one point per month (best for: ytd, custom long ranges)
date_from
string<date> | null

Start date for period='custom' (YYYY-MM-DD).

date_to
string<date> | null

End date for period='custom' (YYYY-MM-DD).

Response

Successful Response