# TradingView API on SandBase

> TradingView data API endpoints available through one SandBase API key.

Source: https://www.sandbase.ai/apis/tradingview

- Endpoints: 4
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [TradingView Chart](https://www.sandbase.ai/apis/tradingview/chart.md): $0.03 per call
  Get recent OHLC bar data for a forex pair at the specified interval.
- [TradingView Quote](https://www.sandbase.ai/apis/tradingview/quote.md): $0.03 per call
  Get a comprehensive real-time forex quote including current price, OHLC, bid/ask spread, volume, change, technical summary, key indicators, and performance metrics.
- [TradingView Scan Forex](https://www.sandbase.ai/apis/tradingview/scan-forex.md): $0.03 per call
  Scan multiple forex pairs at once, returning price, change, bid/ask, volume, and key technical indicators for each pair. Useful for building a watchlist or screening for trading signals across the for...
- [TradingView Technicals](https://www.sandbase.ai/apis/tradingview/technicals.md): $0.03 per call
  Get detailed technical analysis for a forex pair including all oscillators (RSI, MACD, CCI, ADX, Stochastic, etc.), moving averages (EMA/SMA at 10/20/30/50/100/200 periods), and pivot points (Classic ...

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
