curl --request GET \
--url https://api.sfcompute.com/v0/orders \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"object": "order",
"id": "ordr_xyz123",
"side": "buy",
"instance_type": "h100i",
"price": 1600,
"quantity": 2,
"status": "open",
"created_at": "2024-07-15T22:30:17.426Z",
"start_at": "2024-07-16T00:00:00Z",
"end_at": "2024-07-17T00:00:00Z",
"flags": {
"ioc": false,
"post_only": false,
"market": false,
"prorate": false
}
}
],
"has_more": false
}List active and historical orders
curl --request GET \
--url https://api.sfcompute.com/v0/orders \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"object": "order",
"id": "ordr_xyz123",
"side": "buy",
"instance_type": "h100i",
"price": 1600,
"quantity": 2,
"status": "open",
"created_at": "2024-07-15T22:30:17.426Z",
"start_at": "2024-07-16T00:00:00Z",
"end_at": "2024-07-17T00:00:00Z",
"flags": {
"ioc": false,
"post_only": false,
"market": false,
"prorate": false
}
}
],
"has_more": false
}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.
Filter by order side (buy or sell)
buy, sell Filter by instance type
"h100i"
"h100v"
"h200ki"
Minimum price in cents
Maximum price in cents
Minimum start date An ISO 8601 datetime string
"2025-07-11T20:41:37.423Z"
Maximum start date An ISO 8601 datetime string
"2025-07-11T20:41:37.423Z"
Minimum duration in seconds Unix timestamp.
1738972800
Maximum duration in seconds Unix timestamp.
1738972800
Minimum quantity
Maximum quantity
Filter by contract ID
cont_[0-9a-zA-Z_-]{1,21}"cont_k3R-nX9vLm7Qp2Yw5Jd8F"
Show only open orders
Exclude filled orders
Show only filled orders
Minimum filled at date An ISO 8601 datetime string
"2025-07-11T20:41:37.423Z"
Maximum filled at date An ISO 8601 datetime string
"2025-07-11T20:41:37.423Z"
Minimum fill price in cents
Maximum fill price in cents
Exclude cancelled orders
Show only cancelled orders
Minimum cancelled at date An ISO 8601 datetime string
"2025-07-11T20:41:37.423Z"
Maximum cancelled at date An ISO 8601 datetime string
"2025-07-11T20:41:37.423Z"
Minimum placed at date An ISO 8601 datetime string
"2025-07-11T20:41:37.423Z"
Maximum placed at date An ISO 8601 datetime string
"2025-07-11T20:41:37.423Z"
Maximum number of results to return (default: 100, max: 100)
Number of results to skip
Sort field Sort field for listing orders
created_at, start_time "created_at"
"start_time"
Sort direction Sort direction for listing orders
ASC, DESC "ASC"
"DESC"