VPS: Data centers

Get data center list

Retrieve all available data centers.

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

get/api/vps/v1/data-centers

Request

  • Base URL: https://developers.hostinger.com
  • URL: https://developers.hostinger.com/api/vps/v1/data-centers
  • Auth: HTTP bearer

Response

Success response

idinteger

Data center ID

namestring nullable

Data center name

locationstring nullable

Data center location country (two letter code)

citystring nullable

Data center location city

continentstring nullable

Data center location continent

Example response

[
  {
    "id": 29,
    "name": "phx",
    "location": "us",
    "city": "Phoenix",
    "continent": "North America"
  }
]

Changes

No recorded changes to this operation across all 130 revisions of this API.