TradingView technical analysis ratings
TradingView's technical ratings for a symbol and timeframe: the summary rating (-1 to 1, label strong_sell to strong_buy) with buy/sell/neutral counts, the oscillators (RSI, Stochastic, CCI, ADX, Awesome Oscillator, Momentum, MACD, Stochastic RSI, Williams %R, Bull Bear Power, Ultimate Oscillator) and moving averages (EMA/SMA 10-200, Ichimoku base line, VWMA, Hull MA) each with value and action, and pivot points (classic, Fibonacci, Camarilla, Woodie, DeMark).
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
symbolrequired | string | Symbol as EXCHANGE:TICKER, e.g. NASDAQ:AAPL, NYSE:BRK.B, NSE:RELIANCE, BINANCE:BTCUSDT, FX:EURUSD, TVC:GOLD (find it with /tradingview/v1/search). Example: NASDAQ:AAPL |
interval | 1m | 5m | 15m | 30m | 1h | 2h | 4h | 1d | 1w | 1M | Timeframe (default 1d). Example: 1d |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/tradingview/v1/technicals?symbol=NASDAQ%3AAAPL" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/tradingview/v1/technicals",
params={"symbol": "NASDAQ:AAPL"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/tradingview/v1/technicals");
url.searchParams.set("symbol", "NASDAQ:AAPL");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).