APIs / Finance / TradingView

1 credit per call3 endpoints21 datapointsChecked working 25 Nov 2026

TradingView API

TradingView API for symbol search, trading ideas by symbol and screener values for a list of symbols and columns as JSON. 1 credit per successful call.

TradingView
GET/v1/tradingview/symbol-search?text=apple
{
  "data": {
    "symbols": [
      {
        "symbol": "AAPL",
        "description": "Apple Inc.",
        "type": "stock",
        "exchange": "NASDAQ",
        "found_by_isin": false,
        "found_by_cusip": false,
        "cusip": "037833100",
        "isin": "US0378331005",
        "cik_code": "0000320193",
        "currency_code": "USD",
        "currency-logoid": "country/US",
        "logoid": "apple",
        "logo": {
          "style": "single",
          "logoid": "apple"
        },
        "provider_id": "ice",
        "source_logoid": "source/NASDAQ",
        "source2": {
          "id": "NASDAQ",
          "name": "Nasdaq Stock Market",
          "description": "Nasdaq Stock Market"
        },
        "source_id": "NASDAQ",
        "country": "US",
        "is_primary_listing": true,
        "typespecs": [
          "common"
        ],
        "full_id": "NASDAQ:AAPL"
      },
      {
        "symbol": "APLE",
        "description": "Apple Hospitality REIT, Inc.",
        "type": "stock",
        "exchange": "NYSE",
        "found_by_isin": false,
        "found_by_cusip": false,
        "ipo_offer_time": 1431955800,
        "cusip": "03784Y200",
        "isin": "US03784Y2000",
        "cik_code": "0001418121",
        "currency_code": "USD",
        "currency-logoid": "country/US",
        "logoid": "apple-hospitality-reit",
        "logo": {
          "style": "single",
          "logoid": "apple-hospitality-reit"
        },
        "provider_id": "ice",
        "source_logoid": "source/NYSE",
        "source2": {
          "id": "NYSE",
          "name": "New York Stock Exchange",
          "description": "New York Stock Exchange"
        },
        "source_id": "NYSE",
        "country": "US",
        "is_primary_listing": true,
        "typespecs": [
          "common"
        ],
        "full_id": "NYSE:APLE"
      },
      {
        "symbol": "89A",
        "description": "Apple Inc - STND Futures",
        "type": "futures",
        "exchange": "ICEEUR",
        "found_by_isin": false,
        "found_by_cusip": false,
        "currency_code": "USD",
        "currency-logoid": "country/US",
        "provider_id": "ice",
        "source_logoid": "source/ICEEUR",
        "source2": {
          "id": "ICEEUR",
          "name": "ICE Futures Europe",
          "description": "ICE Futures Europe"
        },
        "source_id": "ICEEUR",
        "country": "EU",
        "contracts": [
          {
            "symbol": "89A1!",
            "source_logoid": "source/ICEEUR",
            "typespecs": [
              "continuous",
              "synthetic"
            ]
          },
          {
            "symbol": "89A2!",
            "source_logoid": "source/ICEEUR",
            "typespecs": [
              "continuous",
              "synthetic"
            ]
          },
          {
            "symbol": "89AZ2026",
            "source_logoid": "source/ICEEUR",
            "description": "Dec 2026"
          }
        ],
        "full_id": "ICEEUR:89A"
      }
    ],
    "symbols_remaining": 1009,
    "count": 50
  },
  "success": true,
  "meta": {
    "duration_ms": 407,
    "endpoint_family": "tradingview_symbol_search",
    "request_id": "req_4e15107f833944549701cf3708d8b5a1",
    "credits_charged": 1,
    "credits_remaining": 996
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of symbol-search: the fields and shapes you will get, shortened to 3 items.

#symbolstringdescriptionstringtypestringexchangestringfound_by_isinbooleanfound_by_cusipbooleancusipstringisinstringcik_codestringcurrency_codestringcurrency-logoidstringlogoidstringlogoobjectprovider_idstringsource_logoidstringsource2objectsource_idstringcountrystringis_primary_listingbooleantypespecsstring[]full_idstring
1AAPLApple Inc.stockNASDAQfalsefalse037833100US03783310050000320193USDcountry/USapple{2 fields}icesource/NASDAQ{3 fields}NASDAQUStrue[1 item]NASDAQ:AAPL
2APLEApple Hospitality REIT, Inc.stockNYSEfalsefalse03784Y200US03784Y20000001418121USDcountry/USapple-hospitality-reit{2 fields}icesource/NYSE{3 fields}NYSEUStrue[1 item]NYSE:APLE
389AApple Inc - STND FuturesfuturesICEEURfalsefalse———USDcountry/US——icesource/ICEEUR{3 fields}ICEEUREU——ICEEUR:89A

Recorded from our API · 3 items shown · 21 datapoints per itemGET /v1/tradingview/symbol-search?text=apple

21 datapoints

Identity

  • typestring
  • logoidstring
  • provider_idstring
  • source_logoidstring
  • source_idstring
  • typespecsstring[]
  • full_idstring

Location

  • countrystring

Price

  • currency_codestring
  • currency-logoidstring

Other

  • symbolstring
  • descriptionstring
  • exchangestring
  • found_by_isinboolean
  • found_by_cusipboolean
  • cusipstring
  • isinstring
  • cik_codestring
  • logoobject
  • source2object
  • is_primary_listingboolean

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/tradingview/symbol-search?text=apple" \
  -H "X-API-Key: $API_KEY"

TradingView · 3 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/tradingview/ideas
none+3 optional
idimage_urlnamedescriptioncreated_atupdated_at+24 more
1 credit
POST/v1/tradingview/screener-snapshot
symbolscolumns+3 optional
totalCountdatarowscolumnsrange
1 credit
GET/v1/tradingview/symbol-search
text
symboldescriptiontypeexchangefound_by_isinfound_by_cusip+17 more
1 credit

Overview

About the TradingView API

What you can get

The TradingView API returns TradingView symbols, ideas and screener data as JSON through 3 endpoints.

  • Symbol search: symbol-search takes a text.
  • Ideas: ideas takes a symbol, with sort (trending, recent, latest_popular, week_popular, suggested, recent_extended or picked_time) and page.
  • Screener snapshot: screener-snapshot takes symbols and columns, both lists, with market (global, america, crypto, forex, bond, futures, coin, economics2 or cfd), page and range.

The recorded symbol-search for "apple" returns symbols, count and symbols_remaining. Each symbol has symbol, description, type, exchange, country, currency_code, isin, cusip, is_primary_listing and full_id. The first result is Apple Inc. with full_id NASDAQ:AAPL; the call returned a count of 50 with 1009 more remaining.

How a call works

Find the symbol, then read it: GET /v1/tradingview/symbol-search?text=apple, with your key in the X-API-Key header, returns each match's full_id. Pass it to ideas, for example GET /v1/tradingview/ideas?symbol=NASDAQ:AAPL&sort=recent&page=1, or to screener-snapshot, a POST with symbols ["NASDAQ:AAPL", "NASDAQ:MSFT"] and columns ["close", "volume", "market_cap_basic"]. That snapshot returned rows, each with a symbol and its values keyed by column. Every successful call costs 1 credit; failed calls cost nothing.

FinanceJSONRESTMCP

More finance APIs

Use cases

Resolve a company name to an exchange-qualified symbol, ISIN or CUSIP

Use the TradingView API to resolve a company name to an exchange-qualified symbol, ISIN or CUSIP

Read the latest trading ideas for a ticker

Use the TradingView API to read the latest trading ideas for a ticker

Track idea activity with `views_count` and `comments_count`

Use the TradingView API to track idea activity with `views_count` and `comments_count`

Pull close, volume and market cap for a watchlist in one call

Use the TradingView API to pull close, volume and market cap for a watchlist in one call

FAQ

Questions

How much does the TradingView API cost?

Each successful call costs one credit, whichever endpoint you call, and each page of ideas is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

How many ideas can I page through?

The recorded `ideas` call for `NASDAQ:AAPL` reported a `count` of 1000, with a `page_size` of 20 over 50 pages. Each idea has `name`, `description`, `created_at`, `chart_url`, `symbol` and `user`.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Do I need a TradingView account?

No. You call this TradingView API with your Perceptlayer key in the `X-API-Key` header, with no TradingView login.

Is this the official TradingView API?

No. Perceptlayer is an independent service and is not affiliated with TradingView. It returns TradingView data as JSON with a Perceptlayer key, so there is no TradingView developer account, app review or partner approval to get first. It only reads data: if TradingView has an official API and you need to act on your own TradingView account, such as posting, managing orders or reading private data, use that one.

Should I build a TradingView scraper instead?

You can, but a TradingView scraper is code you maintain: page changes break it, requests get blocked, and TradingView's terms govern how you collect data. The TradingView API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the TradingView API with 100 free credits

No credit card. Failed calls are never billed.