---
title: "List market windows"
method: GET
path: "/preview/v2/orderbook/windows"
tags: ["Orderbook"]
---

# List market windows

`GET /preview/v2/orderbook/windows`

List every delivery window with resting orders matching the requirements, within the given time range. Each row is a summary; use /quote or /depth for detail on a specific window.

## Query parameters

- `requirements` string
- `range_start_at` integer, required — Unix timestamp.
- `range_end_at` integer, required — Unix timestamp.
- `limit` integer
- `starting_after` string

## Response `200`

Active windows in the range.

- SfcApiListOrderbookWindowsResponse — Paginated list of active windows, sorted by `(start_at, end_at)` ascending.
  - `object` 'list', required
  - `requirements` SfcApiInstanceTypeRequirements, required
  - `range_start_at` integer, required — Unix timestamp.
  - `range_end_at` integer, required — Unix timestamp.
  - `cursor` string
  - `has_more` boolean, required
  - `data` SfcApiOrderbookWindow[], required
    - `start_at` integer, required — Unix timestamp.
    - `end_at` integer, required — Unix timestamp.
    - `duration_hours` integer, required — Duration of the window in whole hours.
    - `total_bid_order_count` integer, required — Number of resting bid orders at this window.
    - `total_ask_order_count` integer, required — Number of resting ask orders at this window.
    - `total_bid_node_count` integer, required — Total node count across all resting bids at this window.
    - `total_ask_node_count` integer, required — Total node count across all resting asks at this window.
    - `best_bid` SfcApiPriceLevel — One price level in the order book — orders sharing the same per-node-hour rate are summed into a single entry.
      - `dollars_per_node_hour` string, required — Price rate in dollars per node-hour.
      - `node_count` integer, required — Total nodes resting at this rate.
    - `best_ask` SfcApiPriceLevel — One price level in the order book — orders sharing the same per-node-hour rate are summed into a single entry.
      - `dollars_per_node_hour` string, required — Price rate in dollars per node-hour.
      - `node_count` integer, required — Total nodes resting at this rate.

## Other responses

- `401` — Unauthorized.
- `422` — Validation failed.
- `500` — Internal server error.

---

[API](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sfcompute/san-francisco-compute-documentation/revisions/93dd7661e9bb/schema)
