Orderbook

Get market depth

Changed on

Depth of book for the given requirements and delivery window, aggregated by price level. Individual orders, participants, and matched SKU identities are not exposed.

get/preview/v2/orderbook/depth

Request

  • Base URL
    https://api.sfcompute.com
  • URL
    https://api.sfcompute.com/preview/v2/orderbook/depth
  • Auth
    HTTP bearer

Query parameters

requirementsstring

URL-safe field[:op]:value triples joined by ;.

start_atinteger required

Unix timestamp.

Example:1738972800

Start of the delivery window.

end_atinteger required

Unix timestamp.

Example:1738972800

End of the delivery window.

depthinteger

Maximum levels returned per side. Clamped to [1, 100]. Default 20.

Response

Market depth.

requirementsSfcApiInstanceTypeRequirements required
start_atinteger required

Unix timestamp.

end_atinteger required

Unix timestamp.

requested_atinteger required

Unix timestamp.

Example response

{
  "start_at": 1738972800,
  "end_at": 1738972800,
  "requested_at": 1738972800,
  "bids": [
    {
      "dollars_per_node_hour": "2.500000",
      "node_count": 4
    }
  ],
  "asks": [
    {
      "dollars_per_node_hour": "2.500000",
      "node_count": 4
    }
  ]
}

Changes