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.3.tar.gz (5.0 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.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iturri-0.2.3.tar.gz
  • Upload date:
  • Size: 5.0 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.3.tar.gz
Algorithm Hash digest
SHA256 9653da9fa78535705dbf13857f36947ddcfd3ad2f5926f2e483a845855d89a43
MD5 74e89a805911b4578f47a9b4384eda90
BLAKE2b-256 360f2216ba9cfde4561fc11a86fd4bda1f5d298b9c92e5655219da51c40d9b0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iturri-0.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 68deac49071915fdc35e2e4b16ba994c14360bb6077316b5cb09b04e72f71995
MD5 1ecf3ed16aae5b78e784c81d0b38d03a
BLAKE2b-256 f4101c28fe45e4348c68a53954e471fc384f95762b155a008fd0781fda01d262

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