---
title: "Market sentiment gauge: the latest day and a year of history"
method: GET
path: "/public/market-sentiment"
tags: ["Sentiment"]
---

# Market sentiment gauge: the latest day and a year of history

`GET /public/market-sentiment`

## Request

- Base URL: `https://api.sweetvaluelab.com`
- URL: `https://api.sweetvaluelab.com/public/market-sentiment`
- Auth: none declared

The newest daily score (0–100), its band and the seven factors with raw value, percentile of the factor's own last 504 trading days and availability (three faithful, three proxies on the public universe (the S&P 500 and Nasdaq-100 constituents), put/call absent), plus a year of daily scores. Refreshed nightly after the US close.

## Response `200`

The gauge bundle.

- Envelope: Every endpoint on every service returns this shape. `ok` says which half is filled: on success `data` holds the payload and `error` is null; on failure `data` is null and `error` says why.
  - `ok` boolean, required
  - `schema_version` string, required: Envelope contract version, currently "1". It changes only on a breaking change to this shape.
  - `as_of` string, date, required: The day the payload speaks for.
  - `code_version` string, required: The build that produced the payload. With as_of it is what makes a figure reproducible.
  - `data` object, nullable, required: The payload, or null on failure.
  - `error` ErrorDetail, required
    - `code` string, required: Stable machine-readable code, e.g. not_found, bad_request.
    - `message` string, required
    - `details` object

---

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