{"openapi":"3.2.0","info":{"title":"Hetzner Price API","description":"Get prices for all Hetzner products","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/api\/v1\/categories":{"get":{"operationId":"api_categories_get_collection","tags":["Category"],"responses":{"200":{"description":"Category collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Category"}}}}}},"summary":"Retrieves the collection of Category resources.","description":"Retrieves the collection of Category resources.","parameters":[{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"schema":{"type":"boolean"},"style":"form","explode":true}]}},"\/api\/v1\/categories\/{name}":{"get":{"operationId":"api_categories_name_get","tags":["Category"],"responses":{"200":{"description":"Category resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Category"}}}},"404":{"description":"Not found","content":{"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Category resource.","description":"Retrieves a Category resource.","parameters":[{"name":"name","in":"path","description":"Category identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false}]}},"\/api\/v1\/products\/{productId}":{"get":{"operationId":"api_products_productId_get","tags":["Product"],"responses":{"200":{"description":"Product resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product-product.read"}}}},"404":{"description":"Not found","content":{"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Product resource.","description":"Retrieves a Product resource.","parameters":[{"name":"productId","in":"path","description":"Product identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"location","in":"query","description":"Filter products by datacenter location (e.g. FSN1, NBG1, HEL1)","required":false,"deprecated":false,"schema":{"type":"string"},"style":"form","explode":true},{"name":"priceType","in":"query","description":"Filter products by price type (hourly, monthly, setup, domain)","required":false,"deprecated":false,"schema":{"type":"string"},"style":"form","explode":true}]}},"\/api\/v1\/server-auction":{"get":{"operationId":"api_server-auction_get_collection","tags":["ServerAuction"],"responses":{"200":{"description":"ServerAuction collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ServerAuction"}}}}}},"summary":"Retrieves the collection of ServerAuction resources.","description":"Retrieves the collection of ServerAuction resources.","parameters":[{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"schema":{"type":"boolean"},"style":"form","explode":true}]}},"\/api\/v1\/tax-rates":{"get":{"operationId":"api_tax-rates_get_collection","tags":["TaxRate"],"responses":{"200":{"description":"TaxRate collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/TaxRate-vat.read"}}}}}},"summary":"Retrieves the collection of TaxRate resources.","description":"Retrieves the collection of TaxRate resources.","parameters":[{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"schema":{"type":"boolean"},"style":"form","explode":true}]}},"\/api\/v1\/tax-rates\/{shortCode}":{"get":{"operationId":"api_tax-rates_shortCode_get","tags":["TaxRate"],"responses":{"200":{"description":"TaxRate resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaxRate-vat.read"}}}},"404":{"description":"Not found","content":{"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a TaxRate resource.","description":"Retrieves a TaxRate resource.","parameters":[{"name":"shortCode","in":"path","description":"TaxRate identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false}]}},"\/api\/v1\/views":{"get":{"operationId":"api_views_get_collection","tags":["View"],"responses":{"200":{"description":"View collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/View"}}}}}},"summary":"Retrieves the collection of View resources.","description":"Retrieves the collection of View resources.","parameters":[{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"schema":{"type":"boolean"},"style":"form","explode":true},{"name":"priceType","in":"query","description":"Comma-separated price types to include (e.g. monthly,hourly,setup)","required":false,"deprecated":false,"schema":{"type":"string"},"style":"form","explode":true}]}},"\/api\/v1\/views\/{slug}":{"get":{"operationId":"api_views_slug_get","tags":["View"],"responses":{"200":{"description":"View resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/View"}}}},"404":{"description":"Not found","content":{"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a View resource.","description":"Retrieves a View resource.","parameters":[{"name":"slug","in":"path","description":"View identifier","required":true,"deprecated":false,"schema":{"type":"string"},"style":"simple","explode":false},{"name":"priceType","in":"query","description":"Comma-separated price types to include (e.g. monthly,hourly,setup)","required":false,"deprecated":false,"schema":{"type":"string"},"style":"form","explode":true}]}}},"components":{"schemas":{"Category":{"type":"object","properties":{"name":{"type":"string"},"lowestPrices":{"type":["object","null"],"additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"products":{"type":["array","null"],"items":{"type":["string","null"]}}}},"Error":{"type":"object","description":"A representation of common errors.","properties":{"title":{"readOnly":true,"description":"A short, human-readable summary of the problem.","type":["string","null"]},"detail":{"readOnly":true,"description":"A human-readable explanation specific to this occurrence of the problem.","type":["string","null"]},"status":{"type":["integer","null"],"examples":[404],"default":400},"instance":{"readOnly":true,"description":"A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.","type":["string","null"]},"type":{"readOnly":true,"description":"A URI reference that identifies the problem type","type":"string"}}},"Location-product.read":{"type":"object","properties":{"countryCode":{"type":["string","null"]},"active":{"default":true,"type":"boolean"},"datacenter":{"type":"string","enum":["NBG1","FSN1","HEL1","ASH1","HIL1","SIN1","ALL","REGISTRATION","TRANSFER","RENEWAL","RESTORE","TRADE","TRUSTEE","AUTHINFO2"]},"prices":{"readOnly":true,"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}}}},"Product-product.read":{"type":"object","properties":{"productId":{"type":"string"},"locations":{"type":"array","items":{"$ref":"#\/components\/schemas\/Location-product.read"}}}},"ServerAuction":{"type":"object","properties":{"prices":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"updatedAt":{"type":["string","null"],"format":"date-time"}}},"TaxRate-vat.read":{"type":"object","properties":{"short":{"type":"string"},"category":{"type":"string","enum":["EU","OT"]},"tax":{"readOnly":true,"type":["number","null"]},"country":{"readOnly":true,"description":"The names as served: an untranslated language shows the English name.","type":"object","additionalProperties":{"type":["string","null"]}}}},"View":{"type":"object","properties":{"slug":{"type":"string"},"updatedAt":{"type":["string","null"],"format":"date-time"},"entries":{"type":["array","null"],"items":{"type":["string","null"]}}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{}},"security":[],"tags":[{"name":"Category","description":"Resource 'Category' operations."},{"name":"View","description":"Resource 'View' operations."},{"name":"ServerAuction","description":"Resource 'ServerAuction' operations."},{"name":"Product","description":"Resource 'Product' operations."},{"name":"TaxRate","description":"Resource 'TaxRate' operations."}],"webhooks":{}}