Skip to main content
GET
/
cloud
/
v1
/
pricing
/
{region_id}
/
ddos
Get DDoS protection price
curl --request GET \
  --url https://api.gcore.com/cloud/v1/pricing/{region_id}/ddos \
  --header 'Authorization: <api-key>'
{
  "current_month_days": 123,
  "current_month_days_last": 123,
  "next_month_days": 123,
  "price": {
    "feature_name": "<string>",
    "period": "<string>",
    "price_currency": "AED",
    "unit_name": "<string>",
    "unit_size": 123,
    "price_per_30d": 123,
    "price_per_day": 123,
    "price_per_hour": 123
  }
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

region_id
integer
required

Region ID

Response

200 - application/json

OK

current_month_days
integer
required

Number of days in the current month

current_month_days_last
integer
required

Number of days left in the current month

next_month_days
integer
required

Number of days in the next month

price
DDosPriceDetailsSerializer · object
required

DDoS protection price details