Skip to content

Observations for one or more series

Request

Rows ordered by series, then time. Future-dated rows are kept: some series publish forecasts.

transformation/window and normalisation/normalisation_period run in the shared transformation service over full history, for one series at a time; the result is under transformation. window counts observations, so on a monthly series 12 is a year.

invert negates every value; sum collapses the series into one, summing values date-wise over the union of their dates (the combined rows carry no series_id; the sources are in series_ids); cumulative_compounded is a per-series running total of value×100 (null/NaN as 0). These are computed locally and cannot be combined with transformation/normalisation.

Security
HTTPBearer or ApiKeyAuth
Query
series_idsstring(Series Ids)required

Comma-separated series_ids from the catalogue. Ids that match no series are listed in unresolved.

versionstring or null(Version)
Any of:

Model version, e.g. "V1" (also 1 or v1). Omit for the latest per series.

string
revisionstring(RevisionEnum)

restated (default): the corrected history. point_in_time: values as first published. A series with no rows in that revision returns none.

Default:"restated"
Enum:"restated""point_in_time"
frequencystring or null(Frequency)
Any of:

Comma-separated cadences (daily, weekly, monthly, ...); omit for all. Selects series, not rows: a series of another cadence is left out.

string
start_datestring or null(Start Date)
Any of:

Inclusive, ISO date or datetime

string
end_datestring or null(End Date)
Any of:

Inclusive, ISO date or datetime

string
orderstring(Order)

Time order within each series

Default:"asc"
Enum:"asc""desc"
records_per_pageinteger, [ 1 .. 10000 ](Records Per Page)

Rows per page

Default:2000
page_numberinteger, >= 1(Page Number)

1-indexed

Default:1
transformationTransformationEnum (string) or null(Transformation)
Any of:

Windowed transformations. Allowed on every metric, whatever its measure_class.

string(TransformationEnum)
Enum:"rolling_sum""moving_avg"
windowWindowEnum (string) or null(Window)
Any of:

Window length in OBSERVATIONS — the upstream applies it with rowsBetween.

The names are daily-centric, shared with services that only publish daily data. On a monthly series M1 (20) means twenty months. Pick the value, not the label. The OBS_ values are for weekly (4/13/26/52), bi-weekly (2/6/13/26), monthly (3/6/12) and quarterly (2/4/8/12) series. 8, 10 and 21 are for charts carried over from Exante.

string(WindowEnum)
Enum:"5""20""30""60""90""120""252""2""3""4"
normalisationNormalisationEnum (string) or null(Normalisation)
Any of:

Normalisations, applied after any transformation.

string(NormalisationEnum)
Enum:"zscore""percentile_rank"
normalisation_periodNormalisationPeriodEnum (string) or null(Normalisation Period)
Any of:

Lookback for a normalisation. A calendar range, so it means the same at any cadence: 1y over a monthly series uses twelve observations.

All is unbounded in both directions and so not causal — early values are normalised using data from their future.

string(NormalisationPeriodEnum)
Enum:"3m""6m""1y""2y""5y""Expanding""All"
invertboolean(Invert)

Negate every value (×-1). Computed locally, not via the transformation service

Default:false
sumboolean(Sum)

Combine the series into one, summing values date-wise over the union of their dates. Computed locally; the combined rows carry no series_id (the sources are in the response's series_ids)

Default:false
cumulative_compoundedboolean(Cumulative Compounded)

Cumulative running total of value×100 per series, treating null/NaN as 0. Computed locally; with sum it runs over the combined series

Default:false
curl -i -X GET \
  'https://docs.vanda-analytics.com/_mock/apis/macro/vanda-msvc-macro/macro/timeseries?series_ids=string&version=string&revision=restated&frequency=string&start_date=string&end_date=string&order=asc&records_per_page=2000&page_number=1&transformation=rolling_sum&window=5&normalisation=zscore&normalisation_period=3m&invert=false&sum=false&cumulative_compounded=false' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful Response

Bodyapplication/json
dataArray of objects(Data)
series_idsArray of strings(Series Ids)

Resolved series ids

unresolvedArray of strings(Unresolved)

Identifiers that matched no series

countinteger(Count)

Rows in this page

Default:0
paginationPaginationMeta (object) or null
Any of:
revisionstring(RevisionEnum)

The revision read

Default:"restated"
Enum:"restated""point_in_time"
transformationobject or null(Transformation)
Any of:

The transformation service's result, when one was requested

Response
{ "data": [ { "ts": "2019-08-24T14:15:22Z", "series_id": "string", "frequency": "string", "unit": "string", "version": "string", "value": 0 } ], "series_ids": [ "string" ], "unresolved": [ "string" ], "count": 0, "pagination": { "page_number": 0, "records_per_page": 0, "total_record_count": 0, "total_pages": 0, "has_next": true, "has_previous": true }, "revision": "restated", "transformation": {} }