Skip to content
Integration

Hostinger integrations and automation

Say what should happen in Hostinger, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.

Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.

No credit card needed.

Hostinger on Whenever

About Hostinger

Web hosting and domain management platform with APIs for billing, domains, DNS, and VPS management

How Whenever connects

Through its API, with the provider’s credentials and permissions.

Build it from your AI client

Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the Hostinger workflow. It then runs on Whenever, with the chat closed.

Set up the Whenever MCP server

Plan your Hostinger workflow

Hostinger’s public API covers the parts of an account that people otherwise click through hPanel for: the domain portfolio, DNS zone records, VPS instances, hosting, email and billing subscriptions. Requests are authenticated with a bearer token you create in hPanel’s API settings, and the full endpoint list is published as an OpenAPI specification on developers.hostinger.com. Because a token carries account-wide access, store it as a secret and give it only to the workflows that need it.

DNS is the most common automation target. A zone is read or updated per domain, and records are described by name, type, TTL and value. Updating a zone can either overwrite matching records or replace the whole zone depending on the request, so a careless change to one A record can wipe unrelated TXT or MX records. Read the current zone first, change only the record you mean to change, and keep a copy of the previous values in the run log or a sheet for rollback.

For VPS plans, the API exposes virtual machine details and actions such as start, stop and restart, plus backups, snapshots, firewalls and metrics. A nightly job can create a snapshot before a deploy window, or a check can report a server that is not in a running state. Remember that actions are asynchronous: the API returns an action record, and its state should be read again rather than assumed complete.

The domain and billing endpoints help with renewals. Listing the portfolio returns each domain with its status and expiry, and the billing side lists subscriptions with renewal information. That is enough for a monthly report of what expires soon and whether auto-renew is on. Hostinger applies rate limits to the API, so a job that touches many domains should space its requests instead of firing them all at once.

Hostinger workflow examples

Starter briefs to set up with your accounts, not finished workflows.

Domain expiry report

A monthly reminder built from the domain portfolio, so a forgotten domain does not lapse.

Build this workflow

Snapshot a VPS before weekly maintenance

Creates a restore point ahead of a regular change window and confirms the action finished.

Build this workflow

Keep a TXT verification record in place

Checks one DNS record and restores it only if it has gone missing, leaving the rest of the zone untouched.

Build this workflow

Related apps for your workflows

All integrations

Hostinger FAQs

Where do I get a Hostinger API token?

Create one in hPanel under your account’s API settings. Requests send it as a bearer token in the Authorization header.

Can an API DNS update delete my other records?

It can, if the request replaces the zone rather than only the targeted records. Read the zone first and send only the records you intend to change.

Which Hostinger products does the API cover?

The published reference groups endpoints by hosting, domains, DNS, email, VPS, WordPress, ecommerce and billing. Check the reference for the specific operation you need.

Does a VPS restart through the API finish immediately?

No. VPS actions return an action record whose state changes as it runs, so check it again before relying on the outcome.

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.