TradingView Data API

Quotes, technical indicators, fundamental financials, screener, earnings calendar, trade ideas, and market news โ€” structured JSON via a single POST request.

12 endpoints 1 credit per call EXCHANGE:SYMBOL lookup No session cookies

Why TradingView Data Is Hard to Access

TradingView is the charting and social platform for over 60 million traders. Its data โ€” technical ratings, fundamental financials, earnings calendars, screener results, and community trade ideas โ€” is rich and real-time, but there is no official public REST API. Accessing it requires maintaining an authenticated browser session, parsing JavaScript-rendered responses, and handling rate limits and session expiry. These endpoints handle all of that: send a POST with a ticker symbol, get clean JSON back.

All TradingView Endpoints

Endpoint What It Returns Cost
/api/tradingview/quotes Full quote snapshot: price, OHLCV, market cap, P/E, EPS, dividend yield, beta, 52-week range, sector, analyst rating, technical rating 1 credit
/api/tradingview/quotes/technicals Technical analysis summary (Buy/Sell/Neutral), moving averages rating, oscillators rating, plus 20+ indicator values: RSI, MACD, EMA/SMA (10/20/50/100/200), Stochastic, CCI, ADX, Ichimoku, VWMA, Hull MA 1 credit
/api/tradingview/quotes/financials 25+ fundamental metrics: revenue (FY + TTM), gross profit, EBITDA, net income, free cash flow, EPS, ROE, ROA, margins, debt/equity, P/E, P/B, P/S, current ratio, dividend payout ratio 1 credit
/api/tradingview/quotes/performance Price performance across 12 horizons (1d, 5d, 1w, 1m, 3m, 6m, YTD, 1y, 5y, 10y, all-time), plus daily/weekly/monthly volatility, all-time high/low, 52-week high/low 1 credit
/api/tradingview/screener Screened instruments filtered by region, exchange, sector, analyst rating, market cap range, price range, P/E range, dividend yield minimum. Sorted by any field. 1 credit
/api/tradingview/earnings Upcoming earnings calendar: EPS forecast, revenue forecast, EPS surprise (prior release), market cap, sector, next/last release timestamps 1 credit
/api/tradingview/ideas Community trade ideas (optionally filtered by ticker): title, author, symbol, strategy, boost count, comment count, image, URL 1 credit
/api/tradingview/news Market news feed: headline, provider, urgency level, related symbols, exclusive flag, published timestamp, URL 1 credit
/api/tradingview/quotes/news Ticker-specific news articles: headline, provider, urgency, related symbols, exclusive flag, published timestamp, URL 1 credit
/api/tradingview/quotes/documents SEC filings, earnings transcripts, and investor reports: title, category, event type, fiscal period/year, provider, report date, file views 1 credit
/api/tradingview/quotes/related Peer instruments in the same industry: symbol, name, price, change, market cap, sector, country, exchange 1 credit
/api/tradingview/quotes/search Instrument search by name, symbol, ISIN, CUSIP, or CIK: symbol, full symbol, type, exchange, country, currency, ISIN, CUSIP, CIK, primary listing flag 1 credit

What You Can Build

Technical Signal Pipelines

Pull RSI, MACD, EMA/SMA across 5 time periods, ADX, Stochastic, and a composite Buy/Sell/Neutral rating in one call. Feed into alerting systems, backtesting workflows, or trading bots without maintaining a charting session.

Fundamental Research Tools

Retrieve 25+ annual and TTM financial metrics โ€” revenue, EBITDA, margins, debt ratios, and valuation multiples โ€” for any ticker. Build screeners, DCF models, or competitor analysis dashboards on clean structured data.

Earnings Intelligence Workflows

Combine the earnings calendar (EPS forecasts, revenue expectations, surprise history) with the documents endpoint (transcripts, 10-K/10-Q filings) to build pre-earnings briefing tools or post-earnings analysis automation.

Market Screener Automation

Filter thousands of instruments by sector, market cap range, P/E, dividend yield, analyst rating, and technical rating simultaneously. Schedule daily screens and route results to spreadsheets, Slack, or databases.

Quick Start

Get a full quote snapshot
# Full quote + analyst/technical rating for Apple
curl -X POST "https://api.anysite.io/api/tradingview/quotes"   -H "access-token: YOUR_TOKEN"   -H "Content-Type: application/json"   -d '{"symbol": "NASDAQ:AAPL"}'

# Technical analysis indicators
curl -X POST "https://api.anysite.io/api/tradingview/quotes/technicals"   -H "access-token: YOUR_TOKEN"   -H "Content-Type: application/json"   -d '{"symbol": "NASDAQ:TSLA"}'

# Upcoming earnings calendar (next 7 days, US market)
curl -X POST "https://api.anysite.io/api/tradingview/earnings"   -H "access-token: YOUR_TOKEN"   -H "Content-Type: application/json"   -d '{"count": 20, "region": "america", "days_ahead": 7}'
Python โ€” quotes, technicals, fundamentals
import requests

BASE = "https://api.anysite.io"
HEADERS = {"access-token": "YOUR_TOKEN", "Content-Type": "application/json"}

# Get quote snapshot
resp = requests.post(f"{BASE}/api/tradingview/quotes",
    headers=HEADERS, json={"symbol": "NASDAQ:AAPL"})
quote = resp.json()
print(quote["name"], quote["close"], quote["analyst_rating"])

# Get technical indicators
resp = requests.post(f"{BASE}/api/tradingview/quotes/technicals",
    headers=HEADERS, json={"symbol": "NASDAQ:AAPL"})
tech = resp.json()
print(tech["summary_rating"], "RSI:", tech["rsi"], "MACD:", tech["macd_level"])

# Get fundamental financials
resp = requests.post(f"{BASE}/api/tradingview/quotes/financials",
    headers=HEADERS, json={"symbol": "NASDAQ:AAPL"})
fin = resp.json()
print("Revenue TTM:", fin["total_revenue_ttm"])
print("Net margin:", fin["net_margin_fy"])
Screener โ€” filter by sector, market cap, and analyst rating
import requests

BASE = "https://api.anysite.io"
HEADERS = {"access-token": "YOUR_TOKEN", "Content-Type": "application/json"}

# Screen large-cap tech stocks with strong buy ratings
resp = requests.post(f"{BASE}/api/tradingview/screener",
    headers=HEADERS,
    json={
        "region": "america",
        "sector": "Technology Services",
        "analyst_rating": "Strong Buy",
        "min_market_cap": 10000000000,
        "sort_by": "market_cap",
        "sort_order": "desc",
        "count": 25
    })
results = resp.json()
for stock in results:
    print(stock["symbol"], stock["close"], stock["analyst_rating"])

Pricing

Use Case Calls / Run Credits
Full profile: quote + technicals + financials + performance 4 4 credits
Daily earnings calendar (20 companies) 1 1 credit
Sector screen โ€” top 50 results 1 1 credit
Peer comparison: related + performance for 10 peers 11 11 credits
News feed + ideas (market-wide) 2 2 credits

Frequently Asked Questions

Does this require a TradingView account or subscription?
No. You only need an Anysite API key. Anysite handles all session management and authentication with TradingView on the backend โ€” you send a POST request with your access-token header and receive clean JSON, with no TradingView account, cookies, or subscription required on your end.
What format does the symbol parameter use?
Symbols use TradingView's EXCHANGE:SYMBOL format โ€” for example NASDAQ:AAPL, NYSE:BRK.A, or BINANCE:BTCUSDT. If you only have a ticker without the exchange prefix, use /api/tradingview/quotes/search to resolve it to a full symbol and confirm the primary listing exchange before calling the other endpoints.
How current is the data?
Quote and technical data reflects TradingView's live feed, which follows the standard exchange delay (typically 15 minutes for US equities during market hours). Fundamental financials, filings, and earnings calendar data update when TradingView's underlying data providers publish new figures โ€” typically within hours of an official release.
Which markets and asset classes are supported?
The endpoints support any instrument on TradingView: US and international equities, ETFs, indices, forex pairs, crypto, and futures. The region parameter on screener and earnings defaults to america but can be set to other regions. Use /api/tradingview/quotes/search with an ISIN, CUSIP, or CIK to locate instruments by identifier rather than ticker.
Can I get community trade ideas for a specific ticker?
Yes. Pass the optional symbol parameter (e.g. NASDAQ:AAPL) to /api/tradingview/ideas to filter the ideas feed to a specific instrument. Omit the parameter to retrieve the global ideas feed across all instruments.
What technical indicators does the technicals endpoint return?
The /api/tradingview/quotes/technicals endpoint returns a composite summary rating (Buy/Sell/Neutral with a numeric value), separate moving averages and oscillators ratings, and 20+ individual indicator values: RSI, Stochastic %K/%D, CCI(20), ADX, Awesome Oscillator, Momentum, MACD level and signal, EMA and SMA at 10/20/50/100/200 periods, Ichimoku Base Line, VWMA, and Hull MA(9).

Start pulling TradingView data today

One API key. 12 TradingView endpoints. Quotes, technicals, fundamentals, screener, earnings, ideas, and news โ€” all in clean JSON.