Okapi Okapi

Hetzner Cloud API GET /v1/datacenters* endpoint removal

Stopped workingSubscribe to Hetzner Cloud APIShare

On October 1, 2026, Hetzner Cloud API removed the GET /v1/datacenters* endpoints. Calls to these routes fail since that date and now return HTTP 410 Gone.


Calls it hits

  • GET /v1/datacenters*

What to use instead of these calls

Read locations with GET /v1/locations instead, and retrieve per-location availability from the locations entries in GET /v1/server_types.

In Hetzner Cloud API's words

the endpoints for GET /v1/datacenters and GET /v1/datacenters/{id} are removed and now return HTTP 410 Gone.

Hetzner Cloud API, Announcement

Facts

API
Hetzner Cloud API api.hetzner.cloud
Kind
Endpoint removal
Announced
June 2, 2026
Takes effect
October 1, 2026
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Hetzner Cloud API's own pages

Questions

When does this change take effect?

Calls to GET /v1/datacenters* on Hetzner Cloud API stopped working on October 1, 2026.

What happens to calls after October 1, 2026?

They have failed since October 1, 2026.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Hetzner Cloud API 10

  1. /2009-04-04/meta-dataEndpoint removal Stopped working
  2. /2009-04-04/user-dataEndpoint removal Stopped working
  3. /latest/meta-dataEndpoint removal Stopped working
  4. /latest/meta-data/{id}Endpoint removal Stopped working
  5. POST /floating_ips/{id}/actions/change_dns_ptrBehaviour change Stopped working
  6. POST /load_balancers/{id}/actions/change_dns_ptrBehaviour change Stopped working
  7. POST /primary_ips/{id}/actions/change_dns_ptrBehaviour change Stopped working
  8. POST /servers/{id}/actions/change_dns_ptrBehaviour change Stopped working
  9. POST /zones/{id}/rrsets/{id}/{id}/actions/change_ttlBehaviour change Stopped working
  10. debian-11Model retirement Stops workingin 24 days

All 6 Hetzner Cloud API v1 breaking changes →


You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Hetzner Cloud API

Hear about each breaking change Hetzner Cloud API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Hetzner Cloud API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.