Sources › Finance › TradingView › Screener

TradingView Screener API
Filter and rank a whole exchange by price, market cap, sector and more.
Request
https://api.zapi.ink/v1/finance:tradingview/screenerSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| market | enum: indonesia | america | crypto | forex | malaysia | singapore | thailand | japan | hongkong | india | uk | germany | australia | futures | cfd | bond | argentina | austria | bahrain | bangladesh | belgium | bonds | brazil | canada | chile | china | coin | colombia | cyprus | czech | denmark | economics2 | egypt | estonia | finland | france | global | greece | hungary | iceland | israel | italy | kenya | korea | ksa | kuwait | latvia | lithuania | luxembourg | mexico | morocco | netherlands | newzealand | nigeria | norway | pakistan | peru | philippines | poland | portugal | qatar | romania | rsa | russia | serbia | slovakia | slovenia | spain | srilanka | sweden | switzerland | taiwan | tunisia | turkey | venezuela | vietnam | query | No | Market to scan. Default indonesia Example: indonesia |
| search | string | query | No | Filter by ticker or company name Example: bank |
| columns | string | query | No | Comma-separated extra data columns to return, up to 100. Omit for the standard set. 4,084 names are accepted, including bid/ask/bid_ask_spread_pct for forex, on-chain and social metrics for crypto, dividends, pre/post-market and analyst targets for equities, and any indicator with a |1 |5 |15 |30 |60 |120 |240 |1W |1M suffix Example: bid,ask,bid_ask_spread_pct |
| sortBy | string | query | No | Upstream column to sort on. Default market cap Example: market_cap_basic |
| sortOrder | enum: desc | asc | query | No | Sort direction. Defaults to desc, or asc when sorting forex by name Example: desc |
| page | number | query | No | Page number. Default 1 Example: 1 |
| count | number | query | No | Rows per page. Default 50, max 1000 Example: 50 |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:tradingview/screener?market=indonesia&search=bank&columns=bid%2Cask%2Cbid_ask_spread_pct&sortBy=market_cap_basic&sortOrder=desc&page=1&count=50" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:tradingview/screener?market=indonesia&search=bank&columns=bid%2Cask%2Cbid_ask_spread_pct&sortBy=market_cap_basic&sortOrder=desc&page=1&count=50", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:tradingview/screener", params={"market":"indonesia","search":"bank","columns":"bid,ask,bid_ask_spread_pct","sortBy":"market_cap_basic","sortOrder":"desc","page":"1","count":"50"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:tradingview", "data": { "page": 1, "count": 5, "items": [ { "last": 6325, "name": "PT Bank Central Asia Tbk", "change": -125, "sector": "Finance", "symbol": "IDX:BBCA", "ticker": "BBCA", "volume": 153174800, "peRatio": 13.405200751623779, "exchange": "IDX", "marketCap": 779714671484375, "changePercent": -1.937984496124031 }, { "last": 3040, "name": "PT Bank Rakyat Indonesia (Persero) Tbk Class B", "change": 50, "sector": "Finance", "symbol": "IDX:BBRI", "ticker": "BBRI", "volume": 226634400, "peRatio": 7.82939339714289, "exchange": "IDX", "marketCap": 459397912503040, "changePercent": 1.6722408026755853 }, { "last": 4190, "name": "PT Bank Mandiri (Persero) Tbk", "change": 30, "sector": "Finance", "symbol": "IDX:BMRI", "ticker": "BMRI", "volume": 97657300, "peRatio": 6.278753581998949, "exchange": "IDX", "marketCap": 392951904790270, "changePercent": 0.7211538461538461 }, { "last": 3530, "name": "PT Bank Negara Indonesia (Persero) Tbk Class B", "change": -20, "sector": "Finance", "symbol": "IDX:BBNI", "ticker": "BBNI", "volume": 48321300, "peRatio": 6.473911603413677, "exchange": "IDX", "marketCap": 131590388558217, "changePercent": -0.5633802816901409 }, { "last": 1820, "name": "PT Bank Syariah Indonesia (Persero) Tbk", "change": 35, "sector": "Finance", "symbol": "IDX:BRIS", "ticker": "BRIS", "volume": 7921400, "peRatio": 10.642303976947131, "exchange": "IDX", "marketCap": 83955256328125, "changePercent": 1.9607843137254901 } ], "query": "bank", "total": 49, "market": "indonesia", "hasMore": true, "nextPage": 2 }, "timestamp": "2026-08-02T04:21:07Z" }
Frequently asked questions
How do I call the TradingView Screener API?
Send a GET request to https://api.zapi.ink/v1/finance:tradingview/screener with your Zapi key in the x-api-key header. Parameters — optional: market, search, columns, sortBy, sortOrder, page, count. The response is JSON in the { project, data, timestamp } envelope.
What does the TradingView Screener API return?
Filter and rank a whole exchange by price, market cap, sector and more. The example response has the fields page, count, items, query, total, market, hasMore, nextPage. Each item in items has fields such as last, name, change, sector, symbol, ticker, volume, peRatio.
Is the TradingView Screener API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the TradingView Screener API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "tradingview" and endpoint "screener".
What other TradingView API endpoints are there?
It has 12 endpoints. Besides Screener: Symbol, Markets, Chart, Technicals, Performance, Financials, and 5 more.