Skip to main content

Using Hostinger VPS API with Postman: a step-by-step guide

Learn how to install Hostinger API Postman collection

Updated this week

Hostinger VPS API enables easy and efficient management of your Virtual Private Server directly via API requests. This guide explains how to set up and use the Hostinger VPS API using Postman.

Install Postman

If you haven't already, download and install Postman on your system.

Import the Hostinger API collection

  1. Open Postman.

  2. Click Collections on the left sidebar.

  3. Click Import at the top-left.

  4. Choose the Link tab.

  5. https://www.postman.com/hostinger-api/hostinger/collection/1jnj25h/hostinger-api
  6. Click Continue, then Import.

The Hostinger API collection is now imported and ready to use.

Configure your API key

  1. Within Postman, click on the imported Hostinger API collection.

  2. Click the Variables tab.

  3. Add your Hostinger API key to the api_key variable:

  • Name: api_key

  • Value: Paste your Hostinger API key.

Note: You can find your API key in your Hostinger account settings.

Making Your First API Request

  1. Under the imported collection, navigate to the VPS folder.

  2. Select an endpoint you wish to use, for example, "List all VPS instances."

  3. Click Send.

Postman will perform the API request, and you'll see the JSON response in the response section.

You have now successfully integrated and tested Hostinger VPS API with Postman. Utilize this setup to manage your VPS resources programmatically and efficiently.

If you want more support or questions, please refer to the official Hostinger API documentation.

Did this answer your question?