Quickstart

The first HTTP sample needs no account at all: a free sample is a real market-day file, cut the way a subscriber gets it. Listing and signing need a key; gaps, markets and the manifests sign on the free plan, and the book and the trades need a paid one.

shell
1# Free, no key: one market-day per schema, parquet and csv.gz
2url=$(curl -s https://probnode.com/v1/samples \
3 | jq -r 'map(select(.dataset=="trades" and .format=="csv"))[0].url')
4
5# A stable URL answers 302 to a signed link; -L follows it
6curl -sL "$url" -o trades.csv.gz
7zcat trades.csv.gz | head -3
Output

What you are holding after the first command

One market, one UTC day, one schema — not a trimmed preview of it. The sample is produced by the same builder that answers a paid export, so the columns, the ordering and the timestamps are the ones an invoice would get. If it parses here it parses at ten thousand files.

Two clocks ride on every row that has one: the venue's own timestamp and the moment our recorder received it. They are separate columns and neither is derived from the other, so latency is something you can measure rather than something already averaged away.

Which schema to ask for next

There are eighteen, and they are projections of one record rather than eighteen products. Start from what you are trying to measure: trades for what happened, book-top for what was quoted, book-max for the shape of the book behind it, fills for who traded, and the bars-* family when you want a chart rather than a tape. The full list, with the columns of each, is on schemas.

A deeper schema contains the shallower one: there is little reason to pull trades beside fills for the same market-day unless you want it in that shape.

Check coverage before you plan around a day

A market-hour we did not record is declared rather than quietly interpolated, and the ledger is public and needs no key: GET /v1/catalog/coverage answers hour by hour for a token over a window, with recorded milliseconds, declared gaps and uptime. The catalogue renders the same figures per market. Read it first if a backtest depends on a span being whole — a hole is cheaper to find here than in your results.

When it answers something other than 200

Four replies cover almost everything and each means a different thing. 401 is the key: absent, malformed or revoked. 402 is the plan: the path is paid and the plan in force does not cover it. 403 is recency: the plan covers the dataset but not that hour yet, and the same rows arrive later. 429 is a limit — the daily signed-URL quota, or the requests-a-minute ceiling, and the second form carries Retry-After, which is there to be obeyed rather than retried through. The whole table, with the exact message of each, is on errors.

Buying a window from a script

The sample above is one market-day. A research question is usually a month of a market type, and that is five calls: find out how much is there, find out what it costs, buy it, wait, take the files. Nothing is charged by the first two, so a script may ask as often as it likes before it commits to anything — which is the point of their being separate calls at all.

buy_a_window.py
import os, time, requests API = "https://probnode.com"                  # every path below starts with /v1KEY = os.environ["PROBNODE_API_KEY"]          # never in the sourceAUTH = {"Authorization": f"Bearer {KEY}"} WINDOW = {"start": "2026-10-01", "end": "2026-10-31"}TYPE = "crypto.5m" # 1. How much is there? Keyless, and free however often you ask.counted = requests.get(    f"{API}/v1/catalog/count",    params={**WINDOW, "unit_type": TYPE, "strip": "false"},).json()print(counted["markets"], "markets,", counted["partial_markets"], "with holes") # 2. What would it cost? Your allowance and whatever you already own are applied#    here, so this is the figure that will be charged, not a list price.basket = {    "unit_types": [TYPE],    "start": f"{WINDOW['start']}T00:00:00Z",    "end": f"{WINDOW['end']}T23:59:59Z",    "level": "L2",                            # set by the deepest schema you ask for}quote = requests.post(f"{API}/v1/billing/quote", headers=AUTH, json=basket).json()print(quote["payable"], "charged,", quote["total_micros"] / 1e6, "USD") # 3. Buy it. One request: the money moves and the package is queued.order = requests.post(    f"{API}/v1/downloads",    headers=AUTH,    json={**basket, "format": "parquet", "schemas": ["book-max", "trades"],          "cart_id": "oct-crypto-5m"},        # send it again to retry safely)if order.status_code == 402:    short = order.json()["detail"]    raise SystemExit(f"short by {short['shortfall_micros'] / 1e6} USD - basket kept")order.raise_for_status()package = order.json() # 4. Wait for it. Minutes rather than seconds for a large one.while package["status"] in ("queued", "building"):    time.sleep(5)    package = requests.get(f"{API}/v1/downloads/{package['id']}", headers=AUTH).json()    print(package["markets_built"], "/", package["markets_total"]) # 5. Take the files. The package lists object paths; signing turns them into URLs,#    a hundred at a time.paths = [path for item in package["items"] for path in item["files"]]signed = requests.post(    f"{API}/v1/data/urls", headers=AUTH, json={"paths": paths[:100]}).json()for one in signed["urls"]:    name = one["object_path"].rsplit("/", 1)[-1]    with requests.get(one["url"], stream=True) as response, open(name, "wb") as out:        for chunk in response.iter_content(1 << 20):            out.write(chunk)

Three things in there are worth more than the lines they take. The key comes from the environment, never the source. cart_id is yours to choose and makes the purchase idempotent: the same id is the same basket, so a retried request, a double-pressed button and a payment webhook arriving twice all land on one purchase. And 402 is not a failure — the basket is kept server-side under that id, so topping up finishes it whether or not the script is still running.

A market recorded with holes is counted by /v1/catalog/count and refused at the till, by the same column, so the two numbers differ by exactly the markets that are not whole — which the quote reports as excluded_uncovered rather than leaving you to subtract.

Where to go from here

Base URL and keys for the header and how a key behaves; clients for the Python, Rust and C++ readers and the CLI; delivery for signed and stable URLs and the manifest beside every hour; limits for what a plan may pull in a day.