Get Hetzner Server Types

API server

https://app.coolify.io/api/v1

Choose where to send API requests

This changes the request URL and code examples on every endpoint page.

API server type

Requests will use

https://app.coolify.io/api/v1

Use only a Coolify URL you trust. Sending a test request also sends the API token you enter.

GET
/hetzner/server-types

Get the Hetzner server types (instance sizes) that can be ordered now. Each type lists only the locations where it is in stock and not deprecated.

Authorization

bearerAuth
AuthorizationBearer <token>

Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.

In: header

Query Parameters

location?string

Return only the server types that can be ordered in this location, for example nbg1.

cloud_provider_token_uuid?string

Cloud provider token UUID. Required if cloud_provider_token_id is not provided.

cloud_provider_token_id?stringDeprecated

Deprecated: Use cloud_provider_token_uuid instead. Cloud provider token UUID.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.coolify.io/api/v1/hetzner/server-types"
[  {    "id": 0,    "name": "string",    "description": "string",    "cores": 0,    "memory": 0,    "disk": 0,    "prices": [      {        "location": "string",        "price_hourly": {          "net": "string",          "gross": "string"        },        "price_monthly": {          "net": "string",          "gross": "string"        }      }    ]  }]
{  "message": "Unauthenticated."}
{  "message": "Resource not found."}
{  "message": "Failed to create Hetzner server. The Hetzner API token does not have permission for this request. Use a token with read and write access.",  "provider_status": 403,  "provider_error_code": "forbidden"}