twelvedata

Installation
Summary

Real-time and historical stock and forex market data with quotes, time series, and reference lookups.

  • Provides 10 tools covering real-time quotes, historical OHLCV time series, end-of-day prices, symbol search, and reference data for stocks, forex pairs, and exchanges
  • Supports batch queries for up to 120 symbols in a single request, plus multiple time intervals (1-minute to monthly) and output sizes (compact 30-point or full 5000-point datasets)
  • Requires TWELVEDATA_API_KEY environment variable; note that crypto assets are not supported (use CoinGecko instead)
  • Returns standardized response fields including price, OHLC data, volume, change percentages, and timestamps for programmatic analysis
SKILL.md

Twelve Data

Stocks, forex, and commodities price data. Traditional markets only — not for crypto.

Script Usage

This skill ships a single exports.py with all functions. Call it from a bash block:

python3 - <<'EOF'
import sys, json
sys.path.insert(0, "/data/workspace/skills/twelvedata")
from exports import twelvedata_price, twelvedata_quote, twelvedata_time_series

# Single quote
print(twelvedata_quote(symbol="AAPL"))

# Time series (last 30 daily candles)
Related skills
Installs
5.4K
GitHub Stars
13
First Seen
Mar 13, 2026