Discover/tradingview.com API
live

tradingview.com APIwww.tradingview.com

Access real-time forex quotes, OHLC, bid/ask spreads, RSI, MACD, pivot points, and moving averages for any currency pair via the TradingView API.

Endpoints
3
Updated
3mo ago
Try it
Forex pair symbol (e.g., EURUSD, GBPUSD, USDJPY)
Exchange/data source (FX, OANDA, FX_IDC)
api.parse.bot/scraper/21b5deee-809e-4588-ab98-32b8cc954e33/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/21b5deee-809e-4588-ab98-32b8cc954e33/get_quote?symbol=EURUSD&exchange=FX' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Get a comprehensive real-time forex quote including current price, OHLC, bid/ask spread, volume, change, technical summary, key indicators, and performance metrics.

Input
ParamTypeDescription
symbolstringForex pair symbol (e.g., EURUSD, GBPUSD, USDJPY)
exchangestringExchange/data source (FX, OANDA, FX_IDC)
Response
{
  "type": "object",
  "fields": {
    "price": "object - {close, open, high, low, bid, ask, spread}",
    "change": "object - {change_percent, change_abs}",
    "symbol": "string - Full ticker (e.g., FX:EURUSD)",
    "volume": "integer - Trading volume",
    "indicators": "object - {rsi, stoch_k, stoch_d, macd, macd_signal, atr, volatility_daily}",
    "description": "string - Pair description (e.g., Euro/US Dollar)",
    "performance": "object - {weekly, monthly, three_months, six_months, ytd, yearly, five_years, all_time}",
    "average_volume_10d": "number - 10-day average volume",
    "technicals_summary": "object - {overall, moving_averages, oscillators, scores: {overall, moving_averages, oscillators}}"
  },
  "sample": {
    "data": {
      "type": "forex",
      "price": {
        "ask": 1.16327,
        "bid": 1.16324,
        "low": 1.16172,
        "high": 1.16726,
        "open": 1.16689,
        "close": 1.16318,
        "spread": 0.00003
      },
      "change": {
        "change_abs": -0.00372,
        "change_percent": -0.3188
      },
      "symbol": "FX:EURUSD",
      "volume": 103272,
      "currency": "USD",
      "exchange": "FX",
      "indicators": {
        "atr": 0.00645,
        "rsi": 41.71,
        "macd": 0.000513,
        "stoch_d": 40.38,
        "stoch_k": 19.96,
        "macd_signal": 0.0017,
        "volatility_daily": 0.477
      },
      "description": "Euro/US Dollar",
      "performance": {
        "ytd": -0.908,
        "weekly": -0.787,
        "yearly": 4.098,
        "monthly": -1.386,
        "all_time": 116.69,
        "five_years": -3.695,
        "six_months": -0.007,
        "three_months": -2.008
      },
      "average_volume_10d": 160891.1,
      "technicals_summary": {
        "scores": {
          "overall": -0.491,
          "oscillators": -0.182,
          "moving_averages": -0.8
        },
        "overall": "Sell",
        "oscillators": "Sell",
        "moving_averages": "Strong Sell"
      }
    },
    "status": "success"
  }
}

About the tradingview.com API

This API exposes 3 endpoints that return live forex data sourced from TradingView, covering price quotes, technical indicators, and multi-pair scans. The get_quote endpoint alone surfaces over 20 response fields — including bid, ask, spread, RSI, ATX, MACD, and 8 performance-period metrics. The get_technicals endpoint adds full pivot point tables and 14+ moving average values, while scan_forex lets you query an entire watchlist in one call.

Endpoints and What They Return

The get_quote endpoint accepts a symbol parameter (e.g., EURUSD, GBPUSD) and an optional exchange value (FX, OANDA, or FX_IDC). It returns a price object containing close, open, high, low, bid, ask, and spread, alongside a change object with both change_percent and change_abs. The indicators object covers rsi, stoch_k, stoch_d, macd, macd_signal, atr, and volatility_daily. A performance object breaks down returns across eight time horizons: weekly, monthly, three months, six months, YTD, yearly, five years, and all-time.

Technical Analysis Depth

The get_technicals endpoint returns the same symbol and close fields but goes deeper on analysis. The oscillators object includes cci, adx, adx_plus_di, adx_minus_di, awesome_oscillator, and momentum in addition to the standard RSI and MACD values. The moving_averages object covers EMA and SMA at 10, 20, 30, 50, 100, and 200 periods, plus hull_ma_9, vwma, and Ichimoku values. The pivot_points object provides both Classic and Fibonacci levels — r3, r2, r1, pivot, s1, s2, s3 — for each method. A recommendation object returns overall, moving_averages, and oscillators signals with numeric scores.

Scanning Multiple Pairs

The scan_forex endpoint accepts a comma-separated symbols string (e.g., EURUSD,GBPUSD,USDJPY) and returns a pairs array with per-pair fields including close, open, high, low, bid, ask, change_percent, change_abs, and volume. A total integer confirms how many pairs were returned. This makes it practical to build a live dashboard or run cross-pair comparisons without issuing multiple sequential requests.

Common use cases
  • Display a live forex ticker board showing bid, ask, spread, and daily change for a watchlist via scan_forex
  • Trigger alerts when RSI or MACD crosses a threshold using values from get_quote's indicators object
  • Build a pivot-level chart overlay using Classic and Fibonacci pivot points from get_technicals
  • Compare EMA and SMA values across 6 time periods to identify trend direction for a given pair
  • Track medium- and long-term performance using the 8-period performance object from get_quote
  • Aggregate oscillator and moving-average recommendation scores to rank pairs by technical signal strength
  • Monitor 10-day average volume alongside current volume to detect unusual activity on a currency pair
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does TradingView have an official developer API?+
TradingView does not offer a general-purpose public REST API for external developers. Their charting library (https://www.tradingview.com/HTML5-stock-forex-bitcoin-charting-library/) is available under a separate license but is scoped to embedding charts, not raw data access.
What does the `technicals_summary` object in `get_quote` contain versus the `recommendation` object in `get_technicals`?+
Both objects expose overall, moving_averages, and oscillators signal labels along with a scores sub-object containing numeric values for each. The difference is scope: get_quote bundles this summary alongside price and performance data in a single call, while get_technicals pairs the recommendation with the full underlying indicator values — all oscillators, all moving averages, and pivot points — so you can see what drove the signal.
Which exchanges or data sources are supported?+
The exchange parameter currently accepts FX, OANDA, and FX_IDC. Not all pairs are available on all three sources, so if a symbol returns no data on one exchange, switching to another may resolve it.
Does the API cover cryptocurrency or equity pairs from TradingView?+
Not currently. All three endpoints are scoped to forex pairs — the symbol and exchange parameters are designed around currency pairs like EURUSD or USDJPY. Crypto tokens, stocks, indices, and futures are not covered. You can fork this API on Parse and revise it to add endpoints targeting those asset classes.
Are historical OHLC candles or tick-level data available?+
Not currently. The API returns real-time and current-period values — close, open, high, and low reflect the current trading session. There are no endpoints for historical bars, candlestick series, or tick data. You can fork this API on Parse and revise it to add a historical OHLC endpoint if that data is accessible from the source.
Page content last updated . Spec covers 3 endpoints from www.tradingview.com.
Related APIs in FinanceSee all →
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
guba.eastmoney.com API
Access Chinese stock discussion posts and comments from Eastmoney's community platform to monitor investor sentiment, search board discussions, and retrieve detailed post information and stock board metadata. Get real-time insights into what traders are discussing about specific stocks through posts, replies, and board analytics.
blur.io API
Access NFT collection data on Blur.io, including floor prices, best bids, listed tokens, and recent activity. Authenticate with an Ethereum wallet to place collection bids and retrieve portfolio holdings.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.
blackrock.com API
Access comprehensive BlackRock iShares ETF data to research fund performance, holdings, fees, and sector allocations, plus search and compare specific ETFs. Monitor investment details like distributions, key characteristics, and broad market indices all in one place.
morningstar.com.au API
Access comprehensive financial data for Australian stocks, ETFs, and managed funds including key metrics, valuations, dividends, and historical prices. Search securities, review company profiles and ownership details, and stay informed with market news and upcoming dividend information.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
TradingView Forex API – Real-Time Quotes & Technicals · Parse