wooden-smartphone-11475
07/13/2023, 4:37 PMcurl <https://pricing.api.infracost.io/graphql> \
-X POST \
-H 'X-Api-Key: <my-key>' \
-H 'Content-Type: application/json' \
--data '
{"query": "{ products(filter: {vendorName: \"aws\", service: \"AmazonEC2\", region: \"ap-northeast-1\", attributeFilters: [{key: \"instanceType\", value: \"x2gd.4xlarge\"}, {key: \"operatingSystem\", value: \"Linux\"}, {key: \"tenancy\", value: \"Shared\"}, {key: \"capacitystatus\", value: \"Used\"}, {key: \"preInstalledSw\", value: \"NA\"}]}) { prices(filter: {purchaseOption: \"on_demand\"}) { USD } } } "}
'
{
"data": {
"products": []
}
}
Thanks a lot!!little-author-61621
wooden-smartphone-11475
07/13/2023, 4:40 PMlittle-author-61621
wooden-smartphone-11475
07/13/2023, 4:44 PMlittle-author-61621