Server Types

Get a Server Type

Gets a specific Server type object.

get/server_types/{id}

Request

  • Base URL: https://api.hetzner.cloud/v1
  • URL: https://api.hetzner.cloud/v1/server_types/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

ID of the Server Type.

Example:42

ID of the Server Type.

Response

Request succeeded.

Example response

{
  "server_type": {
    "id": 1,
    "name": "cpx22",
    "description": "CPX22",
    "cores": 2,
    "memory": 4,
    "disk": 80,
    "prices": [
      {
        "location": "fsn1",
        "price_hourly": {
          "net": "1.0000",
          "gross": "1.1900"
        },
        "price_monthly": {
          "net": "1.0000",
          "gross": "1.1900"
        },
        "included_traffic": 654321,
        "price_per_tb_traffic": {
          "net": "1.0000",
          "gross": "1.1900"
        }
      }
    ],
    "cpu_type": "shared",
    "category": "Shared vCPU",
    "architecture": "x86",
    "deprecation": {
      "unavailable_after": "2023-09-01T00:00:00Z",
      "announced": "2023-06-01T00:00:00Z"
    },
    "locations": [
      {
        "id": 42,
        "name": "fsn1",
        "deprecation": {
          "unavailable_after": "2023-09-01T00:00:00Z",
          "announced": "2023-06-01T00:00:00Z"
        },
        "available": true
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.