get_forex_quote
tradingview.comReturns a comprehensive real-time forex quote from https://www.tradingview.com, including OHLC, bid/ask spread, volume, change, technical summary, key indicators, and performance metrics.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_forex_quote?
Returns a comprehensive real-time forex quote from https://www.tradingview.com, including OHLC, bid/ask spread, volume, change, technical summary, key indicators, and performance metrics. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass pair, exchange, timeframe and get the result back without maintaining a scraper.
Response
{
"ask": 0,
"bid": 0,
"low": 0,
"high": 0,
"open": 0,
"pair": "<string>",
"market": "<string>",
"spread": 0,
"symbol": "<string>",
"volume": 0,
"exchange": "<string>",
"timezone": "<string>",
"timeframe": "<string>",
"asset_type": "<string>",
"description": "<string>",
"observed_at": "<string>",
"price_scale": 0,
"spread_pips": 0,
"update_mode": "<string>",
"change_value": 0,
"base_currency": "<string>",
"current_price": 0,
"change_percent": 0,
"key_indicators": {
"macd": 0,
"adx_14": 0,
"cci_20": 0,
"ema_20": 0,
"rsi_14": 0,
"sma_20": 0,
"macd_signal": 0,
"stochastic_d": 0,
"stochastic_k": 0
},
"market_session": "<string>",
"quote_currency": "<string>",
"spread_percent": 0,
"minimum_movement": 0,
"fractional_pricing": true,
"technicals_summary": {
"overall": {
"score": 0,
"signal": "<string>"
},
"oscillators": {
"score": 0,
"signal": "<string>"
},
"moving_averages": {
"score": 0,
"signal": "<string>"
}
},
"performance_metrics": {
"all_time_percent": 0,
"five_day_percent": 0,
"one_week_percent": 0,
"one_year_percent": 0,
"ten_year_percent": 0,
"five_year_percent": 0,
"one_month_percent": 0,
"six_month_percent": 0,
"three_year_percent": 0,
"three_month_percent": 0,
"year_to_date_percent": 0
}
}Call it
curl --location 'https://us-prod.notte.cc/functions/724c2066-057e-475f-8f7e-399155c27ffd/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "724c2066-057e-475f-8f7e-399155c27ffd",
"variables": {
"pair": "EURUSD",
"exchange": "OANDA",
"timeframe": "1d"
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="724c2066-057e-475f-8f7e-399155c27ffd") — the "get_forex_quote" function, which returns a comprehensive real-time forex quote from https://www.tradingview.com, including OHLC, bid/ask spread, volume, change, technical summary, key indicators, and performance metrics.. It takes pair (str), exchange (str), timeframe (str). Return the result as structured JSON.