TradingView Crypto Market Data API
Live TradingView crypto prices, recent OHLCV candles, RSI and technical indicators, plus crypto market capitalization and dominance. Candle lookback is limited to the recent daily/hourly bars observable through TradingView's public HTTP scanner; a numeric crypto fear-and-greed index has not been verified and is not served. Timestamps are Unix seconds. Prices are source close values in the symbol's quote-currency units; volume is TradingView's raw scanner volume with no separate unit metadata. The transport field identifies live curl_cffi HTTP through the configured residential proxy, not a browser, cache, or freshness guarantee. Errors use source=client for caller input, source=upstream for TradingView responses or transport failures, and source=service for unexpected API failures.
Endpoint health
Loading verification…
Connect your agent
Connect through MCP so your agent can find this API, read its docs, and call its endpoints.
Add the server from your terminal.
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcpIn Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.
Then ask your agent to use the TradingView Crypto Market Data API for your task.
Call it over HTTP
Get an API keySign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.
curl --request GET --get 'https://3kpkg0jfvk.execute-api.us-east-2.amazonaws.com/prod/7054179e-b465-40b1-90ef-3f72bae65709/v1/crypto/BINANCE%3ABTCUSDT/quote' \
--header "Authorization: Bearer $AGENT_DATA_API_KEY"Endpoints
Inputs and response fields for every endpoint in this API.
GETCrypto by symbol quote/v1/crypto/{symbol}/quote
Current TradingView scanner close, change percentage, volume and bar start.
Input
symbolRequiredPath · stringExchange-qualified TradingView crypto ticker (EXCHANGE:TICKER).
Example: BINANCE:BTCUSDT
Response
pricenumbersymbolstringvolumenumber | nulltransportstringprice_unitstringvolume_unitstringbar_start_unixinteger | nullchange_percentnumber | nullGETCrypto by symbol candles/v1/crypto/{symbol}/candles
Sample recent OHLCV bars: requests 3 daily or 2 hourly; actual source bars, newest first.
Input
symbolRequiredPath · stringExchange-qualified TradingView crypto ticker (EXCHANGE:TICKER).
Example: BINANCE:BTCUSDT
intervalRequiredQuery · "1D" | "60"TradingView bar resolution: 1D daily, 60 hourly.
Example: 1D
Response
symbolstringcandlesobject[]candles[].lownumber | nullcandles[].highnumber | nullcandles[].opennumber | nullcandles[].timeintegercandles[].closenumber | nullcandles[].volumenumber | nullinterval"1D" | "60"transportstringprice_unitstringvolume_unitstringGETCrypto market indicators/v1/crypto/market-indicators
Market cap in USD and BTC/ETH dominance percentages from CRYPTOCAP symbols.
Input
No input parameters.
Response
transportstringindicatorsobject[]indicators[].unitstringindicators[].valuenumberindicators[].symbolstringindicators[].change_percentnumber | nullGETCrypto by symbol technicals/v1/crypto/{symbol}/technicals
TradingView's named RSI, oscillators, moving averages and recommendation scores.
Input
symbolRequiredPath · stringExchange-qualified TradingView crypto ticker (EXCHANGE:TICKER).
Example: BINANCE:BTCUSDT
intervalRequiredQuery · "1D" | "60"TradingView bar resolution: 1D daily, 60 hourly.
Example: 1D
Response
symbolstringinterval"1D" | "60"transportstringindicatorsobjectindicator_metadataobjectDon’t see the endpoint you need?
Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.
An account is required to submit an extension. Prepare your request, then sign in to build.