# aiworker-data Technical Indicators (Base Token)

> aiworker-data Technical Indicators (Base Token) is a paid API for AI agents from aiworker.duckdns.org, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Computes standard technical indicators (RSI 14, EMA 20/50, SMA 20, Bollinger Bands, ATR 14, high/low, percentage changes) for a Base chain token using GeckoTerminal OHLCV candle data from its largest liquidity pool.

## Facts

- Endpoint: POST https://aiworker.duckdns.org/v1/market/ta
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aiworker-data-technical-indicators-base-token-211dd95e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SXe6R3SxEbE9jB1jk6bmR

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 aiworker-data-technical-indicators-base-token-211dd95e -d '<json body>'
```

Example prompt: Pull the hourly technical indicators for the Base token at 0x532f27101965dd16442e59d40670faf5ebb142e4 using 100 periods — I want RSI, EMAs, Bollinger Bands, ATR, and the recent percentage changes.

## When to prefer this

Use this endpoint when you need deterministic, reproducible technical indicator values for a Base chain token and want to avoid running the arithmetic yourself. It is ideal when you have a token contract address, need standard TA metrics (RSI, EMAs, Bollinger Bands, ATR) computed from real OHLCV pool data, and want a fast cached result without building your own candle-fetching and indicator pipeline. Prefer this over general market data endpoints when you specifically need indicator values rather than raw price quotes.

## Known failure modes

- Invalid or non-Base token address (must be 0x + 40 hex chars) returns validation error
- Token has no liquidity pool on Base — GeckoTerminal returns no OHLCV data
- Periods out of range (below 50 or above 200) returns schema validation error
- GeckoTerminal API unavailable causes upstream data fetch failure
- Token exists but pool has insufficient candle history for the requested period count

## How this service works

Technical indicators for one Base token from its largest pool's candles (GeckoTerminal OHLCV, hourly or daily, 50–200 periods): RSI 14, EMA 20/50, SMA 20, Bollinger bands 20/2σ, ATR 14, last close, high/low and percentage changes — the textbook arithmetic on past prices, nothing more. Deterministic, no LLM, no signal, no forecast; cached five minutes.

## Output

Returns a JSON object with the computed technical indicators for the token's largest pool: RSI 14, EMA 20, EMA 50, SMA 20, Bollinger Bands (upper/lower/middle/width_pct), ATR 14, last close price, high/low over N periods, 1-period and 24-period percentage changes, pool address, token name/symbol/address, timeframe, candle count, data source attribution, and a disclaimer that these are arithmetic on past prices only. Results are cached for 5 minutes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  },
  "periods": {
   "type": "integer",
   "default": 100,
   "maximum": 200,
   "minimum": 50
  },
  "timeframe": {
   "enum": [
    "hour",
    "day"
   ],
   "type": "string",
   "default": "hour"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pool": "0x4e829f8a5213c42535ab84aa40bd4adcce9cba02",
  "as_of": "2026-09-12T20:00:00.000Z",
  "token": {
   "name": "Brett",
   "symbol": "BRETT",
   "address": "0x532f27101965dd16442e59d40670faf5ebb142e4"
  },
  "atr_14": 0.00006,
  "ema_20": 0.00501,
  "ema_50": 0.00519,
  "rsi_14": 38.2,
  "sma_20": 0.00503,
  "candles": 100,
  "reasons": [],
  "sources": [
   {
    "ok": true,
    "url": "https://api.geckoterminal.com/api/v2/networks/base/pools/0x4e829f8a5213c42535ab84aa40bd4adcce9cba02/ohlcv/hour",
    "name": "geckoterminal_ohlcv"
   }
  ],
  "timeframe": "hour",
  "change_pct": {
   "pct_1": -0.4,
   "pct_24": -2.1
  },
  "disclaimer": "Indicators are arithmetic on past prices, not a forecast or a signal. Informational only; not investment advice.",
  "high_low_n": {
   "n": 100,
   "low": 0.00488,
   "high": 0.00551
  },
  "last_close": 0.004946,
  "attribution": "Data: GeckoTerminal (OHLCV, Base)",
  "bollinger_20": {
   "lower": 0.00484,
   "upper": 0.00522,
   "middle": 0.00503,
   "width_pct": 7.6
  },
  "generated_at": "2026-09-13T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aiworker-data-technical-indicators-base-token-211dd95e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aiworker.duckdns.org](https://www.zero.xyz/host/aiworker.duckdns.org/llms.txt)
