{
  "openapi": "3.1.0",
  "info": {
    "title": "NSCloud public pricing API",
    "version": "1.0.0",
    "summary": "Current price list of NSCloud managed cloud servers, Care plans and POHODA Workspace.",
    "description": "The same price list that the configurators on https://nscloud.sk use. All prices are in EUR per month, excluding VAT (23 %). Prices are indicative; the binding price is the one in a written quote. No authentication is needed. Rate limit: 20 requests per minute per IP address, shared with the other public endpoints; above it the API answers HTTP 429. Caching the response (for example for an hour) is recommended.",
    "contact": {
      "name": "NSCloud by NetSolution, s.r.o.",
      "email": "cloud@netsolution.sk",
      "url": "https://nscloud.sk/api"
    }
  },
  "externalDocs": {
    "description": "Documentation for people",
    "url": "https://nscloud.sk/api"
  },
  "servers": [
    { "url": "https://nscloud.sk", "description": "Production" }
  ],
  "paths": {
    "/public/pricing": {
      "get": {
        "operationId": "getPricing",
        "summary": "Current NSCloud price list",
        "description": "Returns the current price list. Keys that the site does not know yet may appear; clients should ignore unknown keys.",
        "responses": {
          "200": {
            "description": "Price list (EUR per month, excluding VAT).",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Pricing" },
                "example": {
                  "os": { "win-dc": 165, "win-std": 22, "win-sql-std": 89, "win-sql-web": 18, "win-rds-user": 7 },
                  "cfg": { "ram": 2.2, "base": 119, "disk": 0.12, "vcpu": 3.5 },
                  "care": { "pro": 149, "critical": 249, "standard": 89 },
                  "tiers": { "start": 149, "vykon": 279, "biznis": 199 },
                  "addons": { "ha": 39, "ip": 3, "backup": 9 },
                  "pohoda": { "base": 29, "m365Price": 13, "userPrice": 14, "companyPrice": 9, "sqlSurcharge": 49, "pohodaCalPrice": 7 },
                  "pohodaTiers": { "tim": 199, "solo": 99, "firma": 349 },
                  "yearlyDiscount": 0.1
                }
              }
            }
          },
          "429": {
            "description": "Too many requests (more than 20 per minute from one IP address)."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Pricing": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "cfg": {
            "type": "object",
            "description": "Server configurator (https://nscloud.sk/cloud-servery).",
            "properties": {
              "base": { "type": "number", "description": "Monthly fee for a managed server. Basic management (monitoring, backups, patching) is included." },
              "vcpu": { "type": "number", "description": "Price per vCPU per month." },
              "ram": { "type": "number", "description": "Price per GB of RAM per month." },
              "disk": { "type": "number", "description": "Price per GB of NVMe storage per month." }
            }
          },
          "tiers": {
            "type": "object",
            "description": "Preconfigured managed server bundles, final price per month. A bundle already includes the managed-server fee (cfg.base), its vCPU, RAM and NVMe storage, a Windows Server Standard licence (os.win-std) and extended backup (addons.backup), so none of these is added to it. Any change, for example a Care plan, turns it into a custom configuration priced from cfg.*, os.*, addons.* and care.*. Sizes are listed on https://nscloud.sk/cloud-servery.",
            "properties": {
              "start": { "type": "number" },
              "biznis": { "type": "number" },
              "vykon": { "type": "number" }
            },
            "additionalProperties": { "type": "number" }
          },
          "os": {
            "type": "object",
            "description": "Licences per server per month.",
            "properties": {
              "win-std": { "type": "number", "description": "Windows Server 2022 Standard." },
              "win-dc": { "type": "number", "description": "Windows Server 2022 Datacenter." },
              "win-sql-web": { "type": "number", "description": "Microsoft SQL Server Web." },
              "win-sql-std": { "type": "number", "description": "Microsoft SQL Server Standard." },
              "win-rds-user": { "type": "number", "description": "Remote Desktop (RDS) licence, per user." }
            },
            "additionalProperties": { "type": "number" }
          },
          "addons": {
            "type": "object",
            "description": "Server add-ons, price per month.",
            "properties": {
              "backup": { "type": "number", "description": "Extended backup (30 restore points)." },
              "ip": { "type": "number", "description": "Additional public IP address." },
              "ha": { "type": "number", "description": "High availability (HA replication)." }
            },
            "additionalProperties": { "type": "number" }
          },
          "care": {
            "type": "object",
            "description": "Care plans per server per month: security and a written SLA on top of the basic management included in every server.",
            "properties": {
              "standard": { "type": "number", "description": "Care Standard." },
              "pro": { "type": "number", "description": "Care PRO." },
              "critical": { "type": "number", "description": "Care Critical." }
            },
            "additionalProperties": { "type": "number" }
          },
          "pohodaTiers": {
            "type": "object",
            "description": "POHODA Workspace bundles (the POHODA accounting system in the cloud), price per month. The POHODA licence and its network CALs are included in the bundle; extra users, companies and Microsoft 365 are priced from pohoda.*. Details on https://nscloud.sk/pohoda-workspace.",
            "properties": {
              "solo": { "type": "number" },
              "tim": { "type": "number" },
              "firma": { "type": "number" }
            },
            "additionalProperties": { "type": "number" }
          },
          "pohoda": {
            "type": "object",
            "description": "POHODA Workspace extras, price per month.",
            "properties": {
              "userPrice": { "type": "number", "description": "Each additional Remote Desktop user above the bundle." },
              "companyPrice": { "type": "number", "description": "Each additional POHODA company (accounting unit)." },
              "m365Price": { "type": "number", "description": "Microsoft 365 Business, per seat (optional)." },
              "pohodaCalPrice": { "type": "number", "deprecated": true, "description": "Not used by the current bundles (network CALs are included in pohodaTiers); kept for compatibility." },
              "base": { "type": "number", "deprecated": true, "description": "Not used by the current bundles; kept for compatibility." },
              "sqlSurcharge": { "type": "number", "deprecated": true, "description": "Not used by the current bundles (all bundles run POHODA SQL); kept for compatibility." }
            },
            "additionalProperties": { "type": "number" }
          },
          "yearlyDiscount": {
            "type": "number",
            "description": "Discount for yearly billing as a fraction (0.1 means 10 %)."
          }
        }
      }
    }
  }
}
