---
title: "Get data center list"
method: GET
path: "/api/vps/v1/data-centers"
tags: ["VPS: Data centers"]
---

# Get data center list

`GET /api/vps/v1/data-centers`

Retrieve all available data centers.

Use this endpoint to view location options before deploying VPS instances.

## Response `200`

Success response

- VPSV1DataCenterDataCenterResource[] — Array of [`VPS.V1.DataCenter.DataCenterResource`](#model/vpsv1datacenterdatacenterresource)
  - `id` integer — Data center ID
  - `name` string, nullable — Data center name
  - `location` string, nullable — Data center location country (two letter code)
  - `city` string, nullable — Data center location city
  - `continent` string, nullable — Data center location continent

## 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)
