v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
Agency Hosting: Datacenters

List available datacenters for an Agency Plan order

Lists the datacenters available for provisioning a new website on the given Agency Plan hosting order.

Each datacenter includes a pinger_url you can ping from the client to measure round-trip latency; comparing the results across datacenters lets you pick the nearest one (lowest ping) before choosing its code as the datacenter_code when creating a website setup.

get/api/agency-hosting/v1/orders/{order_id}/datacenters

Path parameters

order_idinteger required
Example:123456

Agency Plan order ID

Response

Success response

titlestring required

Datacenter title

codestring required

Datacenter code

countrystring required

Datacenter country code

pinger_urlstring nullable required

URL you can ping to measure round-trip latency to this datacenter. Compare the measured latency across datacenters to identify the nearest one (lowest ping) for your website. Null when no online server is currently available to measure against.

Example response

[
  {
    "title": "Europe (Netherlands)",
    "code": "ukfast",
    "country": "uk",
    "coordinates": {
      "latitude": 51.5074,
      "longitude": 0.1278
    },
    "pinger_url": "https://my-website.com/ping.php"
  }
]
All 267 operations