About Hostinger
Web hosting and domain management platform with APIs for billing, domains, DNS, and VPS management
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.
Web hosting and domain management platform with APIs for billing, domains, DNS, and VPS management
Through its API, with the provider’s credentials and permissions.
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 serverHostinger’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.
Starter briefs to set up with your accounts, not finished workflows.
A monthly reminder built from the domain portfolio, so a forgotten domain does not lapse.
Creates a restore point ahead of a regular change window and confirms the action finished.
Checks one DNS record and restores it only if it has gone missing, leaving the rest of the zone untouched.
Create one in hPanel under your account’s API settings. Requests send it as a bearer token in the Authorization header.
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.
The published reference groups endpoints by hosting, domains, DNS, email, VPS, WordPress, ecommerce and billing. Check the reference for the specific operation you need.
No. VPS actions return an action record whose state changes as it runs, so check it again before relying on the outcome.
One workflow free. No card. Weekly AI-building limits.