Testnetsats and USDhb here have no value.
Skip to content
Open testnet app

Get the print map ​

Per price band, what the vault would buy and sell if the next verified print landed there, as shares of open interest on the public skew grid (ADR-0044); the same payload as the printmap WebSocket frame.

GEThttps://testnet.hardbasis.com/v1/markets/{id}/print-map
Auth none (public)Effect read
bash
curl -fsS "$HB/v1/markets/$ID/print-map"
python
import os

import requests

HB = os.environ.get("HB", "https://testnet.hardbasis.com")
ID = os.environ["ID"]

resp = requests.get(
    f"{HB}/v1/markets/{ID}/print-map",
)
resp.raise_for_status()
print(resp.json())
ts
const HB = process.env.HB ?? "https://testnet.hardbasis.com";
const ID = process.env.ID!;

const res = await fetch(`${HB}/v1/markets/${ID}/print-map`, {
  method: "GET",
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());
json
{
  "marketId": "string",
  "tsMs": "100000",
  "lastMidQ8": "100000",
  "bandBps": 0,
  "windowBps": 0,
  "grid": "0.05",
  "floors": {
    "minAccounts": 0
  },
  "bands": [
    {
      "loQ8": "100000",
      "hiQ8": "100000",
      "sellSteps": 0,
      "buySteps": 0,
      "skewAfterQ9": "100000"
    }
  ],
  "windowSellSteps": 0,
  "windowBuySteps": 0,
  "capReached": {
    "below": {
      "band": 0,
      "loQ8": "100000",
      "hiQ8": "100000"
    },
    "above": {}
  }
}
json
{
  "error": "string",
  "code": "not_found"
}
json
{
  "error": "string",
  "code": "deposits_halted"
}

Path parameters ​

idstringrequired

Responses ​

200 OK
marketIdstringrequired
tsMsstringmsrequired
lastMidQ8stringq8required
bandBpsintegerrequired
Band width, in basis points of lastMidQ8.
windowBpsintegerrequired
Window each side of lastMidQ8, in basis points. Bands outside it are not served.
gridconst 0.05required
The quantization step, as a share of openInterestContracts: the same grid as every public skew figure.
floorsobjectrequired
The aggregation floors a band must meet to be served.
Show 1 child field
minAccountsintegerrequired
A band placed by fewer distinct accounts (triggers and positions together) folds its flow into the adjacent band nearer the print and is served empty.
bandsobject[]required
Ascending by price. Empty when nothing in the window reaches one grid step: render that as a sentence, never as bars.
Show 5 child fields
loQ8stringq8required
hiQ8stringq8required
sellStepsintegerrequired
Sells that would execute against the vault if the next verified print landed in this band, in grid steps of openInterestContracts, floored. User triggers and forced closes are merged.
buyStepsintegerrequired
Buys that would execute against the vault if the next verified print landed in this band, in grid steps of openInterestContracts, floored. User triggers and forced closes are merged.
skewAfterQ9stringq9required
windowSellStepsintegerrequired
All sells served in the window, in grid steps, floored from the unquantized sum (not the sum of the bands' steps).
windowBuyStepsintegerrequired
All buys served in the window, in grid steps, floored from the unquantized sum (not the sum of the bands' steps).
capReachedobjectrequired
Per side of the print, the band where the map stops counting closes: the served closes reach the most the public skew allows, so beyond it the true flow is at least what is shown. Null when the map counts every close in the window. It marks where the cap is reached, not how much it held back.
Show 2 child fields
belowobject | nullrequired
aboveobject | nullrequired

Errors ​

Match on code, never on the message. Full taxonomy in Errors.

CodeStatusRetry
deposits_halted503retryable
not_found404final
token_rail_unavailable503final
unavailable503retryable
404, 503: A refusal carrying a stable machine code (ErrorCode) beside human error prose.

Last updated 2026-11-13 · spec 1.8.0

Program policy v1 · numbers current as of 2026-11-25

Testnet: test sats have no value. Nothing on this page is an offer, a solicitation, or advice.