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
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_typestring · nullableOptionalExample: it_abc123456
regionstring · nullableOptionalExample: us-central1-a
num_samplesinteger · min: 1 · max: 1000OptionalDefault: 100
Responses
chevron-right
200

Successful Response

application/json
get
/v2/pricing/history

Last updated