Skip to main content
GET
/
cloud
/
v2
/
pricing
/
{project_id}
/
{region_id}
/
k8s
/
clusters
/
{cluster_name}
Get k8s cluster price
curl --request GET \
  --url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/k8s/clusters/{cluster_name} \
  --header 'Authorization: <api-key>'
{
  "instances": [
    {
      "currency_code": "USD",
      "discount_percent": 0.16,
      "price_per_hour": 1,
      "price_per_month": 720,
      "price_status": "show",
      "price_without_discount_per_month": 604.8,
      "tax_percent": 17
    }
  ],
  "publicips": [
    {
      "currency_code": "USD",
      "discount_percent": 0.16,
      "price_per_hour": 1,
      "price_per_month": 720,
      "price_status": "show",
      "price_without_discount_per_month": 604.8,
      "tax_percent": 17
    }
  ],
  "total_price": {
    "currency_code": "USD",
    "discount_percent": 0.16,
    "price_per_hour": 1,
    "price_per_month": 720,
    "price_status": "show",
    "price_without_discount_per_month": 604.8,
    "tax_percent": 17
  },
  "volumes": [
    {
      "currency_code": "USD",
      "discount_percent": 0.16,
      "price_per_hour": 1,
      "price_per_month": 720,
      "price_status": "show",
      "price_without_discount_per_month": 604.8,
      "tax_percent": 17
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

project_id
integer
required
region_id
integer
required
cluster_name
string
required

Response

instances
ItemPriceResponseSerializer · object[]
required
publicips
ItemPriceResponseSerializer · object[]
required
total_price
object
required
Examples:
volumes
ItemPriceResponseSerializer · object[]
required