List disk prices
GET
Lists disk prices for every region and disk type on sale, as shown on the public disk pricing page.
Access: Public. No authentication required.
- A disk costs size ×
price_per_gb_month× months, rounded up once per order. Every term (terms) costs the same per month. min_gbis the smallest size sold in that region; sizes go up instep_gbsteps tomax_gb.orderableis false while disk purchases are paused; prices are still listed. Results are cached for 60 seconds.
Disk prices
application/json- response
orderable*booleanFalse while disk purchases are paused.
terms*array<integer>Prepaid terms in months.
data*array<>curl -X GET 'https://layerbeat.com/v1/disk-prices'{ "orderable": true, "terms": [ 1, 3, 12 ], "data": [ { "region": "sgp", "type": "premium", "min_gb": 20, "max_gb": 1000, "step_gb": 10, "price_per_gb_month": { "USD": "0.06500", "IDR": "1157" } }, { "region": "sgp", "type": "ssd", "min_gb": 20, "max_gb": 1000, "step_gb": 10, "price_per_gb_month": { "USD": "0.22000", "IDR": "3916" } } ]}