Twelvedata
v0.2.1Twelve Data MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
time_series
Twelve Data OHLC time series for a stock, forex, crypto, or ETF symbol. Requires symbol and interval (e.g. '1min', '1h', '1day'). Returns timestamped open/high/low/close + volume.
| Parameter | Type | Description |
|---|---|---|
interval * | string | Bar interval: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, or 1month. |
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
end_date | string | Optional end of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
order | string | Sort order: "asc" or "desc" (default desc, newest first). |
outputsize | number | Number of data points to return (1–5000, default 30). |
start_date | string | Optional start of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
timezone | string | Optional timezone, e.g. "America/New_York" or "UTC". |
quote
Twelve Data real-time quote snapshot for a symbol: open, high, low, close, volume, 52-week range, exchange, currency. Use for a full current-day market snapshot.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
interval | string | Bar interval: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, or 1month. |
timezone | string | Optional timezone, e.g. "America/New_York" or "UTC". |
price
Twelve Data latest trade price for a single symbol (stock, forex, crypto, ETF). Returns a single numeric price field. Lightest endpoint for current-price lookups.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
eod
Twelve Data end-of-day closing quote for a symbol. Returns the last closing price, volume, and date. Use for daily settlement prices rather than intraday data.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
exchange_rate
Twelve Data live forex exchange rate for a currency pair symbol (e.g. 'EUR/USD'). Optional dp (decimal places) and timezone. Returns rate, timestamp, and pair identifiers.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
dp | number | Decimal places for the rate (0–11). |
format | string | Response format: "JSON" (default) or "CSV". |
timezone | string | Optional timezone, e.g. "America/New_York" or "UTC". |
currency_conversion
Twelve Data real-time currency conversion: pass a forex pair symbol (e.g. 'EUR/USD') and an amount to get the converted value at the current exchange rate.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount in the base currency to convert. |
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
dp | number | Decimal places (0–11). |
format | string | Response format: "JSON" (default) or "CSV". |
stocks
Twelve Data reference list of all supported stock symbols with exchange and country metadata. Use to discover or validate tickers before querying price endpoints.
| Parameter | Type | Description |
|---|---|---|
country | string | Optional country filter (e.g. "United States"). |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
symbol | string | Optional ticker filter (e.g. "AAPL"). |
type | string | Optional instrument type filter (e.g. "Common Stock"). |
forex_pairs
Twelve Data reference list of all supported forex currency pairs (e.g. EUR/USD). Use to enumerate or validate pair symbols before querying exchange_rate or time_series.
| Parameter | Type | Description |
|---|---|---|
currency_base | string | Optional base currency (e.g. "EUR"). |
currency_quote | string | Optional quote currency (e.g. "USD"). |
symbol | string | Optional pair filter (e.g. "EUR/USD"). |
cryptocurrencies
Twelve Data reference list of all supported cryptocurrency symbols with exchange metadata. Use to discover or validate crypto tickers before querying price endpoints.
| Parameter | Type | Description |
|---|---|---|
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
symbol | string | Optional pair filter (e.g. "BTC/USD"). |
etfs
Twelve Data reference list of supported ETF symbols (64,000+ listings worldwide) with exchange and country metadata — paged, default 200 rows, `count` is the total matched. Filter by symbol (e.g. "SPY"), country or exchange. Use to discover or validate ETF tickers before querying price endpoints. A stock ticker (e.g. "AAPL") is not an ETF and returns an empty list with `empty_reason: wrong_instrument_class` — use the stocks tool for those.
| Parameter | Type | Description |
|---|---|---|
country | string | Optional country filter — full name or alpha code (e.g. "Japan", "Germany", "United States", "US"). |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
mic_code | string | Optional ISO 10383 market identifier code filter (e.g. "XNAS", "XLON"). |
outputsize | number | Rows per page (default 200, max 5000). The unfiltered ETF list is 64,000+ rows, so narrow with symbol / country / exchange rather than raising this. |
page | number | Page of the reference list (default 1). `count` in the response is the TOTAL matched; `data` is this page. |
symbol | string | Optional ETF ticker filter (e.g. "SPY", "QQQ", "VTI"). |
indices
Twelve Data reference list of supported market index symbols with exchange metadata — about 1,300 NON-US indices (e.g. N225 Nikkei 225, 000001 SSE Composite, NSEI Nifty 50), paged, default 200 rows. Filter by country (e.g. "Japan", "India", "China"), exchange or symbol. US indices (SPX, DJI, IXIC, NDX, VIX) are NOT in Twelve Data's reference list and quoting them requires a Grow-or-higher Twelve Data key via _apiKey — a US filter here returns that refusal, not an empty list. Use to discover or validate index tickers before querying time_series.
| Parameter | Type | Description |
|---|---|---|
country | string | Optional country filter, full name or alpha code (e.g. "Japan", "India", "China", "Germany"). "United States" returns a plan refusal, not rows. |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
mic_code | string | Optional ISO 10383 market identifier code filter (e.g. "XNAS", "XLON"). |
outputsize | number | Rows per page (default 200, max 5000). The unfiltered ETF list is 64,000+ rows, so narrow with symbol / country / exchange rather than raising this. |
page | number | Page of the reference list (default 1). `count` in the response is the TOTAL matched; `data` is this page. |
symbol | string | Optional index symbol filter (e.g. "N225", "NSEI", "000001"). US symbols such as SPX/DJI/IXIC are not in this list — see the tool description. |
earnings
Twelve Data earnings history and upcoming earnings dates for a stock symbol: EPS estimate, EPS actual, surprise percentage, and report date per quarter.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
end_date | string | Optional end of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
start_date | string | Optional start of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
earnings_calendar
Twelve Data broad earnings calendar — upcoming and recent earnings announcements across all covered symbols. Returns symbol, date, EPS estimate, and time of day (before/after market).
| Parameter | Type | Description |
|---|---|---|
end_date | string | Optional end of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
start_date | string | Optional start of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
dividends
Twelve Data historical dividends for a stock / ETF symbol: ex-date, amount, frequency. Use for income analysis and dividend-capture strategies on Twelve-Data-covered symbols.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
end_date | string | Optional end of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
start_date | string | Optional start of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
splits
Twelve Data historical stock splits for a symbol: ratio, date. Use to adjust historical Twelve Data prices across split events.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
end_date | string | Optional end of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
start_date | string | Optional start of range, "YYYY-MM-DD" or "YYYY-MM-DD HH:MM:SS". |
profile
Twelve Data company profile for a stock symbol: name, sector, industry, employees, CEO, description, website, address, and exchange listing details.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
exchange | string | Optional exchange filter (e.g. "NASDAQ", "NYSE", "Binance"). |
technical_indicator
Compute a technical indicator time series for a stock/forex/crypto symbol via Twelve Data — RSI, SMA, EMA, MACD, Bollinger Bands (bbands), ADX, ATR, Stochastic, CCI, and more. PREFER for "RSI(14) of AAPL", "50-day and 200-day SMA of TSLA", "MACD for BTC/USD", "Bollinger Bands of SPY". This is the right tool for ANY "RSI / SMA / EMA / MACD / moving average / technical indicator for <ticker>" question. Computes ONE indicator per call: if several are requested (e.g. "RSI and the 50-day and 200-day SMA"), call this once per indicator starting with the first — do NOT decline just because multip…
| Parameter | Type | Description |
|---|---|---|
indicator * | string | Indicator (lowercase): rsi, sma, ema, wma, dema, tema, macd, bbands, stoch, stochrsi, adx, atr, natr, cci, mom, roc, willr, obv, ad, vwap, aroon, mfi, sar, trix, ppo, kama. |
interval * | string | Bar interval: 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 1day, 1week, or 1month. |
symbol * | string | Ticker/symbol. Stocks e.g. "AAPL", "MSFT"; forex "EUR/USD"; crypto "BTC/USD"; ETFs "SPY". Comma-separate for a batch (e.g. "AAPL,MSFT"). Market indices (SPX, N225, …) need a Grow-or-higher Twelve Da… |
outputsize | number | Number of data points to return (1–5000, default 30). |
series_type | string | Price series the indicator is computed on: close (default), open, high, low. |
time_period | number | Look-back period in bars (e.g. 14 for RSI, 50 or 200 for SMA, 20 for bbands). Default varies by indicator. |