Estimate an order
Estimate a buy or sell order before placing it.
Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Body
- Option 1
- Option 2
Key/value filters on instance SKU properties.
Valid keys and values are published at GET /v2/instance_sku_property_catalog.
Empty map = no constraints.
{ "accelerator": ["H100"] }Order start. Must align to a 60-second boundary.
1738972800
Order duration in seconds. Must be a positive multiple of 60.
x >= 0Number of nodes. Must be positive.
Pool that receives compute when the order fills. Omit to get an estimate without pinning to a pool. The response body then returns a placeholder you must replace before submitting to /v2/orders.
(pool_[0-9a-zA-Z_-]{1,21})|(sfc:pool:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){2,2})"pool_k3R-nX9vLm7Qp2Yw5Jd8F"
Response
Estimate result.
- Option 1
- Option 2
Ready-to-submit body for POST /v2/orders. Posting this body verbatim will fill at the estimated price.
Fee policy for the matched instance SKU.
"quoted"Maintenance windows for the matched instance SKU overlapping the order's delivery window.