Hourly time-weighted OHLC bars for one instance type.
Per-zone series are bucketed by UTC hour with time weighting (a price counts for as long as it was in force), then collapsed across zones: open/close/avg are the median across zones, high is the max, low is the min. Window is capped at 366 days.
Request
- Base URL: https://cloud.trycorpus.ai
- URL: https://cloud.trycorpus.ai/v1/spot/hourly
- Auth: one of:
- API key in header PAYMENT-SIGNATURE
- API key in header Authorization
- API key in header X-Api-Key
Query parameters
Cloud provider. One of aws, gcp, azure.
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.
Instance / machine / SKU type name exactly as listed by /instances (for example c5.large, n2-standard-4, D2s_v5).
Start of the window (inclusive), ISO 8601 UTC. Default: 30 days before to.
End of the window (exclusive), ISO 8601 UTC. Default: now.
Response
Hourly bars.
Changes
No recorded changes to this operation across all 1 revision of this API.