TILLA - market data on one clock

v2.2.0
io.github.TillaCrypto/tilla-mcp Checked 1 day ago Published 13 hours ago

Aligned market data for AI agents: crypto, stocks, FX and macro on one clock.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tilla_about About TILLA

What TILLA is, who it's for, and how to start. No API key needed.

tilla_status Feed status

The newest 1-minute bar and the tiers served. No API key needed.

tilla_tiers Plans and limits

The public plans: price, history cap, request limits and size. No API key needed.

tilla_inventory Series this key holds

Exactly what the caller's key holds. No arguments: every lane per layer with its series count. layer=raw|node and lane=1min|hour|daily|...: every series name there. Call this before tilla_latest / tilla_window and use the names it returns. Needs an API key: pass it as api_key (a free one from tilla_free_key), or connect with ?key=<key>.

ParameterTypeDescription
api_keyYour TILLA key (tk_live_...). Leave out if the connection already sends X-API-Key; no key yet: call tilla_free_key and pass its key here.
laneThe bar size: 1min, 5min, 10min, 30min, hour, daily, weekly, monthly or quarterly. Times are UTC; an intraday bar labelled T covers (T-1, T].
layer'raw' (the sources' own values) or 'node' (our own Bitcoin node). Default raw.

tilla_window Bars in a time range

A window of bars. Name exactly what you want, one of: `series` = comma-separated names (at most 200) from tilla_inventory, or a pattern like 'eurusd_*' / '*_close'; or `markets` + `fields` ('eurusd,gbpusd' + 'close' -> eurusd_close, gbpusd_close). Stocks, ETFs and coins by symbol (AAPL, BTC) are bars: GET /v1/<tier>/bars/<lane> ?kind=stocks|coins&markets=... (see tilla_markets). layer = raw | node; lane = 1min, 5min, hour, daily, ... start/end = 'YYYY-MM-DD[ HH:MM[:SS]]' UTC inclusive, or period = 30d 2m 6m 1y all; no start = the newest bars. limit <= 50000. When `more` is…

ParameterTypeDescription
api_keyYour TILLA key (tk_live_...). Leave out if the connection already sends X-API-Key; no key yet: call tilla_free_key and pass its key here.
endLast bar, UTC, inclusive: 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM[:SS]'. Leave out for up to now.
fieldsstringWith markets: which field of each, e.g. 'close' or 'open,close' -> eurusd_close, gbpusd_close.
lanestringThe bar size: 1min, 5min, 10min, 30min, hour, daily, weekly, monthly or quarterly. Times are UTC; an intraday bar labelled T covers (T-1, T].
layerstring'raw' (the sources' own values) or 'node' (our own Bitcoin node). Default raw.
limitintegerMost rows in one answer (window: up to 50000). When the answer says more=true, call again with start = next_start.
marketsstringComma-separated market ids or symbols: 'eurusd,gbpusd' (with fields) or stock / coin symbols such as 'AAPL,MSFT' or 'BTCUSDT' (see tilla_markets / tilla_search).
periodInstead of start/end: 1d 7d 30d 2m 3m 6m 1y 2y 3y all - capped at your plan's history.
seriesstringComma-separated series names from tilla_inventory or tilla_search (e.g. 'eurusd_close,ust_10y'), or a pattern such as 'eurusd_*' or '*_close'. At most 200.
startFirst bar, UTC, inclusive: 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM[:SS]'. Leave out for the newest bars.

tilla_latest Latest bar

The newest bar of the named series on one lane. Needs an API key: pass it as api_key (a free one from tilla_free_key), or connect with ?key=<key>.

ParameterTypeDescription
series *stringComma-separated series names from tilla_inventory or tilla_search (e.g. 'eurusd_close,ust_10y'), or a pattern such as 'eurusd_*' or '*_close'. At most 200.
api_keyYour TILLA key (tk_live_...). Leave out if the connection already sends X-API-Key; no key yet: call tilla_free_key and pass its key here.
lanestringThe bar size: 1min, 5min, 10min, 30min, hour, daily, weekly, monthly or quarterly. Times are UTC; an intraday bar labelled T covers (T-1, T].
layerstring'raw' (the sources' own values) or 'node' (our own Bitcoin node). Default raw.

tilla_usage Plan and budget

The caller's plan and budget right now: tier, history days, limits, used today. Needs an API key: pass it as api_key (a free one from tilla_free_key), or connect with ?key=<key>.

ParameterTypeDescription
api_keyYour TILLA key (tk_live_...). Leave out if the connection already sends X-API-Key; no key yet: call tilla_free_key and pass its key here.

tilla_markets Every market

Every market TILLA carries - crypto, US stocks and ETFs, FX, macro - with its category, its related markets, how many series each plan holds of it, and its lanes. No API key needed. Use the `id` with tilla_market.

tilla_market One whole market

One market in one call: every series of `market` (an id from tilla_markets, e.g. btc, nvda, eurusd, gold) the key holds on `lane`, on one clock. layer = raw | node | all. related=True adds its connected markets (btc: its ETFs and miners). period = 1d 7d 30d 2m 3m 6m 1y 2y 3y all. At most 200 columns an answer: `series_next_offset` names the next page. Needs an API key: pass it as api_key (a free one from tilla_free_key), or connect with ?key=<key>.

ParameterTypeDescription
market *stringOne market id from tilla_markets, e.g. 'btc', 'nvda', 'eurusd', 'gold'.
api_keyYour TILLA key (tk_live_...). Leave out if the connection already sends X-API-Key; no key yet: call tilla_free_key and pass its key here.
lanestringThe bar size: 1min, 5min, 10min, 30min, hour, daily, weekly, monthly or quarterly. Times are UTC; an intraday bar labelled T covers (T-1, T].
layerstring'raw', 'node' or 'all'. Default raw.
limitintegerMost bars. Default 500.
periodInstead of start/end: 1d 7d 30d 2m 3m 6m 1y 2y 3y all - capped at your plan's history.
relatedbooleantrue adds the connected markets (btc: its spot ETFs and the miners; a stock: its index and sector ETFs).

tilla_sample Free sample of a plan

TILLA's free sample, the same for every plan, no key needed: what it holds and where to download it - the FULL DAY (one whole UTC day of every raw and node raw table, SQLite, /v1/sample/day.db) and ONE TICK (every datapoint at one moment, CSV, /v1/sample/tick.csv). `tier` is accepted for older callers and ignored: every plan holds the same data, plans differ only by history (2026-11-25).

ParameterTypeDescription
tierstringIgnored (kept for older callers): every plan holds the same sample.

tilla_health Is every lane current

The newest bar of every lane on every layer - is the data current? No API key needed.

tilla_docs The API manual

The whole API manual in one call, no key needed: every call, every parameter, every plan, how paging, tick, resume, changes and bulk work. Read this first when you need to know how to do anything.

tilla_tick Everything that just closed

Your whole plan, live, in one call: every series the key holds on every lane that closed at a boundary (`at` = 'YYYY-MM-DD HH:MM', default the minute just closed). Per lane: bar, complete, series, values. Needs a key (api_key or ?key=; a free one from tilla_free_key).

ParameterTypeDescription
api_keyYour TILLA key (tk_live_...). Leave out if the connection already sends X-API-Key; no key yet: call tilla_free_key and pass its key here.
atThe boundary to read, UTC 'YYYY-MM-DD HH:MM' (or 'HH:MM' for today). Default: the minute that just closed.
lanesComma-separated lanes to include (e.g. '1min,hour'). Default: every lane that closed at that boundary.

tilla_changes Corrections since a time

Every value our checks repaired since `since` ('YYYY-MM-DD HH:MM:SS') that the key holds, with its value now - apply them and a kept copy stays correct. Pass the answer's `until` as the next since. Needs a key (api_key or ?key=; a free one from tilla_free_key).

ParameterTypeDescription
since *stringUTC 'YYYY-MM-DD HH:MM:SS': every repaired value after this moment. Pass the answer's `until` next time.
api_keyYour TILLA key (tk_live_...). Leave out if the connection already sends X-API-Key; no key yet: call tilla_free_key and pass its key here.

tilla_free_key Get a free API key

Get a FREE TILLA API key right now - no account, no card (one per person per day). The free plan holds all 133,616 datapoints (US stocks and ETFs, coins, futures, FX, rates, macro, our own Bitcoin node) with the last 30 days of history, 100 requests a minute. Use the returned key at once: pass it as `api_key` to tilla_inventory, tilla_latest, tilla_window, tilla_market, tilla_tick, tilla_changes and tilla_usage. Shown once - tell the user to keep it; a key they can rotate comes with a free account at https://tillacrypto.com.

tilla_scan TILLA Scan - check any data set

TILLA Scan - a data-quality check of ANY table. Free: 5 scans a day (no key needed), pasted text up to 5 MB or a linked file up to 100 MB, 10 million cells. With a paid key (api_key): unlimited scans, no cell cap, text up to 50 MB, linked files up to 1 GB. Give `data` (the file's text: CSV, TSV or JSON) or `url` (a public link to a CSV, TSV, JSON, Parquet, SQLite or .gz file) and optionally `filename` (e.g. prices.csv - it tells the reader the format). It finds, per table and column: missing time steps, duplicate or out-of-order times, rows repeated whole, repeated ids, fro…

ParameterTypeDescription
api_keyYour TILLA key (tk_live_...). Leave out if the connection already sends X-API-Key; no key yet: call tilla_free_key and pass its key here.
dataThe file's own text (CSV, TSV, JSON or NDJSON). Use url instead for a large or binary file.
filenameThe file's name with its extension (e.g. 'prices.csv'), so the scan reads it in the right format.
urlA public http(s) link to the file (CSV, TSV, JSON, Parquet, SQLite, .gz). Private and local addresses are refused.

tilla_coverage History and freshness

HOW FAR BACK, AND IS IT CURRENT (no key needed): for named series (`series` = 'eurusd_close,ust_10y') or symbols (`markets` = 'AAPL,btc', kind = stocks | coins | futures) - the first real bar and the newest bar on every lane, and the day each plan's history starts. Times are UTC; a bar labelled T covers (T-1, T].

ParameterTypeDescription
kindWith markets: stocks, coins or futures.
marketsComma-separated market ids or symbols: 'eurusd,gbpusd' (with fields) or stock / coin symbols such as 'AAPL,MSFT' or 'BTCUSDT' (see tilla_markets / tilla_search).
seriesComma-separated series names from tilla_inventory or tilla_search (e.g. 'eurusd_close,ust_10y'), or a pattern such as 'eurusd_*' or '*_close'. At most 200.

tilla_export A download link for a slice

A DOWNLOADABLE SLICE: the exact link (and a curl command) that downloads `series` (named, e.g. 'eurusd_close') or `markets` (symbols, e.g. 'AAPL,MSFT' / 'btc' with kind=coins) on one `lane` from `start` to `end` as csv, ndjson or parquet - inside the key's plan. `kind` (stocks|coins|futures|funding|premium) with NO `markets` and a `start` day = that WHOLE table for that UTC day as ONE file (a month YYYY-MM on daily): GET /v1/{tier}/table. The file comes straight from the API with the key in the X-API-Key header; it is not passed through this chat. Whole months of everything…

ParameterTypeDescription
api_keyYour TILLA key (tk_live_...). Leave out if the connection already sends X-API-Key; no key yet: call tilla_free_key and pass its key here.
endLast bar, UTC, inclusive: 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM[:SS]'. Leave out for up to now.
fmtstringThe file format: csv, ndjson or parquet. Default csv.
kindThe per-market table: stocks, coins, futures (and, for exports, funding or premium).
lanestringThe bar size: 1min, 5min, 10min, 30min, hour, daily, weekly, monthly or quarterly. Times are UTC; an intraday bar labelled T covers (T-1, T].
layerstring'raw' (the sources' own values) or 'node' (our own Bitcoin node). Default raw.
marketsComma-separated market ids or symbols: 'eurusd,gbpusd' (with fields) or stock / coin symbols such as 'AAPL,MSFT' or 'BTCUSDT' (see tilla_markets / tilla_search).
seriesComma-separated series names from tilla_inventory or tilla_search (e.g. 'eurusd_close,ust_10y'), or a pattern such as 'eurusd_*' or '*_close'. At most 200.
startFirst day (or bar), UTC 'YYYY-MM-DD'; with kind and no markets: the one day (or month 'YYYY-MM' on daily) whose whole table you want.

tilla_scan_findings Every finding of a scan

Every finding of a TILLA Scan run (its `scan_id`, kept 1 hour), paged: filter by `check` (e.g. 'gap', 'duplicate', 'frozen'), `column`, `level` (FAULT | LOOK). Each finding names the rows it was seen on, why it was flagged and what to check. No key needed.

ParameterTypeDescription
scan_id *stringThe scan_id a tilla_scan run returned (kept 1 hour).
checkOnly this check, e.g. 'gap', 'duplicate', 'frozen' (the names tilla_scan lists).
columnOnly findings on this column.
level'FAULT' (wrong data) or 'LOOK' (worth a look, may be fine).
limitintegerMost findings in one answer. Default 50.
offsetintegerSkip this many findings (paging); the answer names the next offset.

tilla_scan_validate Does the data meet my rules

Does a scanned data set meet YOUR rules? From a TILLA Scan run (`scan_id`): pass / fail on each rule - at most `max_faults` faults (default 0), at most `max_looks` looks, a health score of at least `min_health_pct` - and the verdict. Use it before a backtest or a model run. No key needed.

ParameterTypeDescription
scan_id *stringThe scan_id a tilla_scan run returned (kept 1 hour).
max_faultsintegerPass only with at most this many faults. Default 0.
max_looksPass only with at most this many looks. Leave out for no limit.
min_health_pctPass only with a health score of at least this, 0-100, e.g. 95.

tilla_scan_compare Compare two scans

Compare two TILLA Scan runs (two files, or one file before and after a fix): rows, cells, faults, looks, health and every check whose count changed. No key needed.

ParameterTypeDescription
scan_id_a *stringThe first scan_id (e.g. the file before a fix).
scan_id_b *stringThe second scan_id (e.g. the file after a fix).