curl --request GET \
--url https://api.sfcompute.com/preview/v2/orderbook/depth \
--header 'Authorization: Bearer <token>'{
"requirements": {},
"start_at": 1738972800,
"end_at": 1738972800,
"requested_at": 1738972800,
"bids": [
{
"dollars_per_node_hour": "<string>",
"node_count": 4
}
],
"asks": [
{
"dollars_per_node_hour": "<string>",
"node_count": 4
}
]
}Depth of book for the given requirements and delivery window, aggregated by price level. Individual orders, participants, and matched SKU identities are not exposed.
curl --request GET \
--url https://api.sfcompute.com/preview/v2/orderbook/depth \
--header 'Authorization: Bearer <token>'{
"requirements": {},
"start_at": 1738972800,
"end_at": 1738972800,
"requested_at": 1738972800,
"bids": [
{
"dollars_per_node_hour": "<string>",
"node_count": 4
}
],
"asks": [
{
"dollars_per_node_hour": "<string>",
"node_count": 4
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.sfcompute.com/llms.txt
Use this file to discover all available pages before exploring further.
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
URL-safe field[:op]:value triples joined by ;.
Start of the delivery window. Unix timestamp.
1738972800
End of the delivery window. Unix timestamp.
1738972800
Maximum levels returned per side. Clamped to [1, 100]. Default 20.
1 <= x <= 100Market depth.
Depth of book for one delivery window. Bids descending (highest first), asks ascending (lowest first). Either array may be empty when no orders rest on that side.
The hardware requirements the book was filtered by.
Show child attributes
Start of the delivery window the book covers.
1738972800
End of the delivery window the book covers.
1738972800
Server time when the book was sampled.
1738972800
Bids sorted descending by rate (best bid first).
Show child attributes
Asks sorted ascending by rate (best ask first).
Show child attributes