Stocks · ETFs · Crypto · Forex · Indices 50 Symbols/Call = 0.04 Credits/Symbol 2 Live REST GET · 2 Hosted MCP Tools 2 Credits/Call · HTTP 504/429 = 0 Credits

TradingView Financial Data API & Hosted MCP Server

Power multi-asset watchlists, scheduled OHLC time-series candle collectors, and autonomous quant & equity research AI agents from one clean JSON gateway. Batch up to 50 TradingView symbols per 2-credit GET call (NASDAQ:AAPL, NASDAQ:NVDA, BINANCE:BTCUSDT, FX:EURUSD, SP:SPX), pair live snapshots with global EPS & revenue earnings calendars, and trim LLM token spend by -83.8% via mode="summary".

Up to 50 / Call
Batch stocks, ETFs, crypto, FX & indices in one flat 2-credit request
0.04 cr / Symbol
Amortized cost at 50 symbols/call ($47 Pack = up to 625,000 ticker snapshots)
-83.8% Tokens
Measured compression: 15.7 KB (~3,932 tok) → 2.5 KB (~643 tok) in summary mode
0 Credits on 504/429
Flat 2 credits on HTTP 200 only; strict zero-charge retry guarantee + 0-PII
100% Production Contract · https://api.upp3.com

2 Live TradingView REST Endpoints + 2 Hosted MCP Tools

Zero fabricated routes: EdgeData exposes two high-throughput TradingView GET endpoints (both billed at 2 credits per HTTP 200 call) mapped 1:1 to Hosted MCP tools at https://mcp.upp3.com/mcp.

REST Endpoint & MCP Tool Verified Query Parameters Core Output Fields (mode="summary") Billing & Compliance
Batch Multi-Asset Quotes & OHLC Snapshot
GET/v1/finance/tradingview/quotes
MCP: tradingview_get_quotes
1–50 comma-separated TradingView symbols per request:
symbols (1..50 comma-separated) mode=raw|summary
Example: NASDAQ:AAPL,NASDAQ:NVDA,BINANCE:BTCUSDT,FX:EURUSD,SP:SPX
Top-level: source, count, estimated_tokens_saved_pct.
Each item in quotes[]: symbol, ticker, name, exchange, currency, price, change, change_percent, open, high, low, volume, market_cap, pe_ratio, recommendation. (mode=raw adds oscillators, EMA/SMA arrays & pivot points.)
2 credits/call
0.04 cr / symbol
504/429 = 0 credits
Global Corporate Earnings Calendar
GET/v1/finance/tradingview/calendar/earnings
MCP: tradingview_get_earnings_calendar
Filter upcoming and reported earnings windows across global exchanges:
markets (e.g. america, uk, europe) from_date (YYYY-MM-DD) to_date (YYYY-MM-DD) page_size (1..200) cursor mode=raw|summary
Top-level: source, total, total_returned, next_cursor, estimated_tokens_saved_pct.
Each item in earnings[]: symbol, ticker, company, earnings_date, period, eps_forecast, eps_actual, eps_surprise_pct, revenue_forecast, revenue_actual, market_cap, currency.
2 credits/call
Up to 200 rows/page
504/429 = 0 credits
tradingview_get_quotes

Fetch live prices, daily OHLC snapshots, volume, valuation multiples, and technical rating signals for 1 to 50 cross-asset symbols in one Hosted MCP tool call.

default mode="summary" GET /v1/finance/tradingview/quotes · 2 cr
tradingview_get_earnings_calendar

Retrieve paginated global corporate earnings schedules with EPS/revenue forecasts, actuals, and surprise percentages across america, uk, and europe.

default mode="summary" GET /v1/finance/tradingview/calendar/earnings · 2 cr
Hosted Streamable HTTP: https://mcp.upp3.com/mcp  ·  stdio CLI: uvx edgedata-mcp  ·  Auth: Authorization: Bearer YOUR_EDGEDATA_API_KEY
Honest Engineering Architecture · Multi-Asset OHLC & Technicals

Multi-Asset Quotes, OHLC Snapshots & Custom K-Line Pipelines

How quant teams capture real-time multi-asset OHLC snapshots and build custom minute or daily K-line time-series tables—without browser scrapers, WebSocket anti-bot breakage, or $20k/yr terminal licenses.

1. Multi-Asset 50-Symbol Batching

5 Asset Classes in One Synchronous JSON Call

Pass mixed exchange-prefixed symbols to GET /v1/finance/tradingview/quotes in a single request and receive normalized numeric fields across global venues:

NASDAQ:AAPL NASDAQ:NVDA BINANCE:BTCUSDT FX:EURUSD SP:SPX

Each object returns live price, open, high, low, change, volume, market_cap, and technical recommendation (with full oscillators & EMA/SMA matrices available via mode="raw").

2. Scheduled OHLC → Custom K-Line Bars

Zero-Anti-Bot Time-Series Candle Ingestion

EdgeData intentionally provides synchronous live OHLC snapshots via /v1/finance/tradingview/quotes rather than a separate historical bar route:

  • Run a lightweight cron or async worker every 1m, 5m, 15m, or market close polling batches of 50 symbols (2 credits per 50 symbols).
  • Append (timestamp_utc, symbol, price, open, high, low, volume) directly into TimescaleDB, ClickHouse, or DuckDB.
  • Aggregate clean 1m / 1h / 1D OHLCV K-line bars locally with zero proxy churn or headless browser maintenance.
3. Event-Driven Quant & AI Research Agent

Combine Quotes with Global Earnings Catalysts

Pair live cross-asset price action with corporate earnings calendars to automate event studies and pre-market research briefs:

  • Query /v1/finance/tradingview/calendar/earnings for upcoming america, uk, or europe reporters.
  • Extract up to 50 reporting tickers and batch-fetch live quotes & technicals in a single follow-up 2-credit call.
  • Need alt-data cross-checks across 15 additional platforms? See the Global Equity & Earnings Alt-Data Blueprint.
Informational Market Data & Non-Advisory Compliance Notice

EdgeData API (upp3.com) aggregates publicly available market quotes and corporate earnings schedules strictly for software engineering, FinTech dashboards, and quantitative research pipelines. Not Investment Advice: Nothing returned by EdgeData REST or MCP endpoints constitutes financial, investment, trading, or legal advice.

Unit Economics & Verified Token Benchmarks

0.04 Credits/Symbol Batch Math & -83.8% LLM Token Compression

Stretch both your API credit budget and your LLM context window: batch 50 instruments into one 2-credit call, and enable mode="summary" to drop raw oscillator noise before feeding AI agents.

50-Symbol Batch Amortization Math

0.04 Credits / Symbol

Because GET /v1/finance/tradingview/quotes charges a flat 2 credits/call for 1 to 50 symbols, batching cuts per-symbol cost by 50x:

$47 Once Credit Pack
625,000
Max symbol quotes (12,500 calls)
Effective Unit Cost
$0.075
Per 1,000 batched symbol quotes
2 credits ÷ 50 symbols = 0.04 credits/symbol $49/mo Pro = up to 375,000 quotes/mo $149/mo Scale = up to 1,500,000 quotes/mo

mode="summary" Token Compression

-83.8% Tokens

Measured on EdgeData’s 5-symbol multi-asset benchmark (/v1/finance/tradingview/quotes) verified live on /sample-responses:

mode="raw"
15.7 KB
~3,932 LLM tokens
mode="summary"
2.5 KB
~643 LLM tokens
Kept: price, OHLC, volume, market_cap, pe_ratio, recommendation Dropped: 14x oscillators, 14x EMA/SMA arrays, pivot tables
2 Credits · HTTP 200 Inspect Full Raw vs Summary →
{
  "ok": true,
  "source": "tradingview",
  "mode": "summary",
  "data": {
    "source": "tradingview",
    "count": 5,
    "quotes": [
      {
        "symbol": "NASDAQ:AAPL",
        "ticker": "AAPL",
        "name": "Apple Inc.",
        "exchange": "NASDAQ",
        "currency": "USD",
        "price": 242.85,
        "change": 3.14,
        "change_percent": 1.31,
        "open": 240.1,
        "high": 243.4,
        "low": 239.55,
        "volume": 48291400.0,
        "market_cap": 3684200000000.0,
        "pe_ratio": 34.8,
        "recommendation": "BUY"
      },
      {
        "symbol": "NASDAQ:NVDA",
        "ticker": "NVDA",
        "name": "NVIDIA Corporation",
        "exchange": "NASDAQ",
        "currency": "USD",
        "price": 141.6,
        "change": 4.25,
        "change_percent": 3.09,
        "open": 138.2,
        "high": 142.35,
        "low": 137.8,
        "volume": 219840100.0,
        "market_cap": 3472100000000.0,
        "pe_ratio": 52.4,
        "recommendation": "STRONG_BUY"
      },
      {
        "symbol": "BINANCE:BTCUSDT",
        "ticker": "BTCUSDT",
        "name": "Bitcoin / TetherUS",
        "exchange": "BINANCE",
        "currency": "USDT",
        "price": 98420.5,
        "change": 2140.25,
        "change_percent": 2.22,
        "open": 96280.25,
        "high": 99110.0,
        "low": 95890.0,
        "volume": 31482.6,
        "market_cap": 1948500000000.0,
        "recommendation": "STRONG_BUY"
      },
      {
        "symbol": "FX:EURUSD",
        "ticker": "EURUSD",
        "name": "Euro / U.S. Dollar",
        "exchange": "FX",
        "currency": "USD",
        "price": 1.0584,
        "change": 0.0021,
        "change_percent": 0.2,
        "open": 1.0563,
        "high": 1.0598,
        "low": 1.0549,
        "recommendation": "NEUTRAL"
      },
      {
        "symbol": "SP:SPX",
        "ticker": "SPX",
        "name": "S&P 500 Index",
        "exchange": "SP",
        "currency": "USD",
        "price": 6086.4,
        "change": 24.8,
        "change_percent": 0.41,
        "open": 6062.1,
        "high": 6091.75,
        "low": 6058.2,
        "recommendation": "BUY"
      }
    ],
    "estimated_tokens_saved_pct": 83.8
  },
  "meta": {
    "channel": "direct",
    "plan": "pro",
    "items_returned": 5,
    "credits_charged": 2,
    "credits_remaining": 14998,
    "elapsed_ms": 294
  }
}
4-Language Copy-Ready Integration · Auto Session Key Sync

Python, TypeScript, cURL & Hosted MCP Quickstart

Drop directly into quant ingestion jobs, FinTech backends, or Claude/Cursor MCP workspaces. Claim a free key in the wizard below and every snippet syncs your live session key automatically.

Key Sync Ready
import asyncio
from datetime import datetime, timezone
import os
from typing import Any

import httpx

API_BASE = "https://api.upp3.com"
API_KEY = os.getenv("EDGEDATA_API_KEY", "YOUR_EDGEDATA_API_KEY")

WATCHLIST = [
    "NASDAQ:AAPL",
    "NASDAQ:NVDA",
    "BINANCE:BTCUSDT",
    "FX:EURUSD",
    "SP:SPX",
]


async def get_zero_charge_retry(
    client: httpx.AsyncClient,
    path: str,
    params: dict[str, Any],
    max_retries: int = 3,
) -> dict[str, Any]:
    """Query EdgeData TradingView endpoints; HTTP 504/429 strictly charge 0 credits."""
    for attempt in range(max_retries):
        resp = await client.get(f"{API_BASE}{path}", params=params)
        if resp.status_code in (429, 504) and attempt < max_retries - 1:
            await asyncio.sleep(1.5 * (attempt + 1))
            continue
        resp.raise_for_status()
        return resp.json()
    raise RuntimeError(f"Upstream unavailable after {max_retries} attempts: {path}")


async def collect_ohlc_snapshot_and_earnings(
    symbols: list[str],
    from_date: str,
    to_date: str,
) -> dict[str, Any]:
    headers = {"X-API-Key": API_KEY, "Accept": "application/json"}
    captured_at = datetime.now(timezone.utc).isoformat()
    ohlc_rows: list[dict[str, Any]] = []
    credits_used = 0

    async with httpx.AsyncClient(headers=headers, timeout=30.0) as client:
        # Batch up to 50 multi-asset symbols per 2-credit request (0.04 credits/symbol)
        for idx in range(0, len(symbols), 50):
            batch = symbols[idx : idx + 50]
            quote_res = await get_zero_charge_retry(
                client,
                "/v1/finance/tradingview/quotes",
                {"symbols": ",".join(batch), "mode": "summary"},
            )
            credits_used += quote_res["meta"]["credits_charged"]
            for q in quote_res["data"].get("quotes", []):
                ohlc_rows.append(
                    {
                        "ts_utc": captured_at,
                        "symbol": q.get("symbol"),
                        "price": q.get("price"),
                        "open": q.get("open"),
                        "high": q.get("high"),
                        "low": q.get("low"),
                        "volume": q.get("volume"),
                        "recommendation": q.get("recommendation"),
                    }
                )

        earnings_res = await get_zero_charge_retry(
            client,
            "/v1/finance/tradingview/calendar/earnings",
            {
                "markets": "america,uk,europe",
                "from_date": from_date,
                "to_date": to_date,
                "page_size": 50,
                "mode": "summary",
            },
        )
        credits_used += earnings_res["meta"]["credits_charged"]

    return {
        "captured_at": captured_at,
        "ohlc_rows": ohlc_rows,
        "upcoming_earnings_count": earnings_res["data"].get("total_returned", 0),
        "credits_charged": credits_used,
    }


if __name__ == "__main__":
    out = asyncio.run(
        collect_ohlc_snapshot_and_earnings(WATCHLIST, "2026-12-07", "2026-12-14")
    )
    print(out)
Build vs Buy · Quant Infrastructure Economics

EdgeData TradingView API vs Legacy Terminals & DIY Scrapers

Compare total engineering cost, multi-asset batch throughput, anti-bot reliability, and native AI agent readiness side by side.

Evaluation Dimension EdgeData TradingView API + MCP Legacy Financial Terminals DIY TradingView Scrapers
Entry Pricing & Commitment $0 Free (100 cr/mo) · $47 Once (25,000 never-expiring cr) · $49/mo Pro · $149/mo Scale $1,500–$2,500+ per seat/month with annual contracts & redistribution add-ons Proxy pool ($80–$400/mo) + headless browser VMs + ongoing engineer hours
Multi-Asset Coverage in 1 Call Up to 50 symbols/call across US/EU stocks, ETFs, crypto, FX & indices (0.04 credits/symbol) High coverage, often split into separate exchange entitlement packages Brittle WebSocket/DOM parsers break frequently on schema & rate-limit updates
AI Agent & MCP Readiness Native Hosted MCP (tradingview_get_quotes & tradingview_get_earnings_calendar) + -83.8% mode="summary" No native Hosted MCP; verbose schemas burn LLM context windows Custom MCP server & JSON normalization required before connecting Claude/Cursor
Timeout & Rate-Limit Billing Strict 0 Credits Charged on upstream HTTP 504/429 responses Fixed license fee regardless of query volume or idle periods Residential proxy bandwidth billed even on failed or blocked requests
Zero-Friction Onboarding · No Credit Card Required

Claim Your Free TradingView API & MCP Key

Start with 100 free credits/mo immediately (50 batch calls = up to 2,500 multi-asset symbol quotes). Once issued, all 4 code tabs above auto-fill with your session API key.

2 Credits/Call · 0 Credits on HTTP 504/429

Transparent Pricing for Indie Quants & FinTech Teams

Both TradingView endpoints cost 2 credits per successful HTTP 200 call. Start free, grab a never-expiring top-up pack for periodic research, or scale with predictable monthly RPM tiers.

No Card

Free Tier

$0
100 credits / mo

50 batch TradingView calls/mo (up to 2,500 multi-asset ticker snapshots) across REST and Hosted MCP.

Claim Free Key →
Production

Pro Plan

$49/mo
15,000 credits / mo · 60 RPM

7,500 finance calls/mo (up to 375,000 symbol quotes) at 60 RPM for live watchlists and scheduled OHLC collectors.

Start Pro Plan →
High Volume

Scale Plan

$149/mo
60,000 credits / mo · 200 RPM

30,000 finance calls/mo (up to 1,500,000 symbol quotes) at 200 RPM for multi-market quant pipelines and agent fleets.

Start Scale Plan →
Plan Your Polling Cadence & Credit Runway

Use the interactive API Credit & TCO Calculator to size 50-symbol batch polling intervals, or benchmark EdgeData against external scraping vendors on /compare.

Technical FAQ

TradingView Financial Data API & MCP Frequently Asked Questions

Clear answers on live endpoints, OHLC-to-candle time-series pipelines, 50-symbol batch math, token compression, and zero-charge error handling.

Which exact TradingView REST endpoints and MCP tools does EdgeData provide?
EdgeData provides 2 live production TradingView GET endpoints mapped 1:1 to 2 Hosted MCP tools: GET /v1/finance/tradingview/quotes (MCP: tradingview_get_quotes) for 1 to 50 comma-separated multi-asset symbols per call, and GET /v1/finance/tradingview/calendar/earnings (MCP: tradingview_get_earnings_calendar) for global corporate earnings schedules filtered by markets, from_date, to_date, page_size, and cursor.
Does EdgeData expose a historical /candles route, or how do teams build minute and daily K-line bars?
EdgeData focuses on live quote snapshots rather than a separate historical candles endpoint. Each call to GET /v1/finance/tradingview/quotes returns live price, intraday OHLC (open, high, low, change), volume, market_cap, and technical recommendation across up to 50 equities, ETFs, crypto, forex, and index symbols at once (plus full oscillators, EMA/SMA moving averages, and pivot points in mode="raw"). Scheduling periodic polls into TimescaleDB, ClickHouse, or DuckDB lets teams build custom 1m, 5m, 1h, or daily K-line time-series bars with zero anti-bot friction.
How does 50-symbol batching reduce per-ticker API cost?
Both TradingView endpoints charge a flat 2 credits per successful HTTP 200 call regardless of whether you request 1 symbol or 50 symbols in the symbols query parameter. Batching 50 instruments lowers effective usage to 0.04 credits per symbol snapshot—so the $47 Once Credit Pack (25,000 never-expiring credits) yields 12,500 batch calls or up to 625,000 individual ticker snapshots.
How much context window does mode=summary save for AI quant and financial research agents?
On EdgeData’s verified 5-symbol multi-asset benchmark on /sample-responses, mode="summary" shrinks TradingView quote payloads from 15.7 KB (~3,932 tokens) down to 2.5 KB (~643 tokens)—an 83.8% reduction—by stripping raw oscillator matrices, moving-average arrays, and pivot tables while preserving price, change_percent, open, high, low, volume, market_cap, pe_ratio, and recommendation. Hosted MCP tools default to mode="summary" automatically.
Are upstream HTTP 504 or 429 errors billed, and is TradingView data investment advice?
No credits are ever deducted on upstream HTTP 504 timeout or HTTP 429 rate-limit responses—only successful HTTP 200 responses deduct 2 credits/call. All TradingView endpoints return public market quotes and earnings schedules strictly for informational research, FinTech interfaces, and engineering pipelines; nothing returned constitutes investment, trading, or financial advice.