# Stock Trends Latest Indicator Snapshot

> Stock Trends Latest Indicator Snapshot is a paid API for AI agents from api.stocktrends.com, paid per call via x402, $0.0035/call, status healthy (last checked 2026-10-13, last successful call 2026-10-09).

Returns the latest Stock Trends indicator snapshot for a given stock symbol, including trend classification, trend persistence, relative performance, volume activity, RSI, and moving averages.

## Facts

- Endpoint: GET https://api.stocktrends.com/v1/indicators/latest?utm_source=zero.xyz
- Price: $0.0035/call
- Payment: x402
- Status: healthy
- Last checked: 2026-10-13
- Last successful call: 2026-10-09
- Success rate: 100% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-stocktrends-com-fd379530
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vDM7u5-V2klstOqJ5vNJ1

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-fd379530
```

Example prompt: Pull the latest Stock Trends indicator snapshot for AAPL on NASDAQ (symbol_exchange: AAPL-Q) — I want to see the trend classification, trend persistence count, RSI, and volume activity tag.

## When to prefer this

Use this endpoint when you need the current Stock Trends indicator snapshot for a single symbol — especially when you need longitudinally consistent trend semantics (trend state, persistence, relative performance, volume) grounded in a framework with records back to 1980. Prefer this over generic price feeds or alternative technical indicator APIs when the Stock Trends classification doctrine is specifically required for research, screening, or signal generation.

## Known failure modes

- Invalid symbol_exchange format (must match ^[A-Z0-9.]+-[A-Z]$) returns validation error
- Unknown or unsupported exchange code returns error
- Symbol not found in Stock Trends database returns 404 or empty result
- Payment failure or insufficient USDC balance returns 402
- Rate limiting or service unavailability returns 5xx error

## How this service works

Current weekly stock analytics for equity research and pre-trade analysis. Returns the latest Stock Trends indicator snapshot for a symbol. Stock Trends indicators are part of a multi-decade classification framework with records extending back to 1980. Their value comes from consistent semantics across market history: trend state, trend persistence, relative performance, relative performance direction, and volume activity are encoded in a stable doctrine designed for longitudinal research.

## Output

A JSON object containing the latest Stock Trends indicator snapshot for the requested symbol, including: trend state code, trend_cnt (trend persistence), mt_cnt, RSI value, rsi_updn direction, vol_tag (volume activity tag), price-change fields, short and long moving averages, and weekly high/low context — all derived from the Stock Trends multi-decade classification framework.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "cs_only": true,
   "symbol_exchange": "AAPL-Q"
  }
 }
}
```

## 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": [
      "symbol_exchange"
     ],
     "properties": {
      "symbol": {
       "type": "string"
      },
      "cs_only": {
       "type": "boolean",
       "default": true
      },
      "exchange": {
       "enum": [
        "N",
        "Q",
        "A",
        "B",
        "T",
        "I"
       ],
       "type": "string"
      },
      "symbol_exchange": {
       "type": "string",
       "pattern": "^[A-Z0-9.]+-[A-Z]$"
      }
     },
     "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": "Latest indicator snapshot with trend classification, trend_cnt, mt_cnt, rsi, rsi_updn, vol_tag, price-change fields, moving averages, and weekly high/low context.",
   "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-fd379530/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)
