Skip to main content
POST
Get pricing for an instance

Authorizations

X-API-Key
string
header
required

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

Body

application/json

Instance

availability_zone
string
fallback_to_base_pricing
boolean
id
string
instance_type
string
operating_system
string
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
usage_type
enum<string>
Available options:
SPOT_PREEMPTIBLE,
ONDEMAND,
RESERVED,
ONDEMAND_CUSTOM,
SPOT_PREEMPTIBLE_CUSTOM,
RESERVED_CUSTOM,
SOLE_TENANCY,
CUSTOM,
EXTENDED
vm
object

Response

Pricing for a given instance

architecture
string
availability_zone
string
cost_per_hour
number
cpu_cores
number
cpu_cores_cost_per_hour
number
created_at
string
currency
string
gpu_cost_per_hour
number
gpu_count
number
gpu_type
string
id
string
instance_type
string
native_cost_per_hour
number
operating_system
string
period_billing_hours
number
provider
string
ram_gb
number
ram_gb_cost_per_hour
number
raw_pricing_data
object
region
string
service
string
tags
object
updated_at
string
usage_type
string