API Version: 1.2.0 (26-Jan-2025)
Last updated 4 days ago
Fetch the monthly price based on the specified VM configuration parameters.
Successful operation
"a2e55f7d-c741-4317-acce-124dc34ffaad"
const response = await fetch('https://api.cloud.onidel.com/instance_price?vcpu=text&ram=text&disk=text&location=text¤cy=aud&instance_type=123e4567-e89b-12d3-a456-426614174000', { method: 'GET', headers: {}, }); const data = await response.json();
{ "instance_type": "a2e55f7d-c741-4317-acce-124dc34ffaad", "vcpu": 0, "ram": 0, "disk": 0, "bw": 0, "net_rate": 0, "price_per_month": 0, "currency": "text" }