ec2instances.info icon indicating copy to clipboard operation
ec2instances.info copied to clipboard

Inconsistent details via API call for products

Open thecloudgarage opened this issue 1 year ago • 3 comments

The API call for products is missing details for quite a number of products.

Here is my API call

curl --request GET
--url 'https://api.vantage.sh/v2/products?provider_id=aws'
--header 'accept: application/json'
--header 'authorization: Bearer '

As an example the API call for products returns no details., except for the name for m6idn.xlarge instance and many other instance types.

image

Similarly, when I visit the homepage and filter for m6idn.xlarge., I can see the details

image

I can confirm that my API call is constructed properly with token, because in the same API call where instances are missing details, it has many other instances whose details are properly populated

image image

Is there an issue or something that I need to do differently....

thecloudgarage avatar Feb 09 '24 06:02 thecloudgarage

Hey! I've posted this issue for our engineering team to look at but if you would simply like to work with the raw data from ec2instances.info you can do this:

curl https://instances.vantage.sh/instances.json -o instances.json

EverettBerry avatar Feb 09 '24 13:02 EverettBerry

Thanks that helped., this json output does not include RDS, ElastiCache, RedShift, etc.. instances. How can I get the JSON for the same...

thecloudgarage avatar Feb 13 '24 06:02 thecloudgarage

Got it! Those are available at the corresponding URLs. So:

https://instances.vantage.sh/rds/instances.json

https://instances.vantage.sh/cache/instances.json

And so on

EverettBerry avatar Feb 13 '24 11:02 EverettBerry