spot

Price currently in force per zone and product for one instance type.

The most recent event of every (zone, product) series of the type, with its timestamp and age. A price is only meaningful while the provider still offers the type; AWS series older than ~10 days are likely retired, GCP/Azure reprice rarely so old timestamps are normal. For every type in a region at once use /spot/snapshot.

get/v1/spot/latest

Request

  • Base URL: https://cloud.trycorpus.ai
  • URL: https://cloud.trycorpus.ai/v1/spot/latest
  • Auth: one of:
    • API key in header PAYMENT-SIGNATURE
    • API key in header Authorization
    • API key in header X-Api-Key

Query parameters

provider'aws' | 'gcp' | 'azure' required

Cloud provider. One of aws, gcp, azure.

regionstring required
Example:us-east-1

Region slug as listed by /catalog (for example us-east-1 for AWS, us-central1 for GCP, us-east for Azure). Azure slugs map to eastus, westus2, westeurope.

instancestring required
Example:c5.large

Instance / machine / SKU type name exactly as listed by /instances (for example c5.large, n2-standard-4, D2s_v5).

Response

Latest prices.

providerstring
regionstring
as_ofstring date-time

Newest event in the region; the snapshot is current to this time.

countinteger

Changes

No recorded changes to this operation across all 1 revision of this API.