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
Example response
[
{
"title": "Europe (Netherlands)",
"code": "ukfast",
"country": "uk",
"coordinates": {
"latitude": 51.5074,
"longitude": 0.1278
},
"pinger_url": "https://my-website.com/ping.php"
}
]