---
title: "Values of a catalog index product, such as a teleconnection index forecast."
method: GET
path: "/v1/indices/{product_id}"
tags: ["Products"]
---

# Values of a catalog index product, such as a teleconnection index forecast.

`GET /v1/indices/{product_id}`

## Request

- Base URL: `https://api.smarterweather.com`
- URL: `https://api.smarterweather.com/v1/indices/{product_id}`
- Auth: HTTP bearer

The generic door of the catalog's `index` products: location-free
scalar series, such as a teleconnection index forecast (its
ensemble mean, percentiles and probabilities) or a monthly index
analysis. Any product `GET /v1/catalog` lists with `kind` `index`
qualifies; the product's catalog `query` block lists the time
words it takes, and a word it does not list is a `400` with
`unsupported_word` and the block's values in `valid_values`. A
product of another kind is a `404` naming its own route.

**Experimental** (`x-stability: experimental`): excluded from the
90-day breaking-change commitment while the grammar settles.

### Selection

`var` (repeatable, or comma-joined) selects variables by
`standard_name` or stored name; without it, every variable of the
product. An index takes no location: `lat`, `lon`, a box, `area`
or `path` is a `400` `unsupported_word`, as is any other word this
route does not take (with `did_you_mean` for a near miss such as
`hour`), never ignored.

### Time

At most one of `hours`, `start` and `end`, or `at`, on a product
whose `query.time_words` lists it. Each window is taken over valid
times and also holds the value in effect at its start (the latest
at or before it).

- `hours` (1-384): ahead of now on a forecast product, back from
  now on an analysis one, so a monthly analysis read with
  `hours=384` returns the month in effect 16 days ago and any
  later one.
- `start` and `end` (RFC 3339, `end` not before `start`): applied
  the same way, with no span cap; paging bounds it.
- `at`: the one value in effect at that instant.
- None: a forecast product's latest run, every lead; an analysis
  product's latest value.

`run` (RFC 3339) pins a forecast product's run, beside `hours` or
`start` and `end`, never `at`; an analysis product does not take
it.

### Envelope

The `GET /v1/series` envelope without a location: `truncated`,
`next_cursor`, `meta` (`step`, reserved and null, and `sources[]`,
each source credit's attribution and license) and `series[]`, one
element for the product. The element carries `times` (RFC 3339
UTC, ascending) with `values` per variable `standard_name`
aligned with them (null where a time has no value), `units` (each
variable's stored unit, such as `1` for a dimensionless index or
`percent`; there is no `units` word), `run` on a forecast product
or `runs` (each value's own revision time, aligned with `times`)
on an analysis one, `data_age_seconds` and `freshness_status` (the
product's latest data, or the pinned `run`, as on `GET /v1/series`;
null while the product's freshness is not tracked) and
`meta.timezone` (`UTC`). `status` is `ok`, `partial`
(a variable's values are missing from the answer: null, with a
note), `unavailable` (no values in the window, or none stored yet,
with a note), or `entitlement_required` for a product behind a per-key
flag the key does not have (`entitlement` names the flag; no
values, no charge; the answer is sent with
`Cache-Control: no-store`).

### Normals and anomalies

A variable whose catalog entry carries `climatology` (a raw index
such as the 10 hPa polar vortex wind or the QBO, its mean and
percentiles) also answers `normals`, its day-of-year normal for
each time's UTC month and day, and `anomalies`, the value less the
normal, both keyed and aligned as `values`, in stored units, null
where the value or the normal is missing. There is no word for
them: they come with every read of such a variable. A spread,
a probability or an already standardized index has none. An
anomaly is a difference: convert it by scale only, as its link's
`anomaly_display_units` (conversion `delta`) says, never with the
variable's offset (+5 K is +9 delta_F, not -450 F). The normal's
source is credited in `meta.sources`. Each link joins on its own:
a variable whose normals have not been loaded yet is answered as
one without them, and while a variable's normals cannot be read
it is answered without both fields and a note says so.

### Percentiles, records, states, changes and family state

A variable whose catalog entry carries `reference_distribution`
(or a forecast variable whose base's `observed` series carries
one, and that base's percentile statistics) answers
`percentiles`: each value's rank, 1-99 (clamped), among the
values of the reference period (`reference_period`, whole years)
at that time of year (`window`: the days centred on the day, or
the calendar month). A sample belongs to the year and day of its
time (a period product's period start). A sample inside the
reference period is ranked in-sample. The reference is built from
the stored series this route serves, so it follows a provider's
revision of history within 24 h. A forecast value is ranked
against observed values: an ensemble mean is smoother than any one
observed day, so its percentile sits nearer the middle as lead
time grows, and the member spread is what its percentile
statistics show. `records` lists each sample after the reference
period beyond the lowest or highest reference value at that time
of year, with that value and its earliest date: it is against the
closed reference period, not a running record, so two later
samples past it are both listed. Records apply to observed and
analysis values only: a forecast value, or a statistic, beyond
the observed extreme answers its clamped percentile and no
record. A variable whose catalog entry
carries `states` (or a percentile statistic whose base does)
answers `states`: each value's state id, the first entry of the
cited set that admits it. A variable with `change_lags` answers
`changes`: at its latest non-null sample in the answer, the value
less the stored value one lag earlier on the product's calendar,
null when none is stored at exactly that time. A product with
`family_state` answers `family_state` when the read holds every
variable carrying its coordinate (the default read does): at each
time, the coordinate of the variable holding the extreme value
and its magnitude, null where a variable is missing or the
extreme is not on its own side of zero. There is no word for
them. A reference not built yet is answered without percentiles
and records, with a note, and the answer is not cached as
complete. A variable whose stored history does not span its
reference period is answered without them, with its own note,
and cached as usual. A reference read from another product (a
forecast ranked on its observed series) credits that product's
source in `meta.sources`.

### Episodes and official status

A variable whose catalog entry carries `events` (cited run rules
beside its `states`) answers `episodes`: each rule's runs of
consecutive samples in its states that intersect the answer,
newest onset first, at most 32 per variable, with `onset`,
`end` (null while open), `samples`, `peak` and `status`
(`observed`, `candidate`, `confirmed`, `forecast`). They are our
evaluation of the cited rule on the stored values, from the page,
up to 744 steps before it and, on a page with a `next_cursor`, up
to 744 steps after it, so a run the page cuts keeps its own end; an
episode whose onset those rows cannot place (it reaches their first
row, or follows a null or a missing step) says `onset_capped`, and
one whose length or recovery they cannot tell stays `candidate`. A
forecast product's episodes are all `forecast`, evaluated on the
whole run; one starting at the run's first row carries the observed
series' open episode of the same rule as `observed`, crediting that
product's source. A product whose catalog entry carries a
`status_source` answers `official_status`: the provider's own
status line, verbatim, with its issue time, only on an answer that
reaches the present. It carries the provider's page for the status
as `citation` and, as `statement`, the request that returns the
text product it was read from. A lookback or status that cannot be read is
answered without the field, with a note, and the answer is not
cached as complete. There is no word for them.

### Paging

`limit` (1-744, default 168) times per page. A cut page has
`truncated` true and a `next_cursor`; send it back as `cursor`
with the same parameters to continue. A cursor keeps its first
page's variables, window and run: a page answers the cursor's
variables, and a `var` naming others is a `400`. A cursor that
cannot be resumed is a `400` whose `suggested_call` drops it.

### Errors

A data-level `400` or `404` is an RFC 9457 problem with a `reason`
and the members that correct it (`valid_values`, `did_you_mean`,
`unsupported_word`, `suggested_call`), as on `GET /v1/series`.

### Caching

`Cache-Control: max-age=N` with N the product's cadence clamped to
60-3600 s. A `partial` or `unavailable` answer is `max-age=60,
stale-while-revalidate=0`: it changes on a retry or the moment
values land.

### Auth and cost

Standard sw-api Bearer auth and rate limits apply. Weight 1
(`data`).

## Path parameters

- `product_id` string, required

## Query parameters

- `var` string[]
- `hours` integer
- `start` union
  - string, date-time
  - string, date
- `end` union
  - string, date-time
  - string, date
- `at` string
- `run` string
- `limit` integer
- `cursor` string

## Response `200`

The product's series.

- IndicesResponse: The `GET /v1/indices/{product_id}` envelope, the `GET /v1/series` one without a location or a units system.
  - `truncated` boolean, required: True when `limit` cut the series (`next_cursor` resumes it).
  - `next_cursor` string, nullable, required: Opaque cursor for the next page, null when not truncated.
  - `meta` object, required
    - `step` unknown, required
    - `sources` SeriesSource[], required: The catalog sources behind the response, with their attribution terms.
      - `id` string, required
      - `name` string, nullable, required
      - `attribution` string, required
      - `license` string, required
      - `terms_url` string, nullable, required
  - `series` IndexElement[], required: One element, for the product in the path.
    - `product` string, required
    - `status` 'ok' | 'partial' | 'unavailable' | 'not_public' | 'entitlement_required', required: `ok`; `partial` (a variable's values are missing from the answer: they are null, with a note; or a period product's `period_ends` and `period_labels` could not be computed; retry shortly); `unavailable` (no values in the window, or none stored yet, with a note); `entitlement_required` (a product behind a per-key flag the key does not have: no values, no charge, `entitlement` names the flag, and the response is `no-store`). `not_public` is reserved.
    - `times` string[], required: Valid times, RFC 3339 UTC, ascending. On a product whose values cover a period (the catalog's `time.period`: a 3-month season, a month, a week, a pentad), each time is where its period's `anchor` puts it (its start, or a pentad's middle day); `period_ends` and `period_labels` give its span.
    - `period_ends` string[]: Each value's period end, aligned with `times`: RFC 3339 UTC, exclusive (the 3-month season from 2026-08-01, ASO 2026, ends at 2026-11-01T00:00:00Z, so it covers 2026-08-01 through 2026-10-31), by the catalog's `time.period` in calendar months or days. Absent for an instantaneous product (no `time.period`), when `times` is empty, and when a time cannot be read (the element is then `partial`, with a note).
    - `period_labels` string[]: Each value's period by name, aligned with `times`: several months by their initials and the year of the period's middle (`ASO 2026`, `DJF 2026`, as NOAA CPC names seasons), one month by name (`Oct 2026`), whole days by their inclusive dates (`Nov 1-7, 2026`, `Dec 28, 2026-Jan 3, 2027`). Absent when `period_ends` is.
    - `values` object, required: Values per variable `standard_name`, aligned with `times`; null where a time has no value.
    - `units` object, required: Each variable's stored unit per `standard_name` (`1` for a dimensionless index); null when the variable has none.
    - `reference_classes` ReferenceClasses: What a probability's percent is a percent of, keyed exactly like `units`. `probability`: the chance of the event at a place and time (the value as served, or its `max`, `min` or `percentile`). `share_of_hours`: a `mean` over frames at one place, the expected share of the frames with the event, not the chance of the event in the window. `share_of_area`: a `mean` that pools the cells and frames of an area (a bbox or area's mean pools every cell and frame of a bucket), the expected share of those cell-frames with the event, each cell weighted as `basis.weighting` says (`cell_area`: by its true area; `none` or absent: equally); also a `per_cell` share (`fraction_above`, `fraction_below`) on any variable: the percent of the area, weighted as `basis.weighting` says, whose cells pass the threshold. A `per_cell` percentile takes its time reducer's class at one place (`max`, `min`: `probability`; `mean`: `share_of_hours`). Absent on a key with no class (a value that is neither a probability nor a `per_cell` share, a count); absent when no key has one. It describes `values` as served: a ranked element's own class is its `ranking.reference_class`.
    - `normals` object: The day-of-year normal of each time, per `standard_name` of a variable whose catalog entry carries `climatology`, aligned with `times`, in the variable's stored units: the normal of the time's UTC month and day. Present only for the selected variables whose link has normals loaded; a variable whose normals cannot be read is left out, with a note. A spread or a probability variable has none.
    - `anomalies` object: Each value less its normal, keyed and aligned as `normals`; null where the value or the normal is missing. On a percentile variable it is the percentile of the anomaly. A difference in the stored unit: convert it by scale only, never with an offset (the catalog link's `anomaly_display_units`, conversion `delta`).
    - `standardized_anomalies` object: Each anomaly divided by the climatology's day-of-year standard deviation for the time's UTC month and day, keyed and aligned as `normals`: dimensionless, in standard deviations of that calendar day. Null where the value is missing or the standard deviation is not positive. Present only for the selected variables whose catalog `climatology` names a `stddev` and whose standard deviations are loaded; until they are stored the field is left out, with no note, and `normals` and `anomalies` are still served.
    - `percentiles` object: Each value's percentile, 1-99 (clamped), among the reference period's values at that time of year (the catalog variable's `reference_distribution`, or its forecast base's `observed` series'), keyed and aligned as `values`; null where the value is missing. Relative to the reference period and the time of year; a sample inside the reference period is ranked in-sample; a forecast value is ranked against observed values. Present only for the selected variables that resolve a reference that is built.
    - `states` object: Each value's state id, keyed and aligned as `values`: the first entry of the variable's catalog `states` (a percentile statistic's base's) that admits it; null where the value is missing. Where the state set declares `decimals`, the value is first rounded to that many decimals, half away from zero (the precision the provider classifies on); `values` keep the stored value.
    - `changes` object: Per variable with catalog `change_lags`, at its latest non-null sample in this answer (`time`): per lag, the value less the stored value one lag earlier on the product's calendar, in the variable's units; null when no value is stored at exactly that time.
    - `records` object: Per variable with a built reference, the samples after the reference period strictly below the lowest (`low`) or above the highest (`high`) reference value at that time of year, with that value and the date of its earliest sample. Against the closed reference period, not a running record. Observed and analysis values only: never on a forecast product or a statistic (percentile, stddev, probability). Absent for a variable with none.
    - `family_state` object: The product's catalog `family_state` reading, aligned with `times`: the `coordinate` value of the variable holding the extreme value, and that value's magnitude; null where a variable is missing or the extreme is not on its own side of zero. Present only when the read holds every variable carrying the coordinate.
      - `coordinate` string, required
      - `values` number[], required
      - `amplitudes` number[], required
    - `episodes` object: Per variable whose catalog entry declares `events`: the runs of each rule that intersect this answer's times, newest onset first, at most 32 (a note says when more exist; narrow `start` and `end`); `[]` when none. Our evaluation of the cited rule on the values stored now (providers revise them), so this is a cut in time, not a vintage: the page plus up to 744 steps before it and, on a page with a `next_cursor`, up to 744 steps after it, so every page of a paged read reports a run with the same onset, end and status, and a null `end` means in criterion at the series' latest value. On a forecast product every episode is `forecast`, evaluated on the whole run. Absent when no selected variable declares events, or (with a note) when those rows could not be read.
    - `official_status` IndexOfficialStatus: The provider's own status, on a product whose catalog entry declares a `status_source`: `value` is the text after the labelled line of the latest text product, verbatim, and `issued_at` that product's issue time; never inferred from an index value. A current status: absent on an answer that does not reach the present (`at`, `run`, `cursor`, a page with a `next_cursor`, or an `end` before `issued_at`), when the text product is older than its issuer's cadence allows, or (with a note) when it could not be read. `source` is that text product's AWIPS id, and `statement` the request that returns it.
      - `label` string, required
      - `value` string, required
      - `issued_at` string, date-time, required
      - `source` string, required
      - `citation` CatalogCitation: The provider's page for the status.
        - `title` string, required
        - `url` string, required
      - `statement` SuggestedCall: The request that returns the text product the status was read from, the cited issuance exactly, ready to send as is. Absent when the text door does not serve it.
        - `method` 'GET' | 'POST', required
        - `url` string, required
        - `query` object
        - `body` object
    - `run` string, date-time: A forecast product's run behind every value.
    - `runs` string[]: An analysis product's per-value revision times, aligned with `times`.
    - `data_age_seconds` integer, nullable, required: Age of the product's latest data (or of the pinned `run`), null when unknown; on an analysis product whose values cover a period, from the end of its newest period, and on a forecast from its run (as the catalog's `data_age_seconds`).
    - `freshness_status` 'fresh' | 'stale' | 'missing' | 'null', nullable, required: The product's freshness, as on the catalog; with `run`, the pinned run's age against the product's freshness budget. Null when the product's freshness is not tracked.
    - `notes` string[]: Caveats on the element, such as no values stored for the product yet.
    - `entitlement` object: With `entitlement_required`, the withheld product and the flag that grants it.
      - `field` string, required
      - `flag` string, required
      - `plan` string, nullable, required
    - `meta` object, required
      - `timezone` 'UTC', required: Always `UTC`; an index has no location.

## Other responses

- `400`: Bad request.
- `401`: Missing or invalid API key. Carries a `WWW-Authenticate` challenge and a `next_steps` extension. `recommended` is `device_flow`: the object is a complete no-install mint recipe.
- `403`: API key lacks the required scope. Carries a `WWW-Authenticate` challenge with `error="insufficient_scope"` and a `next_steps` extension.
- `404`: Resource not found: a location that cannot be resolved (unknown ZIP, unrecognised free-text location), no upstream data for the location, or a missing resource. On a route that checks coverage (its description says so), a location outside the 50 US states and DC returns type `https://smarterweather.com/errors/outside-coverage`; that and the location-not-found problem carry `next_steps` (`recommended = coverage`).
- `429`: Rate limit exceeded. Carries a `next_steps` extension (`recommended: upgrade`, plus `pricing` and `usage`) telling the caller how to lift the limit.
- `500`: Internal server error.
- `502`: Bad gateway. The service received an invalid response from an upstream data source. Transient; clients should retry with backoff.
- `503`: Service unavailable. An upstream dependency is unavailable or shedding load (type `service-unavailable`). Transient; retry with backoff and honor any `Retry-After` header.
- `504`: Gateway timeout. An upstream data source did not respond within the service's budget.

## Changes

- **2026-11-19** `208a31bf0fd1`: 9 info
  - added the optional property `alternatives` to the response with the `400` status
  - added the optional property `alternatives` to the response with the `401` status
  - added the optional property `alternatives` to the response with the `403` status
  - added the optional property `alternatives` to the response with the `404` status
  - …5 more
- **2026-11-19** `d140ec30da81`: 2 info
  - added the optional property `series/items/official_status/citation` to the response with the `200` status
  - added the optional property `series/items/official_status/statement` to the response with the `200` status
- **2026-11-18** `57b594bc183b`: 1 info
  - added the optional property `series/items/standardized_anomalies` to the response with the `200` status
- **2026-11-17** `1e6a6a6740ea`: 1 info
  - added the optional property `series/items/reference_classes` to the response with the `200` status
- **2026-11-14** `cde19e2da4b5`: 2 info
  - added the optional property `series/items/episodes` to the response with the `200` status
  - added the optional property `series/items/official_status` to the response with the `200` status

[Operation history](https://skmtc.dev/smarterweather/apis/smarter-weather-api/changes/v1/indices/:product_id/get.md)

---

[API](https://skmtc.dev/smarterweather/apis/smarter-weather-api.md) - [All operations](https://skmtc.dev/smarterweather/apis/smarter-weather-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smarterweather/apis/smarter-weather-api/revisions/77f615c16f80?raw)
