---
title: "S&P 500 risk regime: a daily binary classification of whether the US equity tape"
method: GET
path: "/v1/sp500-risk-regime"
---

# S&P 500 risk regime: a daily binary classification of whether the US equity tape

`GET /v1/sp500-risk-regime`

## Request

- Base URL: `https://api.alphanume.com`
- URL: `https://api.alphanume.com/v1/sp500-risk-regime`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

S&P 500 risk regime: a daily binary classification of whether the US equity tape
is in a risk-on or risk-off state. One row per trading day: date and risk_regime
label. Deliberately minimal -- it is designed to be the overlay/kill-switch input to
other strategies (e.g. only run momentum or premium-selling in the favorable
regime), not a dataset you mine on its own.

Query the latest date for the current regime, or a range to backtest a
regime-filtered strategy.

Requires an Alphanume Pro API key. A 403 PRO_SUBSCRIPTION_REQUIRED or
DATE_RANGE_RESTRICTED error means the key's plan does not cover the request --
it does not mean the data is missing.

## Query parameters

- `date` string
- `date_gte` string
- `date_lte` string
- `date_gt` string
- `date_lt` string

## Response `200`

Matching rows.

- Envelope
  - `count` integer, required
  - `data` object[], required

## Other responses

- `400`: Invalid or conflicting query parameters.
- `401`: Missing or unrecognized API key.
- `403`: PRO_SUBSCRIPTION_REQUIRED: the key's plan does not include API access; every endpoint requires an active Pro subscription. DATE_RANGE_RESTRICTED: a legacy free-tier key asked for dates outside its window. In both cases the data is not missing.
- `429`: Rate limit exceeded (600/min); the body carries retry_after_seconds.

---

[API](https://skmtc.dev/alphanume/apis/alphanume-api.md) · [All operations](https://skmtc.dev/alphanume/apis/alphanume-api/llms.txt) · [OpenAPI document](https://skmtc.dev/alphanume/apis/alphanume-api/revisions/2cb83f10bba4?raw)
