Discover/TradingView API
live

TradingView APItradingview.com

Get real-time forex quotes, OHLC bars, RSI/MACD/pivot points, and multi-pair scans from TradingView via 4 structured JSON endpoints.

This API takes change requests — .
Endpoint health
verified 3d ago
scan_forex
get_chart
get_technicals
get_quote
4/4 passing latest checkself-healing
Endpoints
4
Updated
10d ago

What is the TradingView API?

This API exposes 4 endpoints covering live forex market data from TradingView, including the get_quote endpoint which returns a full price object (close, open, high, low, bid, ask, spread), technical summary scores, 8-period performance metrics, and key oscillator readings for any major currency pair. Additional endpoints cover detailed technical analysis, multi-pair scanning, and historical OHLC bar data at configurable intervals.

This call costs1 credit / call— charged only on success
Try it
Forex pair symbol (e.g., EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, NZDUSD, EURGBP, EURJPY)
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.
Call it over HTTPgrab 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 · 4 totalmissing one? ·

Get a comprehensive real-time forex quote including current price, OHLC, bid/ask spread, volume, change, technical summary, key indicators, and performance metrics. Returns a single Quote resource for the specified forex pair. The technicals_summary provides a quick Buy/Sell/Neutral signal; use get_technicals for a full breakdown.

Input
ParamTypeDescription
symbolstringForex pair symbol (e.g., EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, NZDUSD, EURGBP, EURJPY)
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 vs. 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.15465,
        "bid": 1.15463,
        "low": 1.15256,
        "high": 1.15559,
        "open": 1.15354,
        "close": 1.15468,
        "spread": 0.00002
      },
      "change": {
        "change_abs": 0.00115,
        "change_percent": 0.0997
      },
      "symbol": "FX:EURUSD",
      "volume": 55531,
      "currency": "USD",
      "exchange": "FX",
      "indicators": {
        "atr": 0.00562,
        "rsi": 38.69,
        "macd": -0.00364,
        "stoch_d": 18.96,
        "stoch_k": 22.55,
        "macd_signal": -0.00282,
        "volatility_daily": 0.263
      },
      "description": "Euro vs. US Dollar",
      "performance": {
        "ytd": -1.632,
        "weekly": -0.435,
        "yearly": 1.109,
        "monthly": -2.006,
        "all_time": 115.1,
        "five_years": -4.635,
        "six_months": -1.625,
        "three_months": 0.309
      },
      "average_volume_10d": 149523.3,
      "technicals_summary": {
        "scores": {
          "overall": -0.49,
          "oscillators": -0.18,
          "moving_averages": -0.8
        },
        "overall": "Sell",
        "oscillators": "Sell",
        "moving_averages": "Strong Sell"
      }
    },
    "status": "success"
  }
}

About the TradingView API

Quote and Price Data

get_quote returns a composite snapshot for a single forex pair. The price object includes close, open, high, low, bid, ask, and spread. The change object provides both change_percent and change_abs. Beyond price, the response includes a performance object covering eight time horizons: weekly, monthly, three_months, six_months, ytd, yearly, five_years, and all_time. The technicals_summary field gives a top-level overall rating alongside separate moving_averages and oscillators scores. The symbol input accepts pairs like EURUSD or USDJPY; the exchange param lets you select between FX, OANDA, or FX_IDC.

Technical Analysis

get_technicals returns the full indicator breakdown that get_quote summarizes. The oscillators object includes rsi, stoch_k, stoch_d, stoch_rsi_k, macd, macd_signal, cci, adx, adx_plus_di, adx_minus_di, awesome_oscillator, and momentum. The moving_averages object covers EMA and SMA at 10, 20, 30, 50, 100, and 200 periods, plus hull_ma_9 and vwma. The pivot_points object returns both classic and fibonacci sets, each with r3, r2, r1, pivot, s1, s2, and s3 levels. The recommendation object mirrors the scoring structure from get_quote.

Multi-Pair Scanning and Chart Data

scan_forex accepts a comma-separated symbols string (e.g., EURUSD,GBPUSD,USDJPY) and returns a pairs array where each element includes price fields, bid/ask, volume, change, and a per-pair Buy/Sell/Neutral recommendation with RSI. The total field confirms the number of pairs returned. get_chart returns OHLC bar arrays for a single pair at a specified interval, sorted ascending by Unix timestamp. The bars parameter accepts values from 1 to 30, though actual bar counts depend on market session and available data. Each bar contains timestamp, open, high, low, close, and volume.

Reliability & maintenanceVerified

The TradingView API is a managed, monitored endpoint for tradingview.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when tradingview.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official tradingview.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Display live bid/ask spreads and mid-price for a forex widget alongside RSI and MACD readings from get_quote
  • Build a multi-currency watchlist by scanning EURUSD, GBPUSD, USDJPY, and AUDUSD simultaneously with scan_forex
  • Identify overbought/oversold conditions using get_technicals oscillator outputs including CCI, ADX, and Stochastic RSI
  • Plot recent OHLC bars for backtesting or charting with timestamped data from get_chart
  • Calculate entry and exit zones using classic and Fibonacci pivot point levels returned by get_technicals
  • Track medium-to-long-term pair performance using the weekly through all-time fields in get_quote's performance object
  • Aggregate technical recommendation scores across multiple pairs to rank directional bias using scan_forex
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. 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 offers a charting library and a broker integration API (Pine Script, Trading Platform), but there is no public REST API that freely exposes forex quotes, technicals, or pivot points for third-party use. Access to those data products typically requires a commercial data agreement.
What does `get_technicals` return that `get_quote` does not?+
get_quote includes a summary of oscillator and moving-average scores plus a handful of key indicators (RSI, MACD, ATR, Stochastic). get_technicals returns the full set: all 12 oscillator fields, EMA/SMA values at six periods each, Hull MA, VWMA, Ichimoku levels, and both classic and Fibonacci pivot point sets with seven levels each.
How many bars does `get_chart` actually return?+
The bars parameter accepts 1–30 as input, but the bars_count field in the response reflects what was actually available. For intraday intervals the current in-progress bar is included; for non-trading days or low-liquidity sessions, fewer bars than requested may come back. Always read bars_count rather than assuming the input value was fulfilled.
Does the API cover equity, crypto, or commodity symbols beyond forex pairs?+
Not currently. All four endpoints are scoped to forex pairs and the exchange parameter accepts only FX, OANDA, and FX_IDC. You can fork this API on Parse and revise it to add endpoints targeting other asset classes.
Are historical bars beyond the most recent 30 available through `get_chart`?+
Not currently. get_chart returns up to 30 recent bars depending on the interval and session data available. For deeper historical series you would need a different data source. You can fork this API on Parse and revise it to add an endpoint pulling longer historical ranges.
Page content last updated . Spec covers 4 endpoints from tradingview.com.
Related APIs in FinanceSee all →
forex.com API
Access real-time forex prices and currency exchange rates, track client sentiment and pivot points, and browse economic calendar events. Search across multiple currency instruments and retrieve rollover rates.
barchart.com API
Monitor live stock quotes and commodity prices, analyze options chains with gamma exposure data, and access historical market time series to track top-performing stocks. Use real-time and historical data to make informed trading and investment decisions across equities and commodities.
alphavantage.co API
Track stock prices, forex rates, and cryptocurrency values with real-time and historical market data, while accessing company financials, earnings reports, and technical indicators. Search tickers, monitor economic indicators, analyze news sentiment, and get global quotes all in one place.
yahoofinance.com API
Access live stock quotes, historical price data, company profiles, and financial news for any ticker symbol. Supports real-time market data, OHLCV history across configurable intervals, detailed company fundamentals, and news aggregation across global exchanges.
dukascopy.com API
Retrieve historical OHLCV candle data for forex, commodities, indices, stocks, bonds, ETFs, and crypto from Dukascopy's market data feed. Browse available instruments and fetch detailed price history to power trading analysis and backtesting strategies.
tradingeconomics.com API
Access real-time economic calendars, macroeconomic indicators, and commodity prices across global markets including G20 nations and emerging economies. Monitor historical charts, country-specific economic data, and the latest financial news to track economic trends and make informed investment decisions.
chartink.com API
Access real-time and historical stock market data from Indian exchanges (NSE/BSE) to analyze fundamentals, technical indicators, and OHLCV metrics, plus run custom stock screeners to find investment opportunities. Search for specific stocks and browse all listed symbols to build data-driven trading strategies and investment research.
ca.finance.yahoo.com API
Access real-time financial data from Yahoo Finance, including cryptocurrency prices, stock quotes, and screened lists of stocks meeting custom criteria such as all-time highs, volume thresholds, and price filters.