---
title: "Get pricing for a disk"
method: POST
path: "/pricing/disks"
---

# Get pricing for a disk

`POST /pricing/disks`

Get pricing for a disk

## Request body

- TypesDisk
  - `availability_zone` string
  - `capacity_gb` number
  - `fallback_to_base_pricing` boolean
  - `id` string
  - `iops` number
  - `provider` 'GCP' | 'AWS' | 'DigitalOcean' | 'Azure' | 'Hetzner' | 'OVHCloud' | 'PlanetScale' | 'STACKIT' | 'Akamai' | 'Base'
  - `region` string
  - `service` '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` 'SPOT_PREEMPTIBLE' | 'ONDEMAND' | 'RESERVED' | 'ONDEMAND_CUSTOM' | 'SPOT_PREEMPTIBLE_CUSTOM' | 'RESERVED_CUSTOM' | 'SOLE_TENANCY' | 'CUSTOM' | 'EXTENDED'

## Response `200`

Pricing for a given disk

- SchemaDiskPricingsRow
  - `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

## Other responses

- `400` — Invalid request body
- `401` — Unauthorized
- `404` — Pricing not found
- `500` — Internal server error

## Changes

- **2026-08-25** `86266deb5e8c` — 4 info
  - added the new `Akamai` enum value to the request property `provider`
  - added the new `AkamaiBlockStorage` enum value to the request property `service`
  - added the new `AkamaiDatabase` enum value to the request property `service`
  - added the new `AkamaiLinode` enum value to the request property `service`
- **2026-08-13** `f07bdc0e3d36` — 19 info
  - added the new `AlloyDB` enum value to the request property `service`
  - added the new `AmazonRDS` enum value to the request property `service`
  - added the new `AuroraDSQL` enum value to the request property `service`
  - added the new `AzureDatabaseForMySQL` enum value to the request property `service`
  - …15 more
- **2026-05-24** `2806a49483a0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/baselinehq/apis/costgraph-pricing-api/changes/pricing/disks/post.md)

---

[API](https://skmtc.dev/baselinehq/apis/costgraph-pricing-api.md) · [All operations](https://skmtc.dev/baselinehq/apis/costgraph-pricing-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/baselinehq/costgraph-pricing-api/revisions/86266deb5e8c/schema)
