Twelve Data provides stocks and forex market data including real-time quotes, historical time series, and reference data. Use for traditional markets (stocks, forex) instead of crypto.
When to Use Twelve Data
Use Twelve Data for:
Stock prices
- Real-time and historical stock quotes
Forex prices
- Currency pair quotes and time series
Time series data
- OHLCV historical data
Reference data
- Stock lists, forex pairs, exchanges
Search
- Find stock symbols and company names
Important
Use Twelve Data for stocks and forex only. For crypto, use CoinGecko.
Common Workflows
Get Stock Price
twelvedata_quote(symbol="AAPL") # Apple real-time quote
twelvedata_price(symbol="MSFT") # Microsoft current price
twelvedata_quote(symbol="TSLA") # Tesla quote with full details
Get Forex Price
twelvedata_quote(symbol="EUR/USD") # Euro to USD
twelvedata_quote(symbol="GBP/JPY") # British Pound to Japanese Yen
Historical Data
twelvedata_time_series(symbol="AAPL", interval="1day", outputsize="compact") # Last 30 days
DO NOT use Twelve Data for crypto. Use CoinGecko instead.
Fundamental data
Fundamental data tools (income_statement, balance_sheet, etc.) require Grow/Pro+/Ultra/Enterprise tiers and are not included in this skill
Rate limits
Be mindful of API rate limits. Use batch endpoints for multiple symbols.
Real-time
Quotes are near real-time (typically 15-minute delay for free tier, real-time for Pro)
Workflow Examples
Stock Analysis
Search for symbol:
twelvedata_search(query="Apple")
Get current quote:
twelvedata_quote(symbol="AAPL")
Get historical data:
twelvedata_time_series(symbol="AAPL", interval="1day", outputsize="compact")
Forex Analysis
Get forex pair:
twelvedata_quote(symbol="EUR/USD")
Get historical:
twelvedata_time_series(symbol="EUR/USD", interval="1h", outputsize="compact")
Portfolio Check
Batch quote:
twelvedata_quote_batch(symbols=["AAPL", "MSFT", "GOOGL", "TSLA"])
Analyze each stock individually if needed
Market Scan
List all stocks:
twelvedata_stocks(exchange="NASDAQ")
Filter and analyze specific symbols