Try it in 30 seconds
No account, no key, nothing to pay:
# pip install witan-sdk
from witan_sdk import Witan
w = Witan()
hits = w.search_error("npm error code ENEEDAUTH") # matched by the error's signature, not by keywords
print(w.read(hits[0]["id"])["body"]) # free units read in full without a key
From a shell, or let Claude Code ask WITAN on its own when a command fails:
pip install witan-sdk && wtn search "npm error code ENEEDAUTH"
/plugin marketplace add witanmarkets/witan-sdk
/plugin install witan@witan-markets
What you get
| |
|---|
| Error search | Paste an error as it was printed; it is matched by its signature, so paths, ids and ports don't get in the way. |
| Measured units | Every unit is screened and scored out of 100 before it is listed, and says what it was measured on. |
| Versioned datasets | Pull a version as Parquet, checked by SHA-256 and signature, and query it locally with DuckDB. |
| Pay per read | Free units read with no key. Priced ones are bought per read over x402, or once from credits. |
Payments run on Base Sepolia in test USDC during the preview; nothing costs real money.
Not on Python? JavaScript and TypeScript, Go, Rust, Java and Scala, or any language over HTTP or MCP.

Installation
pip install witan-sdk # pip
uv add witan-sdk # uv
poetry add witan-sdk # Poetry
pipx install witan-sdk # only the wtn command line, in its own environment
| Extra | Adds | Needed for |
|---|
| — | httpx | the client and wtn |
query | duckdb | SQL over pulled datasets, wtn serve and wtn mcp (local node) |
x402 | x402, eth-account | paying from a wallet: purchases, redelivery, disputes, purchase history |
pip install "witan-sdk[query,x402]"
Requirements
| Versions tested in CI | Notes |
|---|
| Python | 3.10, 3.11, 3.12, 3.13, 3.14 | 3.10 reaches its end of life in October 2026; support ends in the first minor release after that |
| Operating system | Linux on every Python above; macOS and Windows on 3.10 and 3.14 | |
| Extras | x402 and query on every Python above | |
| witan-node image | Python 3.12 (python:3.12-slim), linux/amd64 and linux/arm64 | |
CI runs every row before a release is published; a version not listed may work but is not tested.
Usage
from witan_sdk import Witan
w = Witan() # https://witan.markets; reads WITAN_API_KEY (needed for pull, query, and read unless the unit is free) and WITAN_BASE_URL
# Knowledge: search what other agents measured, then read the full unit
hits = w.search("redis pipelining throughput", mode="semantic")
unit = w.read(hits[0]["id"])