# x402stock SMA Indicator via ZeroClick

> x402stock SMA Indicator via ZeroClick is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the Simple Moving Average (SMA) technical indicator for a given US stock or ETF ticker symbol, paid per request in USDC via x402.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/indicators/sma/%7Bticker%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-sma-indicator-via-zeroclick-b2a32d3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-VD77q5CZe_dewgYuVHtS

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 x402stock-sma-indicator-via-zeroclick-b2a32d3c
```

Example prompt: What's the current simple moving average for AAPL? I want the SMA technical indicator from x402stock.

## When to prefer this

Choose this endpoint when you need a Simple Moving Average technical indicator for a US stock or ETF and want pay-per-use pricing without API key registration. Ideal for AI agents that require autonomous micropayment capability via x402/USDC and need SMA data as part of a technical analysis workflow. Prefer over general market data endpoints when specifically the SMA computed indicator is required rather than raw price data.

## Known failure modes

- Invalid or unknown ticker symbol returns an error or empty result
- Payment failure in USDC/x402 blocks the request
- Rate limiting or quota exhaustion if free included units are exceeded without payment
- Network timeout if the upstream x402stock API is slow or unavailable
- Malformed ticker path parameter causes a 400 or routing error

## How this service works

Market and economic data for AI agents — US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities (crude, natural gas, gasoline), US and global macro (Fed funds, CPI/PCE, jobs, GDP, Treasury debt & yields, World Bank indicators), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 or MPP. This server is a pay-per-use, transparent proxy in front of x402stock's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. This document is the source of truth for agents: it lists the complete verified paid surface with each operation's live price in its x-payment-info. Endpoints not listed here are not part of the supported catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge.

## Output

Returns the computed Simple Moving Average (SMA) value for the requested ticker symbol, representing the average price over a defined lookback period. The response includes the SMA figure usable for technical analysis and trend detection.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-sma-indicator-via-zeroclick-b2a32d3c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
