TradingView API for public pages
Send any TradingView page URL with recipe=tradingview and get symbol, price, market_cap and 12 more fields as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 15 fields
- 1 credits a page · $0.10 per 1,000
- Working · 100% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.tradingview.com/symbols/NASDAQ-TSLA/' \
--data-urlencode 'recipe=tradingview'
{
"result": {
"quote": {
"symbol": "TSLA",
"price": "359.63",
"market_cap": "1.52 T USD",
"pe_ratio": "444.20"
}
},
"success": true
}
Is there an official TradingView API?
No official API
No. TradingView says it has no API for data or indicator values. Its REST API is only for brokers integrating with its trading platform.
Source: tradingview.com on tradingview.com, checked November 6, 2026.
How to get TradingView data as JSON today
- Get a free API key: 5,000 free credits for 7 days, no card.
- Send any TradingView page URL with
recipe=tradingviewto the Scrape API (the call). - Get 15 fields as JSON, 1 credits a page, billed only when the call succeeds.
Ujeebu's TradingView recipe returns symbol, price, market_cap and 12 more fields from any public TradingView page as JSON: send the URL with recipe=tradingview to the Scrape API, 1 credits a page, no TradingView account or partner approval needed.
What you get from TradingView
The fields of each page type and a real sample from our last validation, shortened.
Public pages recipe=tradingview 1 credits a page
| Field | Type | Example |
|---|---|---|
dataset.description | text | Historical and real-time Tesla, Inc. stock price data from NASDAQ w... |
dataset.name | text | TSLA price data |
image | image URL | https://s3-symbol-logo.tradingview.com/tesla--600.png |
url | URL | https://www.tradingview.com/symbols/NASDAQ-TSLA/ |
quote.beta | number (as text) | 1.82 |
quote.currency | text | USD |
quote.eps | text | 1.00 USD |
quote.exchange | text | NASDAQ |
quote.market_cap | text | 1.52 T USD |
quote.name | text | Tesla, Inc. |
quote.net_income | text | 3.79 B USD |
quote.pe_ratio | number (as text) | 444.20 |
Show all 16 fields
quote.price | number (as text) | 359.63 |
quote.revenue | text | 94.83 B USD |
quote.shares_float | text | 2.82 B |
quote.symbol | text | TSLA |
Sample answer, validated 2026-11-14
{
"quote": {
"beta": "1.82",
"currency": "USD",
"eps": "1.00 USD",
"exchange": "NASDAQ",
"market_cap": "1.52 T USD",
"name": "Tesla, Inc.",
"net_income": "3.79 B USD",
"pe_ratio": "444.20",
"price": "359.63",
"revenue": "94.83 B USD",
"shares_float": "2.82 B",
"symbol": "TSLA"
},
"dataset": {
"description": "Historical and real-time Tesla, Inc. stock price data from NASDAQ with charts, trends, and key market metrics.",
"name": "TSLA price data"
},
"image": "https://s3-symbol-logo.tradingview.com/tesla--600.png",
"url": "https://www.tradingview.com/symbols/NASDAQ-TSLA/"
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on TradingView (a plain request (no browser needed)).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.tradingview.com/symbols/NASDAQ-TSLA/' \
--data-urlencode 'recipe=tradingview'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.tradingview.com/symbols/NASDAQ-TSLA/", "recipe": "tradingview"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
quote = r.json()["result"]["quote"]
print(quote["symbol"], quote["price"], quote["market_cap"], quote["pe_ratio"])
# Example output: TSLA 359.63 1.52 T USD 444.20
const params = new URLSearchParams({
url: "https://www.tradingview.com/symbols/NASDAQ-TSLA/",
recipe: "tradingview",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
const quote = result.quote;
console.log(quote.symbol, quote.price, quote.market_cap, quote.pe_ratio);
// Example output: TSLA 359.63 1.52 T USD 444.20
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
What people build with TradingView data
Media monitoring
Track the articles published on the topics and companies you follow.
Learn moreContent for AI and RAG
Collect headlines, dates and summaries as structured input for search and LLM pipelines.
Learn more
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Page | 1 | $0.16 | $0.10 |
FAQ
Is there a TradingView API?
No. TradingView says it has no API for data or indicator values. Its REST API is only for brokers integrating with its trading platform. Ujeebu's TradingView recipe returns symbol, price, market_cap and 12 more fields from any public TradingView page as JSON: send the URL with recipe=tradingview to the Scrape API, 1 credits a page, no TradingView account or partner approval needed.
Does TradingView have a public API?
No. TradingView says it has no API for data or indicator values. Its REST API is only for brokers integrating with its trading platform. The public pages are the way in: Ujeebu's TradingView recipe returns symbol, price, market_cap and 12 more fields from any public TradingView page as JSON: send the URL with recipe=tradingview to the Scrape API, 1 credits a page, no TradingView account or partner approval needed.
What does the TradingView recipe return?
JSON with 15 fields from page (recipe=tradingview), for example symbol, price, market_cap, pe_ratio, name. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape TradingView?
1 credits a page ($0.10 per 1,000 on Pro, $0.16 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on TradingView: a plain request (no browser needed). Send only the URL and recipe=tradingview.
What happens when TradingView changes its pages?
We check TradingView every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I change the fields?
Yes. Send your own extract_rules or any setting (js, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.
Related recipes
- SubstackArticle · 5 credits
Yahoo FinancePage · 5 credits
Yahoo NewsSearch results, Article · 5 credits
AFP Fact CheckArticle · 5 credits
Al JazeeraArticle · 5 credits
Ars TechnicaSearch results, Article · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with TradingView.
Get TradingView data as JSON today.
5,000 free credits for 7 days. No card.