Documentation generated
at 04.02.2023 23:29:05

Dedicated Server

Available filter options
GET public/products/dedicated/options

Returns a list of available filter options.

curl -X GET \
-G 'https://api.pph.sh/public/products/dedicated/options' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "cpu": {
            "id": "cpu",
            "label": "Prozessor",
            "format": "%s",
            "type": "option",
            "values": [
                "Core i7-2600",
                "Core i7-2600 - Red.PS",
                "Core i7-3770",
                "Core i7-3930",
                "Core i7-4770",
                "Core i7-6700",
                "Core i7-7700",
                "Core i7-8700",
                "Core i9-9900K",
                "Opteron 6338P",
                "Ryzen 7 1700X",
                "Ryzen 7 PRO 1700X",
                "Ryzen Threadripper 2950X",
                "Xeon E3-1245",
                "Xeon E3-1245 - Red.PS",
                "Xeon E3-1245V2",
                "Xeon E3-1246V3",
                "Xeon E3-1270V3",
                "Xeon E3-1271V3",
                "Xeon E3-1275",
                "Xeon E3-1275 - Red.PS",
                "Xeon E3-1275V2 - Red.PS",
                "Xeon E3-1275V6",
                "Xeon E3-1275v5",
                "Xeon E5-1650V2",
                "Xeon E5-1650V3",
                "Xeon W-2145",
                "Xeon W-2145 - Red.PS",
                "Xeon W-2245"
            ]
        },
        "memory": {
            "id": "memory",
            "label": "Arbeitsspeicher",
            "format": "%s GB",
            "type": "range",
            "values": [
                16,
                32,
                64,
                96,
                112,
                128,
                160,
                192,
                256
            ]
        },
        "disk": {
            "id": "disk",
            "label": "Speicherplatz",
            "format": "%s GB",
            "type": "range",
            "values": [
                0,
                120,
                240,
                250,
                256,
                480,
                500,
                512,
                600,
                750,
                960,
                1024,
                1536,
                1966,
                2048,
                3072,
                3932,
                4096,
                6144,
                8192,
                10240,
                12288,
                16384
            ]
        },
        "disktype": {
            "id": "disktype",
            "label": "Speicher-Typ",
            "format": "%s",
            "type": "option",
            "values": [
                "hdd",
                "hybrid",
                "nvme",
                "ssd"
            ]
        },
        "networkspeed": {
            "id": "networkspeed",
            "label": "Bandbreite",
            "format": "%s MBit\/s",
            "type": "option",
            "values": [
                1000
            ]
        },
        "price": {
            "id": "price",
            "label": "Preis",
            "format": "%s Euro",
            "type": "range",
            "values": [
                57,
                58,
                59,
                60,
                61,
                63,
                64,
                65,
                66,
                67,
                69,
                70,
                71,
                72,
                73,
                74,
                75,
                76,
                77,
                78,
                79,
                80,
                82,
                83,
                84,
                85,
                86,
                88,
                89,
                90,
                91,
                98,
                99,
                100,
                101,
                103,
                104,
                105,
                106,
                107,
                109,
                110,
                111,
                112,
                113,
                114,
                116,
                117,
                118,
                119,
                120,
                122,
                123,
                124,
                125,
                126,
                128,
                129,
                130,
                131,
                132,
                134,
                135,
                136,
                137,
                138,
                139,
                141,
                142,
                143,
                144,
                145,
                147,
                148,
                151,
                153,
                154,
                155,
                156,
                158,
                160,
                162,
                163,
                164,
                166,
                167,
                168,
                169,
                170,
                172,
                173,
                175,
                176,
                178,
                180,
                181,
                182,
                185,
                186,
                187,
                188,
                189,
                191,
                192,
                194,
                195,
                197,
                198,
                199,
                200,
                201,
                204,
                205,
                206,
                207,
                212,
                213,
                214,
                220,
                223,
                232,
                235,
                236,
                239,
                256,
                273,
                275,
                282,
                307
            ]
        }
    }
}
Pricing for additional IPs
GET public/products/dedicated/ips
curl -X GET \
-G 'https://api.pph.sh/public/products/dedicated/ips' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "single": [
            {
                "name": "1 zus\u00e4tzliche IP(s)",
                "setup": 7.5,
                "price": 2.5
            },
            {
                "name": "2 zus\u00e4tzliche IP(s)",
                "setup": 15,
                "price": 5
            },
            {
                "name": "3 zus\u00e4tzliche IP(s)",
                "setup": 22.5,
                "price": 7.5
            },
            {
                "name": "4 zus\u00e4tzliche IP(s)",
                "setup": 30,
                "price": 10
            },
            {
                "name": "5 zus\u00e4tzliche IP(s)",
                "setup": 37.5,
                "price": 12.5
            },
            {
                "name": "6 zus\u00e4tzliche IP(s)",
                "setup": 45,
                "price": 15
            }
        ],
        "subnets": [
            {
                "name": "\/29-IP Subnetz (6 verwendbare IPs)",
                "setup": 60,
                "price": 20
            },
            {
                "name": "\/28-IP Subnetz (14 verwendbare IPs)",
                "setup": 120,
                "price": 40
            },
            {
                "name": "\/27-IP Subnetz (30 verwendbare IPs)",
                "setup": 240,
                "price": 80
            }
        ]
    }
}
List orderable servers
GET public/products/dedicated

Returns a list of orderable dedicated servers

Query-Parameter

Feld Datentyp Beschreibung
sort string Sort response by a specific field. Example: price
limit int Limit the response length. Example: 5
curl -X GET \
-G 'https://api.pph.sh/public/products/dedicated' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "current_page": 1,
    "data": [
        {
            "serverid": 1730555,
            "recommendation": false,
            "vendor": "intel",
            "hardwareid": "intel-core-i7-4770-4x-ram-8192-mb-ddr3-2x-ssd-sata-240-gb",
            "description": [
                "Intel Core i7-4770",
                "4x RAM 8192 MB DDR3",
                "2x SSD SATA 240 GB"
            ],
            "cpu": "Core i7-4770",
            "benchmark": 7048,
            "memory": 32,
            "disksize": 240,
            "diskcount": 2,
            "disktype": {
                "rotational": false,
                "type": "ssd"
            },
            "disktags": [
                "ssd"
            ],
            "datacenter": "FSN1-DC10",
            "networkspeed": 1000,
            "price": 56.98,
            "setup": 10,
            "internal": "MTczMDU1NXwyOjMyfDM4MDg=",
            "discount": null,
            "extra": {
                "special_offer": false
            }
        }
    ]
}