---
title: GET /v1/markets/{id}/print-map
---

# `GET /v1/markets/{id}/print-map`

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.

Money, price, rate and count fields cross the wire as decimal strings; units are shown beside each field ([Wire encoding](/api/wire-encoding)). Group: [Markets](/api/reference/markets/).

**Auth:** none (public)

**Effect:** `read`: reads only

## Parameters

- <span id="param-id"></span>`id` (path) · string · required

## Request

```bash [curl]
curl -fsS "$HB/v1/markets/$ID/print-map"
```

```python [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 [TypeScript]
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());
```

## Responses

- **200**: OK
  - <span id="res-200-marketId"></span>`marketId` · string · required
  - <span id="res-200-tsMs"></span>`tsMs` · string · unit `ms` · required
  - <span id="res-200-lastMidQ8"></span>`lastMidQ8` · string · unit `q8` · required
  - <span id="res-200-bandBps"></span>`bandBps` · integer · required: Band width, in basis points of lastMidQ8.
  - <span id="res-200-windowBps"></span>`windowBps` · integer · required: Window each side of lastMidQ8, in basis points. Bands outside it are not served.
  - <span id="res-200-grid"></span>`grid` · const `0.05` · required: The quantization step, as a share of openInterestContracts: the same grid as every public skew figure.
  - <span id="res-200-floors"></span>`floors` · object · required: The aggregation floors a band must meet to be served.
    - <span id="res-200-floors-minAccounts"></span>`minAccounts` · integer · required: 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.
  - <span id="res-200-bands"></span>`bands` · object[] · required: Ascending by price. Empty when nothing in the window reaches one grid step: render that as a sentence, never as bars.
    - <span id="res-200-bands-loQ8"></span>`loQ8` · string · unit `q8` · required
    - <span id="res-200-bands-hiQ8"></span>`hiQ8` · string · unit `q8` · required
    - <span id="res-200-bands-sellSteps"></span>`sellSteps` · integer · required: 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.
    - <span id="res-200-bands-buySteps"></span>`buySteps` · integer · required: 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.
    - <span id="res-200-bands-skewAfterQ9"></span>`skewAfterQ9` · string · unit `q9` · required
  - <span id="res-200-windowSellSteps"></span>`windowSellSteps` · integer · required: All sells served in the window, in grid steps, floored from the unquantized sum (not the sum of the bands' steps).
  - <span id="res-200-windowBuySteps"></span>`windowBuySteps` · integer · required: All buys served in the window, in grid steps, floored from the unquantized sum (not the sum of the bands' steps).
  - <span id="res-200-capReached"></span>`capReached` · object · required: 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.
    - <span id="res-200-capReached-below"></span>`below` · object \| null · required
    - <span id="res-200-capReached-above"></span>`above` · object \| null · required

Example `200` response:

```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": {}
  }
}
```

## Errors

Every refusal carries a stable `code` from [`ErrorCode`](/api/reference/all#errorcode) beside human `error` prose; match on the code. See [Errors](/api/errors).

- **404**: A refusal carrying a stable machine `code` (ErrorCode) beside human `error` prose.
- **503**: A refusal carrying a stable machine `code` (ErrorCode) beside human `error` prose.
