Closed ivan94fi closed 1 year ago
Hey @ivan94fi it is possible to download these programmatically, although it is a bit clunky. You can do the following:
curl https://instances.vantage.sh/instances.json -o instances.json
Every service, including /azure
has an instances file available with all the prices and specs.
Thank you @EverettBerry, closing the issue. Honestly, I think it would be nice to have spot prices also in the user facing API, but for the moment being the instances.json
file will do.
I can query on demand prices for linux machines through the api with the following cURL call:
However spot prices are not available, even in the listing returned by
products/aws-ec2-$instance_id/prices/
, while they are available in the website interface (https://instances.vantage.sh/?region=eu-west-1&selected=g5.2xlarge).Is it possible to have spot prices through the API?