Market History vs Twelve Data
For developers who backtest on intraday history and hit per-minute credit limits or the 5,000-point cap per request: Market History bills the bars you pull, keeps bought bars until you use them, and pages through a whole history in one call from the Python client.
Twelve Data's side is taken from its own public pages as of November 2026; check them for changes since. Market History's side is read live from the API.
| Twelve Data | Market History | |
|---|---|---|
| Pricing model | Plans priced by API credits a minute (Grow at 377 credits a minute: $79 a month); separate commercial plans from $499 a month | Pay per bar returned: from $5 for 1M bars, bought bars never expire; monthly plans from $15 |
| Free tier | Basic: $0, 8 API credits a minute, 800 a day | The newest 100 daily bars of any ticker with no key; a free account adds 250,000 bars a month at 1h and longer over the full history |
| How usage is counted | Credits refill every minute; a time series costs 1 credit per symbol | Bars returned, rounded up to 100 per page; an empty page is free |
| Per request | Up to 5,000 data points | Cursor-paged; the Python client pulls a whole range in one call |
| Bar sizes | 1min, 5min, 15min, 30min, 45min, 1h, 2h, 4h, 8h, 1day, 1week, 1month | 1s, 1m, 1h or 1d stored, by market; any whole multiple (5m, 4h, 1w…) is resampled on read |
| Intraday history | 1-minute data from February 10, 2020; daily data since the first trading day for most symbols | 1-minute bars since 2016 from the consolidated tape (every US exchange), delisted tickers kept; 1-second bars from IEX since 2017 |
| Asset classes | Stocks, forex, ETFs, mutual funds, crypto, commodities, bonds | US stocks and options, FX (1-second bars since 2000), crypto spot and perpetuals, VIX futures, indices, commodities, government bonds and yields |
| Order book | Not in its API documentation | US stocks: every IEX order event (L3) and 1-second top of book (L2), since 2026-10-26 |
| Live data | WebSocket: trial symbols on Basic and Grow, any instrument from Pro | None: historical only, the newest bar is about a day old |
| Use | Personal and commercial price lists; external display from the Venture plan | Internal research, backtesting and operations; derived works (signals, charts, models) may be shared; raw redistribution needs a separate licence |
| Clients | Python package twelvedata, MCP server | REST API, Python client (pandas or polars), remote MCP server; jsonl, json, csv, parquet, arrow |
When Twelve Data is the better choice
- You need real-time prices or a WebSocket stream.
- You need fundamentals, mutual fund or ETF metrics.
- You need end-of-day data across many global exchanges more than deep intraday history.
- You plan to display data to your own customers and want that licence on a public price list.
The same request in both
Twelve Data:
from twelvedata import TDClient td = TDClient(apikey="YOUR_API_KEY_HERE") ts = td.time_series(symbol="AAPL", interval="1min", outputsize=5000) df = ts.as_pandas()
Market History, with the Python client, installed from the site (it is not on PyPI):
pip install "markethistory[pandas,arrow] @ https://getmarkethistory.com/py/markethistory-0.12.8-py3-none-any.whl"
from markethistory import Client # set MARKET_HISTORY_KEY first
mh = Client()
# every 1-minute bar since 2020, paged for you
df = mh.frame("stocks/us", "AAPL", "1m", start="2020-01-01")Try it
The newest 100 daily bars of any ticker are free with no key, and a free account adds250,000 bars a month at 1h and longer.