Pricing

Get Current Prices V2

get

Get current pricing information for an instance type.

Returns the current spot price, reserved price, and minimum price for a given instance type, optionally filtered by region.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
instance_typestringRequired
regionstring · nullableOptionalExample: us-central1-a
instance_quantityinteger · min: 1 · max: 256OptionalDefault: 1
Responses
chevron-right
200

Successful Response

application/json
spot_price_centsinteger · nullableOptional
reserved_price_centsinteger · nullableOptional
minimum_price_centsinteger · nullableOptional
lowest_allocated_bid_centsinteger · nullableOptional
dynamic_win_price_centsinteger · nullableOptional
available_capacityinteger · nullableOptional
total_capacityinteger · nullableOptional
get
/v2/pricing/current

Get Historical Prices V2

get

Get historical pricing information for instance types.

Returns historical spot and reserved prices over time for instance types, optionally filtered by specific instance type and region.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
instance_typesstring · nullableOptional
regionstring · nullableOptionalExample: us-central1-a
num_samplesinteger · min: -1 · max: 1000OptionalDefault: 100
start_timestring · datetime · nullableOptionalExample: 2024-01-01T00:00:00Z
end_timestring · datetime · nullableOptionalExample: 2024-01-01T00:00:00Z
Responses
chevron-right
200

Successful Response

application/json

Response model for historical pricing data.

completebooleanOptionalDefault: true
get
/v2/pricing/history

Last updated