Skip to content

List database plans

GET/v1/databases/plans

Returns the database plans that are currently available, grouped by zone and sorted cheapest first. Plans are per engine: use a plan whose engine matches the engine you create. A plan with monthly_price_cents of 0 is a free plan and counts toward the free database quota.

This endpoint is public and needs no API key or workspace.

Authentication

This endpoint is public. No API key is needed.

Response

200

The available database plans.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataarray of objects
Show item attributes
uidstring

Plan UID.

namestringRequired

Display name of the plan.

slugstringRequired

Identifier to pass as plan_slug.

productstringRequired

Always database.

enginestring

Engine the plan is for. Omitted when the plan has no engine set.

One ofpostgresmysqlredis

zone_slugstringRequired

Zone the plan runs in.

vcpuintegerRequired

Whole vCPUs. Reads 1 on plans with a fractional CPU allowance; use cpu_limit_millis for the real cap.

cpu_request_millisinteger

Guaranteed CPU in millicores. Omitted when not set.

cpu_limit_millisinteger

Maximum CPU in millicores (for example 750 is three quarters of a core). Omitted when not set.

memory_mibintegerRequired

Memory in MiB.

included_disk_gibintegerRequired

Storage included in the plan, in GiB.

included_egress_gibintegerRequired

Outbound traffic included per month, in GiB.

network_ingress_mbitintegerRequired

Inbound bandwidth cap in Mbit/s.

network_egress_mbitintegerRequired

Outbound bandwidth cap in Mbit/s.

monthly_price_centsintegerRequired

Monthly price in cents of currency. 0 means a free plan.

hourly_price_centsintegerRequired

Hourly price in whole cents.

hourly_price_microsintegerRequired

Hourly price in millionths of the currency unit (for example 2534 is $0.002534 an hour). 0 for free plans.

currencystringRequired

ISO 4217 currency code.

availablebooleanRequired

Whether new databases can be created on the plan. Always true here.