# Stock Trends Market Regime Latest

> Stock Trends Market Regime Latest is a paid API for AI agents from api.stocktrends.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Returns the current market regime classification derived from the distribution of Stock Trends trend codes across active signals.

## Facts

- Endpoint: GET https://api.stocktrends.com/v1/market/regime/latest
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-stocktrends-com-e46636a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nhFBZ8bieqeWoYLzLGOwB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-stocktrends-com-e46636a3
```

Example prompt: What is the current Stock Trends market regime classification — tell me what regime we're in right now based on the distribution of trend codes across active signals.

## When to prefer this

Use this endpoint when you need a single, authoritative, real-time snapshot of the current market regime as defined by the Stock Trends multi-decade classification framework — particularly when making routing decisions for portfolio construction, signal screening, or symbol-level trade evaluation that depend on the prevailing market environment.

## Known failure modes

- No data available if regime has not been calculated yet — may return 404 or empty result
- Service unavailable or timeout if backend data pipeline is delayed
- Payment required (402) if x402 payment header is missing or insufficient
- Stale classification if the underlying weekly data has not yet been refreshed

## How this service works

Current market regime classification derived from the distribution of Stock Trends trend codes across active signals.

## Output

A JSON object containing the current market regime label and the aggregate distribution of Stock Trends trend codes across all active signals, reflecting the overall market environment as of the latest classification.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 },
 "title": "Get Current Market Regime",
 "family": "market_data",
 "output": {
  "type": "json"
 },
 "category": "market_analysis",
 "description": "Retrieve the current market regime classification based on Stock Trends trend code distribution"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "title": {
   "type": "string"
  },
  "family": {
   "type": "string"
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "format": {
     "type": "string"
    },
    "example": {}
   },
   "description": "Current regime classification and aggregate signal distribution.",
   "additionalProperties": true
  },
  "category": {
   "type": "string"
  },
  "schemaUrl": {
   "type": "string"
  },
  "description": {
   "type": "string"
  },
  "metadataUrl": {
   "type": "string"
  },
  "tools_manifest": {
   "type": "string"
  },
  "pricing_catalog": {
   "type": "string"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-stocktrends-com-e46636a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.stocktrends.com](https://www.zero.xyz/host/api.stocktrends.com/llms.txt)
