# x402stock Technicals Endpoint

> x402stock Technicals Endpoint is a paid API for AI agents from agents.x402stock.xyz, paid per call via MPP, $0.03/call, status unknown (last checked 2026-09-13).

Returns key technical indicators (RSI 14, SMA 50, EMA 20, MACD) with zone/position context and current delayed price for a US-listed stock ticker.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/technicals/{ticker}
- Price: $0.03/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Provider: agents.x402stock.xyz
- Website: https://agents.x402stock.xyz
- Canonical page: https://www.zero.xyz/c/agents-x402stock-xyz-x402stock-technicals-endpoint-5b206edb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-X6tDyyb__5nll52SGrLo

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 agents-x402stock-xyz-x402stock-technicals-endpoint-5b206edb
```

Example prompt: Can you pull the technical indicators for NVDA — specifically the RSI, MACD signal state, and whether the price is above or below the 50-day and 20-day moving averages?

## When to prefer this

Use this endpoint when you need a fast, factual snapshot of standard technical momentum indicators (RSI, MACD, SMA, EMA) for a single US-listed stock, without needing full historical OHLCV data or a backtest. Prefer it over the historical bars endpoint when you only need current indicator readings rather than raw price series. It is ideal for pre-trade screening, alert triage, or agent-driven momentum assessments where a sub-second response with structured zone labels is more useful than raw data.

## Known failure modes

- Invalid or unlisted ticker returns an error or null indicator values
- Ticker not traded on a US exchange may return no data
- Delayed price may not reflect real-time market conditions
- Thin-volume or newly listed tickers may have null MACD/RSI due to insufficient history
- Payment failure via x402/USDC results in a 402 response and no data returned

## How this service works

Use for a quick momentum or trend read on a US-listed stock. Returns the latest RSI (14) with overbought, oversold, or neutral zone, SMA 50 and EMA 20 with price position, and MACD with signal cross state, alongside the current delayed price. Factual indicator readings, not buy or sell guidance. From x402stock, a market & economic data API (x402, USDC).

## Output

A JSON object containing the ticker, timestamp, delayed last price with day-change percent, RSI 14 value with overbought/oversold/neutral zone label, SMA 50 value with price-vs-SMA percent deviation and above/below position string, EMA 20 value with price-vs-EMA percent and position string, and MACD value/signal/histogram with signal cross state description.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ticker"
 ],
 "properties": {
  "ticker": {
   "type": "string",
   "description": "US-listed ticker symbol (uppercase), e.g. AAPL."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ticker",
  "data",
  "source",
  "as_of"
 ],
 "properties": {
  "data": {
   "type": "object",
   "required": [
    "price",
    "rsi_14",
    "sma_50",
    "ema_20",
    "macd"
   ],
   "properties": {
    "macd": {
     "anyOf": [
      {
       "type": "object",
       "required": [
        "value",
        "signal",
        "histogram",
        "position"
       ],
       "properties": {
        "value": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        },
        "signal": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        },
        "position": {
         "type": "string"
        },
        "histogram": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        }
       },
       "additionalProperties": false
      },
      {
       "type": "null"
      }
     ]
    },
    "price": {
     "type": "object",
     "required": [
      "last",
      "change_percent"
     ],
     "properties": {
      "last": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "change_percent": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      }
     },
     "additionalProperties": false
    },
    "ema_20": {
     "anyOf": [
      {
       "type": "object",
       "required": [
        "value",
        "price_vs_percent",
        "position"
       ],
       "properties": {
        "value": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        },
        "position": {
         "type": "string"
        },
        "price_vs_percent": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "null"
          }
         ]
        }
       },
       "additionalProperties": false
      },
      {
       "type": "null"
      }
     ]
    },
    "rsi_14": {
     "anyOf": [
      {
       "type": "object",
       "required": [
        "value",
        "zone"
       ],
       "properties": {
        "zone": {
         "type": "string"
        },
        "value": {
         "anyOf": [
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-x402stock-xyz-x402stock-technicals-endpoint-5b206edb/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)
