curl --request GET \
--url https://api.sfcompute.com/preview/v2/orderbook/quote \
--header 'Authorization: Bearer <token>'{
"requirements": {},
"start_at": 1738972800,
"end_at": 1738972800,
"requested_at": 1738972800,
"best_bid": {
"dollars_per_node_hour": "<string>",
"node_count": 4
},
"best_ask": {
"dollars_per_node_hour": "<string>",
"node_count": 4
}
}Top-of-book quote (best bid + best ask) for the given requirements and delivery window. The book is aggregated across every SKU whose orders satisfy the requirements and that the caller is permitted to see.
curl --request GET \
--url https://api.sfcompute.com/preview/v2/orderbook/quote \
--header 'Authorization: Bearer <token>'{
"requirements": {},
"start_at": 1738972800,
"end_at": 1738972800,
"requested_at": 1738972800,
"best_bid": {
"dollars_per_node_hour": "<string>",
"node_count": 4
},
"best_ask": {
"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
Market quote.
Top-of-book snapshot: the highest resting buy (best_bid) and lowest resting sell (best_ask) for the requested window. Either side may be absent if no orders are resting on it.
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
Highest resting buy. Omitted if no bids are resting.
Show child attributes
Lowest resting sell. Omitted if no asks are resting.
Show child attributes