Skip to main content
GET
Get market quote

Authorizations

Authorization
string
header
required

Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.

Query Parameters

requirements
string

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

start_at
integer<int64>
required

Start of the delivery window. Unix timestamp.

Example:

1738972800

end_at
integer<int64>
required

End of the delivery window. Unix timestamp.

Example:

1738972800

Response

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.

requirements
object
required

The hardware requirements the book was filtered by.

Example:
start_at
integer<int64>
required

Start of the delivery window the book covers.

Example:

1738972800

end_at
integer<int64>
required

End of the delivery window the book covers.

Example:

1738972800

requested_at
integer<int64>
required

Server time when the book was sampled.

Example:

1738972800

best_bid
null | object

Highest resting buy. Omitted if no bids are resting. If multiple SKUs tie at the best bid price, this is the lowest instance SKU at that price; use /depth to inspect every SKU at the price level.

best_ask
null | object

Lowest resting sell. Omitted if no asks are resting. If multiple SKUs tie at the best ask price, this is the lowest instance SKU at that price; use /depth to inspect every SKU at the price level.