Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APITradingView

    tradingview.symbol

    An instrument's quote on TradingView: price, change, volume, range, performance, and for a company its market value and key figures.

    Id
    tradingview.symbol
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/tradingview.symbol/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of tradingview.symbol
    FieldTypeDescription
    symbolrequiredstringThe instrument: its exchange and ticker joined by a colon, e.g. NASDAQ:AAPL, LSE:VOD, BINANCE:BTCUSDT, FX:EURUSD; or the address of its page on tradingview.com. tradingview.search finds the symbol for a name.Limit: at least 3 characters, at most 300 characters.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of tradingview.symbol
    FieldTypeNotes
    positioninteger or nullThe row's place in the screener's order, from 1. Null for a single symbol.Limit: at least 1.
    symbolstringTradingView's symbol, exchange and ticker joined by a colon, e.g. NASDAQ:AAPL. tradingview.symbol takes it.
    tickerstringThe ticker on its exchange, e.g. AAPL.
    namestring or nullThe instrument's name, e.g. Apple Inc. or Bitcoin / TetherUS.
    urlstringThe instrument's page on tradingview.com.
    typestring or nullTradingView's kind of instrument: stock, fund, index, forex, spot (a crypto pair), futures, bond, economic, dr.
    type_detailsarray of stringTradingView's finer marks of the kind, e.g. common, etf, crypto, continuous.
    exchangestring or nullThe exchange or source the quote is from, e.g. NASDAQ, LSE, BINANCE.
    currencystring or nullThe currency the price is quoted in, e.g. USD. London shares are quoted in pence (GBX).
    countrystring or nullThe country the issuer is registered in, by name. Null for currencies, crypto and futures.
    sectorstring or nullThe sector TradingView files a company under.
    industrystring or nullThe industry within the sector.
    pricenumber or nullThe last price (the close of the current or last session), in currency.
    opennumber or nullThe opening price of that session.
    highnumber or nullThe highest price of that session.
    lownumber or nullThe lowest price of that session.
    changenumber or nullThe change from the previous close, in currency.
    change_percentnumber or nullThe same change, in percent of the previous close.
    volumenumber or nullThe volume traded in that session: shares, contracts, or units of the base currency for a crypto pair.
    average_volume_10dnumber or nullThe average daily volume over the last ten sessions.
    price_timestring (date-time) or nullThe start of the session the price belongs to, in UTC.
    update_modestring or nullHow fresh TradingView's price is: streaming (not delayed), delayed_streaming_900 (delayed by that many seconds) or endofday.
    delay_secondsinteger or nullThe delay of the price in seconds, when it is delayed; 0 for a price that is not delayed; null when TradingView does not say.
    market_capnumber or nullThe company's market capitalisation, in fundamentals_currency.
    pe_rationumber or nullThe price to earnings ratio over the trailing twelve months. Null for a company with a loss.
    epsnumber or nullBasic earnings per share over the trailing twelve months, in fundamentals_currency.
    dividend_yield_percentnumber or nullThe dividend yield, in percent of the price.
    betanumber or nullThe one-year beta against the market.
    week_52_highnumber or nullThe highest price of the last 52 weeks.
    week_52_lownumber or nullThe lowest price of the last 52 weeks.
    all_time_highnumber or nullThe highest price in TradingView's history of the instrument.
    all_time_lownumber or nullThe lowest price in that history.
    performanceobjectThe price change over six periods, in percent.
    week (in performance)number or nullThe price change over the last week, in percent.
    month (in performance)number or nullThe price change over the last month, in percent.
    three_months (in performance)number or nullThe price change over the last three months, in percent.
    six_months (in performance)number or nullThe price change over the last six months, in percent.
    year_to_date (in performance)number or nullThe price change since the start of the calendar year, in percent.
    year (in performance)number or nullThe price change over the last twelve months, in percent.
    technical_ratingnumber or nullTradingView's summary of its technical indicators, from -1 (strong sell) through 0 (neutral) to 1 (strong buy).
    rsinumber or nullThe 14-day relative strength index, 0 to 100.
    isinstring or nullThe security's ISIN.
    employeesinteger or nullThe company's number of employees.
    revenuenumber or nullThe company's revenue of its last fiscal year, in fundamentals_currency.
    net_incomenumber or nullThe company's net income of its last fiscal year, in fundamentals_currency.
    shares_outstandingnumber or nullThe number of shares outstanding.
    shares_floatnumber or nullThe number of shares free to trade.
    next_earnings_atstring (date-time) or nullWhen the company next reports earnings, in UTC.
    fundamentals_currencystring or nullThe currency of market_cap, eps, revenue and net_income, e.g. USD.
    logostring or nullThe address of the instrument's logo, an SVG image.
    fetched_atstring (date-time)When TradingView was asked, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/tradingview.symbol/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"symbol":"NASDAQ:AAPL"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("tradingview.symbol", {"symbol": "NASDAQ:AAPL"})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("tradingview.symbol", { symbol: "NASDAQ:AAPL" });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "tradingview.symbol", map[string]any{"symbol": "NASDAQ:AAPL"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("tradingview.symbol", Map.of("symbol", "NASDAQ:AAPL"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run tradingview.symbol --input symbol=NASDAQ:AAPL

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "symbol": "NASDAQ:AAPL"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "tradingview.symbol",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "symbol": "NASDAQ:AAPL"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "position": null,
          "symbol": "NASDAQ:AAPL",
          "ticker": "AAPL",
          "name": "Apple Inc.",
          "url": "https://www.tradingview.com/symbols/NASDAQ-AAPL/",
          "type": "stock",
          "type_details": [
            "common"
          ],
          "exchange": "NASDAQ",
          "currency": "USD",
          "country": "United States",
          "sector": "Electronic Technology",
          "industry": "Telecommunications Equipment",
          "price": 352.45,
          "open": 351.94,
          "high": 356.42,
          "low": 351.4706,
          "change": 0.5399999999999636,
          "change_percent": 0.15344832485577664,
          "volume": 34053460,
          "average_volume_10d": 42700089.5,
          "price_time": "2026-11-18T14:30:00Z",
          "update_mode": "delayed_streaming_900",
          "delay_seconds": 900,
          "market_cap": 5121867472538.601,
          "pe_ratio": 39.27238286255501,
          "eps": 9.0105,
          "dividend_yield_percent": 0.306896649711574,
          "beta": 0.6877092,
          "week_52_high": 360.83,
          "week_52_low": 243.42,
          "all_time_high": 360.83,
          "all_time_low": 0.049107,
          "performance": {
            "week": 0.8310804045258758,
            "month": 3.4260142322646945,
            "three_months": 11.023609645461564,
            "six_months": 15.134587743368607,
            "year_to_date": 29.455841031386015,
            "year": 30.54187192118226
          },
          "technical_rating": 0.4,
          "rsi": 56.556242513985076,
          "isin": "US0378331005",
          "employees": 167000,
          "revenue": 478834000000,
          "net_income": 132175000000,
          "shares_outstanding": 14532200000,
          "shares_float": 14514819488.8,
          "next_earnings_at": "2027-02-04T12:00:00Z",
          "fundamentals_currency": "USD",
          "logo": "https://s3-symbol-logo.tradingview.com/apple.svg",
          "fetched_at": "2026-11-19T18:07:41.539489Z"
        }
      ],
      "next_cursor": null
    }

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the TradingView scrapers are in their own section there.