
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "surf",
"path": "/gateway/v1/market/price-indicator",
"method": "GET",
"query": {
"indicator": "",
"symbol": ""
}
}'
{
"success": true,
"data": {
"data": [ 1 item ],
"meta": { … },
"$schema": "https://api.asksurf.ai/schemas/DataResponseMarketIndicatorItem.json"
}
}
A real response, recorded when Orthogonal checked this endpoint.
$0.01308per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Technical Indicator: Returns a technical indicator for a trading pair on a given exchange and interval.
Modes:
- Set from/to for time-series
- Omit for latest value only
Indicator-specific tuning via options (e.g. period:7, fast_period:8,slow_period:21,signal_period:5, period:10,stddev:1.5).
Available indicators: rsi, macd, ema, sma, bbands, stoch, adx, atr, cci, obv, vwap, dmi, ichimoku, supertrend.
Query parameters
indicatorrequiredstringTechnical indicator name. Can be rsi, macd, ema, sma, bbands, stoch, adx, atr, cci, obv, vwap, dmi, ichimoku, or supertrend.symbolrequiredstringTrading pair as BTC/USDT or bare symbol like BTCintervalstringCandlestick interval — bucket size for each point in the indicator series: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 12h, 1d, or 1w. This endpoint uses interval only; it does NOT accept time_range. Use from/to to bound the series.exchangestringExchange for price data. Can be binance, bybit, coinbase, or kraken.fromstringStart of time range. When set, returns time-series instead of latest value. Accepts Unix seconds (1704067200) or date string (2024-01-01)tostringEnd of time range. Defaults to now when from is set. Accepts Unix seconds (1706745600) or date string (2024-02-01)optionsstringIndicator-specific options as comma-separated key:value pairs. Available options by indicator: period — lookback period for rsi (default 14), sma (default 20), ema (default 20), bbands (default 20), adx (default 14), atr (default 14), cci (default 20), dmi (default 14), stoch (default 14), supertrend (default 10). stddev — standard deviation for bbands (default 2). multiplier — multiplier for supertrend (default 3). fast_period — MACD fast EMA (default 12). slow_period — MACD slow EMAResponse types
$schemaA URL to the JSON Schema for this object.stringMore from Surf API
- KOL rankingGET/gateway/v1/smart-money/kol/ranking$0.01308 per callFixed
- Liquidation chartGET/gateway/v1/market/liquidation/chart$0.01308 per callFixed
- Blockchain SQL queryPOST/gateway/v1/onchain/sql$0.02616 per callFixed
- KOL call historyGET/gateway/v1/smart-money/kol/history$0.01308 per callFixed
- Order book depthGET/gateway/v1/exchange/depth$0.00654 per callFixed
- Latest company financialsGET/gateway/v1/equity/latest-financialsUp to $0.03924 per callResponse-based
- Web page fetchGET/gateway/v1/web/fetch$0.00654 per callFixed
- Matched market pairsGET/gateway/v1/prediction-market/matching/pairs$0.02616 per callFixed
- Polymarket wallet positionsGET/gateway/v1/prediction-market/polymarket/positions$0.02616 per callFixed
- Hyperliquid trader leaderboardGET/gateway/v1/hyperliquid/leaderboard$0.02616 per callFixed
- Perpetual contract snapshotGET/gateway/v1/exchange/perp$0.00654 per callFixed
- KOL activityGET/gateway/v1/smart-money/kol/activity$0.01308 per callFixed