TradingView Data
# TradingView Data API Real-time & historical market data via REST, WebSocket, SSE, and MCP. Covers stocks, crypto, forex, futures, bonds, ETFs, indices, technical analysis, leaderboards, calendars, news, community ideas, and world economy indicators. > **Full documentation, parameters, response schemas, and interactive testing are on the official site. This page is only a quick index.** ##…
TradingView Data endpoints
| Method | Endpoint | Description |
|---|---|---|
| Health | ||
| GET |
healthCheck /health |
Check API server status including connection state, active sessions, authentication status and reconnect attempts |
| Price | ||
| POST |
batchGetPrice /api/price/batch |
Batch get candlestick data for multiple symbols in one request. Maximum 10 symbols per request. Each request item can have different parameters. |
| GET |
getPrice /api/price/{symbol} |
Get OHLCV candlestick data for a symbol with customizable timeframe, history range, and optional chart type. Supports historical data queries with 'to' parameter. |
| GET |
Event /api/price/{symbol}/events |
Get chart event markers derived from TradingView studies such as earnings, dividends, and splits. |
| Quote | ||
| POST |
batchGetQuote /api/quote/batch |
Batch get real-time quotes for multiple symbols in one request. Maximum 10 symbols per request. |
| GET |
getQuote /api/quote/{symbol} |
Get real-time quote data for a symbol including price, change, volume, bid/ask and more market data |
| Search | ||
| GET |
searchMarket /api/search/market/{query} |
Search for stocks, crypto, forex and other markets by keyword with optional type filtering and pagination |
| Technical Analysis | ||
| GET |
getTechnicalAnalysis /api/ta/{symbol} |
Get technical analysis signals (Buy/Sell/Neutral) across multiple timeframes including oscillators and moving averages |
| GET |
getTechnicalIndicators /api/ta/{symbol}/indicators |
Get detailed technical indicators data including RSI, MACD, Stoch, CCI, ADX, moving averages (EMA/SMA), pivot points, and other comprehensive technical analysis metrics |
| Leaderboard | ||
| GET |
getBondsLeaderboard /api/leaderboard/bonds |
Get government bonds leaderboard ranking data. |
| GET |
getLeaderboardData /api/leaderboard/data |
Get leaderboard ranking data with pagination using configuration ID. For stock types, market_code is required. This is a legacy endpoint - consider using the type-specific… |
| GET |
getCryptoLeaderboard /api/leaderboard/crypto |
Get cryptocurrency leaderboard ranking data. |
| GET |
getETFsLeaderboard /api/leaderboard/etfs |
Get ETF/funds leaderboard ranking data. |
| GET |
getFuturesLeaderboard /api/leaderboard/futures |
Get futures leaderboard ranking data. |
| GET |
getStockLeaderboard /api/leaderboard/stocks |
Get stock leaderboard ranking data. Requires market_code parameter. |
| GET |
getForexLeaderboard /api/leaderboard/forex |
Get forex leaderboard ranking data. |
| GET |
getIndicesLeaderboard /api/leaderboard/indices |
Get indices leaderboard ranking data. |
| GET |
getCorporateBondsLeaderboard /api/leaderboard/corporate-bonds |
Get corporate bonds leaderboard ranking data. |
| News | ||
| GET |
getEconomicNews /api/news/economic |
Get economic news list |
| GET |
getBondNews /api/news/bond |
Get bond market news list |
| GET |
getETFNews /api/news/etf |
Get ETF market news list |
| GET |
getStockNews /api/news/stock |
Get stock market news list |
| GET |
getForexNews /api/news/forex |
Get forex market news list |
| GET |
getFuturesNews /api/news/futures |
Get futures market news list |
| GET |
getIndexNews /api/news/index |
Get index market news list |
| GET |
getCryptoNews /api/news/crypto |
Get cryptocurrency market news list |
| GET |
getNews /api/news |
Get financial news list with optional symbol filtering, language selection, and market filtering |
| GET |
getNewsDetail /api/news/{newsId} |
Get detailed content of a news article by its ID with language selection |
| Metadata | ||
| GET |
getLanguages /api/metadata/languages |
Get list of all supported languages with code and name |
| GET |
getTabs /api/metadata/tabs |
Get list of all available tab configurations with id, title and type. Optionally filter by asset type. |
| GET |
getMarkets /api/metadata/markets |
Get list of all available market codes from configuration |
| GET |
getColumnsets /api/metadata/columnsets |
Get column set metadata grouped by asset type |
| GET |
getExchanges /api/metadata/exchanges |
Get list of all available exchanges (353+ exchanges) including major stock exchanges (NASDAQ, NYSE, HKEX, SSE, SZSE, TSE, LSE, Euronext, XETR) and major cryptocurrency exchanges… |
| GET |
getWorldEconomyIndicators /api/metadata/world-economy/indicators |
Get world economy indicator metadata. Supports filtering by category (comma-separated), e.g. gdp,lbr. |
| Logo | ||
| GET |
getLogo /logo |
Get TradingView logo images. The logo path should be obtained from currency-logoid, base-currency-logoid, or logoid fields returned by other endpoints. If the path does not have… |
| MCP Server | ||
| POST |
Generate MCP Token /api/mcp/generate |
Access TradingView data through the Model Context Protocol, enabling AI assistants (like Claude, Cursor) to interact with TradingView tools using a standardized protocol. The MCP… |
| WebSocket & Server-Sent Events | ||
| POST |
Generate WebSocket Tokens /api/token/generate |
Generate JWT tokens and WebSocket URL for WebSocket authentication. Returns both the authentication token and the WebSocket connection URL. |
| POST |
Generate SSE Tokens /api/token/generate |
SSE endpoint for one-way real-time streaming with automatic browser reconnect behavior. Requires JWT authentication using the same token generation as WebSocket. |
| Market Data | ||
| GET |
Market Data /api/market-data/{symbol} |
Fetch comprehensive market data including company info, financials, indicators, analyst recommendations, enterprise value, credit ratings, and cash flow data. Returns categorized… |
| GET |
Company /api/market-data/{symbol}/company |
Get company name, industry, country, exchange and other basic information |
| GET |
Overview /api/market-data/{symbol}/overview |
Get high-level company and market snapshot data, including revenue and earnings summary fields, share counts, all-time price extremes, and revenue breakdown fields. |
| GET |
CashFlow /api/market-data/{symbol}/cash-flow |
Get operating, investing, financing activities cash flow and other cash flow statement data |
| GET |
CreditRatings /api/market-data/{symbol}/credit-ratings |
Get S&P, Fitch and other credit rating agency information |
| GET |
EnterpriseValue /api/market-data/{symbol}/enterprise-value |
Get enterprise value, EV/EBITDA and other enterprise valuation metrics |
| GET |
AnalystRecommendations /api/market-data/{symbol}/analyst-recommendations |
Get analyst buy/hold/sell recommendations, price targets and other analyst rating data |
| GET |
Dividend /api/market-data/{symbol}/dividend |
Get dividend, dividend yield, ex-dividend date and other dividend related data |
| GET |
HistoryAnnual /api/market-data/{symbol}/history-annual |
Get historical multiple years financial data arrays |
| GET |
HistoryQuarterly /api/market-data/{symbol}/history-quarterly |
Get historical multiple quarters financial data arrays |
| GET |
FinancialsAnnual /api/market-data/{symbol}/financials-annual |
Get latest annual balance sheet, income statement, and cash flow statement data |
| GET |
FinancialsQuarterly /api/market-data/{symbol}/financials-quarterly |
Get latest quarterly balance sheet, income statement, and cash flow statement data |
TradingView Data pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 2 / second |
|
| PRO | $10 / month | 5 / second |
|
| ULTRA Recommended | $30 / month | 5 / second |
|
| MEGA | $80 / month | 5 / second |
|