GET
/
cloud
/
v2
/
pricing
/
{project_id}
/
{region_id}
/
k8s
/
clusters
/
{cluster_name}
curl --request GET \
  --url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/k8s/clusters/{cluster_name} \
  --header 'APIKey: <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
    }
  ],
  "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
    }
  ],
  "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
  },
  "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
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

cluster_name
string
required

Cluster ID

Response

200
application/json

Response with prices per hour and per month

Pricing scheme for various resources