get_analytics_summary
Investor summary metrics. Without params: cumulative MTD/QTD/YTD/all-time summary buckets. With from/to/range: returns a windowed { window, summary, composition, comparison } payload computed live from the indexer. Optional compare=prior_period|prior_year adds a delta block. Hard cap: 400-day window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window upper bound (exclusive). ISO-8601 or unix-seconds. Defaults to `now` when omitted but `from` is supplied. | |
| from | No | Window lower bound (inclusive). ISO-8601 (`2026-04-01T00:00:00Z`) or unix-seconds. Optional when `range` is supplied. | |
| range | No | Unified date-range shortcut shared across analytics + explorer endpoints. Hard cap: 400-day window. When set, takes precedence over `from`/`to`. Legacy values (`3mtd`, `q1`-`q4`, `custom`) were retired on 2026-04-30; use the explicit shortcuts below. | |
| compare | No | Adds a `comparison` block computed against the prior period (same length, immediately preceding) or the prior year (shifted back 365 days). |