+TradingView API
TradingView symbols, screener data, technical ratings, calendars and trade ideas as JSON.
The API.SH TradingView API returns public TradingView data as JSON. Search symbols and read one symbol's overview, run the screener for stocks, crypto or forex, and pull technical ratings by timeframe. It also covers financials, earnings and economic calendars, hotlists such as top gainers, news headlines, and community trade ideas with comments and user profiles.
- 12 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/tradingview/v1/ search
{ "success": true } What you can build with the TradingView API
Stock and crypto screening
Run the screener with your own columns, filters and sort order, or pull hotlists like gainers, losers and unusual volume.
Technical analysis signals
Read the summary rating with buy, sell and neutral counts and indicators such as RSI and ADX for any symbol and timeframe.
Fundamentals and calendars
Get income statement, balance sheet, cash flow and ratios, plus earnings and economic calendars with importance levels.
Sentiment and idea tracking
Collect community trade ideas and comments for a symbol, sorted by recent or trending, to gauge sentiment.
TradingView data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
TradingView API endpoints and prices
Every TradingView endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| TradingView hotlists (top gainers, losers, most active) /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView symbol search /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView user profile /tradingview/ | $1 · $2 PAYG 1 credit |
| Comments on a TradingView idea /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView technical analysis ratings /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView screener (stocks, crypto, forex) /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView earnings calendar /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView economic calendar /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView financial statements /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView trade ideas /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView news headlines /tradingview/ | $1 · $2 PAYG 1 credit |
| TradingView symbol overview /tradingview/ | $1 · $2 PAYG 1 credit |
Call the TradingView API
TradingView symbol search: GET https://api.api.sh/tradingview/
curl "https://api.api.sh/tradingview/v1/search?q=apple" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/tradingview/v1/search",
params={"q": "apple"},
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/search");
url.searchParams.set("q", "apple");
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(); # Google Sheets (API.SH add-on)
=APISH("/tradingview/v1/search", "q", "apple")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "TradingView" and "TradingView symbol search".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for TradingView data
- Public data only: no TradingView login, cookies or account needed
- One key and one response shape for TradingView and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official TradingView API
TradingView does not offer a public REST or WebSocket API for market data. Its official developer products are the Charting Library and Advanced Charts, which embed charts in your app but need your own datafeed. API.SH returns public TradingView data as JSON without a datafeed.
Skip fragile GitHub scrapers and unofficial WebSocket libraries, and compare it against third-party TradingView API vendors: API.SH gives you one key and a fixed price per call.
TradingView API questions
What TradingView data can I get?+
Symbol search and overview (/tradingview/v1/search, /tradingview/v1/symbol), the screener (/tradingview/v1/screener), hotlists (/tradingview/v1/hotlists), technical ratings (/tradingview/v1/technicals), financials (/tradingview/v1/financials), earnings and economic calendars, news (/tradingview/v1/news), ideas (/tradingview/v1/ideas), idea comments and user profiles (/tradingview/v1/user).
How much does the TradingView API cost?+
Every TradingView endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /tradingview/v1/earnings-calendar at 1 credit each.
Is there an official TradingView API?+
TradingView has no public data API. It offers the Charting Library for embedding charts, and you supply the price data. API.SH is not affiliated with TradingView and returns public TradingView data as JSON.
Do I need a TradingView account or login?+
No. API.SH reads public TradingView pages only. No endpoint uses a login, cookies or anyone's account.
Is there a free TradingView API?+
Not an official data API. Open source libraries exist but are unofficial and can break. API.SH is paid per call, with 1,000 free credits every month to test it.
Does TradingView provide historical data?+
Not price history. This API returns symbol overviews, technical ratings, calendars and financials for past fiscal periods, but it has no OHLC price series.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /tradingview/v1/screener with market=america, or /tradingview/v1/technicals with a symbol. Request examples and every parameter are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.