Skip to main content
POST
Get pricing for a disk

Authorizations

X-API-Key
string
header
required

API key with "bl_" prefix (e.g. "bl_<api_key>")

Body

application/json

Disk

availability_zone
string
capacity_gb
number
fallback_to_base_pricing
boolean
id
string
iops
number
provider
enum<string>
Available options:
GCP,
AWS,
DigitalOcean,
Azure,
Hetzner,
OVHCloud,
PlanetScale,
STACKIT,
Akamai,
Base
region
string
service
enum<string>
Available options:
ComputeEngine,
AmazonEC2,
Droplet,
AzureCompute,
AzureManagedDisks,
HetznerCompute,
OVHPublicCloud,
BaseCompute,
BaseDisks,
AmazonEBS,
AmazonRDS,
AuroraDSQL,
CloudSQL,
AlloyDB,
CloudSpanner,
AzureDatabaseForPostgreSQL,
AzureDatabaseForMySQL,
AzureSQLDatabase,
AzureSQLManagedInstance,
PlanetScale,
ComputeEnginePersistentDisk,
STACKITCompute,
STACKITBlockStorage,
STACKITDatabase,
AkamaiLinode,
AkamaiBlockStorage,
AkamaiDatabase
throughput_mbps
number
type
string
usage_type
enum<string>
Available options:
SPOT_PREEMPTIBLE,
ONDEMAND,
RESERVED,
ONDEMAND_CUSTOM,
SPOT_PREEMPTIBLE_CUSTOM,
RESERVED_CUSTOM,
SOLE_TENANCY,
CUSTOM,
EXTENDED

Response

Pricing for a given disk

availability_zone
string
cost_per_gb_hour
number
cost_per_iops_hour
number
cost_per_throughput_mbps_hour
number
created_at
string
currency
string
id
string
max_capacity_gb
number
max_iops
number
max_throughput_mbps
number
min_capacity_gb
number
min_iops
number
min_throughput_mbps
number
native_cost_per_gb_hour
number
native_cost_per_iops_hour
number
native_cost_per_throughput_mbps_hour
number
period_billing_hours
number
provider
string
raw_pricing_data
object
region
string
service
string
tags
object
type
string
updated_at
string
usage_type
string