Data Centers

Get a Data Center

Deprecated: This endpoint is deprecated as of 01 June 2026 and will be removed after 01 October 2026.

Returns a single Data Center.

get/datacenters/{id}

Request

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

Path parameters

idinteger required

ID of the Data Center.

Example:42

ID of the Data Center.

Response

Request succeeded.

Example response

{
  "datacenter": {
    "id": 42,
    "name": "fsn1-dc8",
    "description": "Falkenstein DC Park 8",
    "location": {
      "id": 42,
      "name": "fsn1",
      "description": "Falkenstein DC Park 1",
      "country": "DE",
      "city": "Falkenstein",
      "latitude": 50.47612,
      "longitude": 12.370071,
      "network_zone": "eu-central"
    },
    "server_types": {
      "supported": [
        1,
        2,
        3
      ],
      "available": [
        1,
        2,
        3
      ],
      "available_for_migration": [
        1,
        2,
        3
      ]
    }
  }
}

Changes

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