Skip to main content

Client for the Iturri verified market-data API — quality-flagged candles, funding, open interest, order flow and ML-ready bundles for trading bots and AI agents. MCP + x402 native.

Project description

iturri

Python client for the Iturri verified market-data API — historical market data for trading bots, backtests, and AI agents where every bar carries a quality flag (verified · raw · reconciled · interpolated · disputed · outage) and every candle is traceable to a checksummed primary source.

  • 124M+ quality-flagged OHLCV bars: 34 crypto symbols (1m/5m/15m/1h/1d since 2015) + 86 US stocks & ETFs (consolidated-tape EOD since 2016, as-traded and split-adjusted bases)
  • Funding rates, open interest, taker order flow, curated events, market context (Fear & Greed, VIX, DXY…)
  • Leakage-safe feature matrices, multi-timeframe aligned bundles, BSQ token sequences, training packs
  • Agent-native: 11 MCP tools and x402 micropayments (USDC on Base) — no account, no API key

Zero hard dependencies. With pandas installed you get DataFrames; without it, columnar dicts.

Install

pip install iturri            # or: pip install "iturri[pandas]"

Quickstart

import iturri

iturri.catalog()                          # free discovery — symbols, ranges, pricing

iturri.token = "…"                        # membership token from iturri.ai/subscribe
                                          # (or: export ITURRI_TOKEN)

df = iturri.bars("BTC", "1h", start="2024-01-01", end="2024-02-01")
df = df[df.quality == "verified"]         # the whole point

feats = iturri.features("SPY", "1d_split", start="2026-06-01")
iturri.bundle("crypto")                   # signed training-pack URLs

Without a token, priced endpoints return HTTP 402 with an x402 quote — payment-capable agents settle per call ($0.001 per 1,000 candles) with no human in the loop.

Full surface

catalog · bars · features · funding · open_interest · orderflow · context · events · regime · validate · bundle — mirroring the 11 MCP tools at https://iturri.ai/mcp.

validate(symbol, tf, start=…, end=…) returns a data-quality report (coverage, gaps, flag distribution) so you can audit a range before backtesting on it.

For AI agents (MCP)

{ "mcpServers": { "iturri": { "type": "http", "url": "https://iturri.ai/mcp" } } }

describe_catalog is free forever. See the MCP tutorial.

Links

Docs: https://iturri.ai/#docs · OpenAPI: https://iturri.ai/openapi.json · llms.txt: https://iturri.ai/llms.txt · JS SDK + CLI: npm i iturri · Sourcing & verification policy: https://iturri.ai/sourcing


Iturri sells data and tooling only. Nothing in any dataset, feature, label, or tool is a trading signal, a prediction, or financial advice.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iturri-0.2.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iturri-0.2.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file iturri-0.2.2.tar.gz.

File metadata

  • Download URL: iturri-0.2.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iturri-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f1cac31909322410b6a22f2edb6ff3aeab2856173554162d8de4f83cf9af5fa7
MD5 b349b039425255ffb6e982bd295a3603
BLAKE2b-256 f3fe617668d105f8669088d66a2c7f7e916e19e07a6bca9c8aadef908d84a8c0

See more details on using hashes here.

File details

Details for the file iturri-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: iturri-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iturri-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b48ad4722de60037b63f674594fc56530c2e958b402cadf9c2e46fabcd189dd6
MD5 42c575ccfcf606772fbbc8978b1ff50a
BLAKE2b-256 23a37c1461ab0f7fbc8b75d9f412d7ac6f71c18ba9fd32d7ce377fbf3ce97c18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page