---
title: "List available datacenters"
method: GET
path: "/api/hosting/v1/datacenters"
tags: ["Hosting: Datacenters"]
---

# List available datacenters

`GET /api/hosting/v1/datacenters`

Retrieve a list of datacenters available for setting up hosting plans
based on available datacenter capacity and hosting plan of your order.
The first item in the list is the best match for your specific order
requirements.

## Query parameters

- `order_id` integer, required

## Response `200`

Success response

- HostingV1DatacenterDatacenterResource[] — Array of [`Hosting.V1.Datacenter.DatacenterResource`](#model/hostingv1datacenterdatacenterresource)
  - `title` string — Data center title
  - `code` string — Data center code
  - `coordinates` HostingV1DatacenterCoordinatesResource
    - `latitude` number, float — Latitude coordinate
    - `longitude` number, float — Longitude coordinate

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
