Python
import requests url = "https://platform.ankra.app/api/v1/clusters/hetzner/server-types" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
[ { "name": "<string>", "description": "<string>", "cores": 123, "memory": 123, "disk": 123, "architecture": "<string>", "cpu_type": "<string>", "price_monthly": 123, "available": true } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Hetzner credential ID to use for API access
Filter availability by location
Server types retrieved from Hetzner API with availability info