Skip to main content
GET
/
v1
/
tradingview
/
signal
curl https://api.aioka.io/v1/tradingview/signal \
  -H "X-API-Key: aik_free_yourkeyhere"
{
  "verdict": "ACCUMULATE",
  "confidence": 76.8,
  "regime": "LOW_VOLATILITY",
  "dark_pool": 65,
  "rsi": 48.0,
  "ema_200": 75963,
  "btc_price": 77781,
  "ghost_status": "WAITING",
  "timestamp": 1745441234
}
To use the playground, enter your API key in the X-API-Key field above. Don’t have a key? Get one free →
Tier: Free ✅ Cache TTL: 60 seconds Rate limit: Free 100/day, 2/min. Basic 1,000/day, 30/min. Pro 10,000/day, 100/min. This endpoint powers the AIOKA AI Signals Pine Script indicator published on TradingView. The response is intentionally kept under 200 bytes — no nested objects, no lists, Unix-epoch timestamp — so high-frequency polling from a charting platform stays cheap on bandwidth and fast to parse.

Response Fields

FieldTypeDescription
verdictstringJudiciary ruling: STRONG_BUY, BUY, ACCUMULATE, HOLD, REDUCE, SELL, STRONG_SELL, PENDING
confidencefloatJudiciary composite confidence 0-100
regimestringCurrent HMM regime (BULL_TRENDING, LOW_VOLATILITY, WHALE_ACCUMULATION, …)
dark_poolintDark Pool composite score 0-100 (Sprint 210)
rsifloatBTC 1H RSI(14)
ema_200floatBTC 1H EMA(200)
btc_pricefloatLive BTC spot price
ghost_statusstringWAITING, READY, or IN_POSITION
timestampintUnix epoch seconds

Pine Script Quick Start

Download the free AIOKA indicator from the TradingView integration guide, paste your API key into the indicator settings, and it will poll this endpoint once per bar close.
curl https://api.aioka.io/v1/tradingview/signal \
  -H "X-API-Key: aik_free_yourkeyhere"
{
  "verdict": "ACCUMULATE",
  "confidence": 76.8,
  "regime": "LOW_VOLATILITY",
  "dark_pool": 65,
  "rsi": 48.0,
  "ema_200": 75963,
  "btc_price": 77781,
  "ghost_status": "WAITING",
  "timestamp": 1745441234
}

Authorizations

X-API-Key
string
header
required

Your AIOKA Intelligence API key (format: aik_{tier}_{random})

Response

Latest AIOKA signal bundle for Pine Script.

Flat, compact signal payload consumed by AIOKA Pine Script v5 indicator.

All times are Unix epoch seconds (integer) rather than ISO strings to minimise bytes on the wire and match Pine Script's native time format.

verdict
string
required

Judiciary ruling (STRONG_BUY / BUY / ACCUMULATE / HOLD / REDUCE / SELL / STRONG_SELL / PENDING).

confidence
number
required

Judiciary composite confidence 0-100.

regime
string
required

Current market regime (BULL_TRENDING / HIGH_VOLATILITY / LOW_VOLATILITY / ...).

dark_pool
integer
required

Dark Pool composite score 0-100 (Sprint 210 — 0 if unavailable).

rsi
number
required

BTC 1H RSI(14). 0 if unavailable.

ema_200
number
required

BTC 1H EMA(200). 0 if unavailable.

btc_price
number
required

Live BTC spot price. 0 if unavailable.

ghost_status
string
required

Ghost Trader status (WAITING / IN_POSITION / READY).

timestamp
integer
required

Unix epoch seconds of the response.