Query time series
query_datumQuery time-series solar generation or consumption data for a node between two dates. Choose daily, hourly, or raw aggregation to analyze patterns over time.
Instructions
Time series for a node between two node-local dates (end exclusive) — answers 'how much / what pattern over time'. Default Day aggregation gives one row per source per day; Hour suits intra-day shape (the API silently coarsens Hour to Day beyond 32 days); None returns raw samples and is refused over 7 days unless allowRaw=true. Responses are capped at 500 rows — when meta.truncated is true, page with offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | SolarNetwork node ID (public demo node: 108) | |
| offset | No | Row offset for paging when a previous call was truncated | |
| endDate | Yes | Node-local end, exclusive | |
| allowRaw | No | Required to run aggregation=None over ranges longer than 7 days | |
| sourceIds | No | Source IDs to include; omit for all | |
| startDate | Yes | Node-local start, inclusive (YYYY-MM-DD or YYYY-MM-DDTHH:mm) | |
| aggregation | No | Bucket size; None = raw samples (guarded, see allowRaw) | Day |