Zum Inhalt springen
GET /v1/rating

Technical-analysis consensus for a symbol

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/tradingview-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/tradingview-api/v1/rating" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tradingview-api/v1/rating", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tradingview-api/v1/rating");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/tradingview-api/v1/rating",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "The TradingView technical-analysis consensus for one symbol — the overall Strong Buy/Buy/Neutral/Sell/Strong Sell rating (aggregating ~26 indicators) plus the separate moving-average and oscillator sub-ratings, with the live RSI, MACD, ADX and Stochastic values. Pass symbol and market (crypto, stocks, forex). Omit symbol for the market's default.",
        "price": 63981.9,
        "market": "crypto",
        "rating": {
            "overall": "SELL",
            "oscillators": "NEUTRAL",
            "overall_value": -0.4,
            "moving_averages": "STRONG_SELL",
            "oscillators_value": 0,
            "moving_averages_value": -0.8
        },
        "source": "TradingView",
        "symbol": "BTCUSDT",
        "ticker": "BYBIT:BTCUSDT",
        "volume": 5308.137205,
        "change_pct": -0.7025728412995458,
        "indicators": {
            "adx": 44.98456851400589,
            "rsi": 35.49759016834179,
            "macd": -3341.525538059548,
            "stoch_k": 32.241261685112384,
            "macd_signal": -3516.8113661814964
        }
    },
    "meta": {
        "timestamp": "2026-06-14T17:03:41.277Z",
        "request_id": "d0e941b3-b011-422c-ab22-754315489134"
    },
    "status": "ok",
    "message": "Rating retrieved successfully",
    "success": true
}