hostinger
Manage Hostinger account via API — VPS administration (start/stop/restart, snapshots, backups, firewall, Docker), DNS zone management, domain portfolio, website hosting, and billing. Use when asked to deploy, publish, manage servers, configure DNS, or control any Hostinger service.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/rexlunae/hostingerHostinger API Skill
Control Hostinger services programmatically: VPS instances, DNS records, domains, websites, hosting.
Authentication
API token required. Get one from: https://hpanel.hostinger.com/profile/api
Store in ~/.config/hostinger/token (just the token, no newline):
mkdir -p ~/.config/hostinger
echo -n "YOUR_API_TOKEN" > ~/.config/hostinger/token
chmod 600 ~/.config/hostinger/token
Quick Reference
VPS Operations
# List all VPS instances
python3 scripts/hostinger.py vps list
# Get VPS details
python3 scripts/hostinger.py vps get <vm_id>
# Start/stop/restart VPS
python3 scripts/hostinger.py vps start <vm_id>
python3 scripts/hostinger.py vps stop <vm_id>
python3 scripts/hostinger.py vps restart <vm_id>
# Create/restore snapshots
python3 scripts/hostinger.py vps snapshot-create <vm_id>
python3 scripts/hostinger.py vps snapshot-restore <vm_id>
# View backups
python3 scripts/hostinger.py vps backups <vm_id>
DNS Management
# Get DNS records for domain
python3 scripts/hostinger.py dns get <domain>
# Update DNS records (JSON file with records array)
python3 scripts/hostinger.py dns update <domain> <records.json>
# Reset DNS to defaults
python3 scripts/hostinger.py dns reset <domain>
# DNS snapshots
python3 scripts/hostinger.py dns snapshots <domain>
python3 scripts/hostinger.py dns snapshot-restore <domain> <snapshot_id>
Domain Portfolio
# List all domains
python3 scripts/hostinger.py domains list
# Get domain details
python3 scripts/hostinger.py domains get <domain>
# Update nameservers
python3 scripts/hostinger.py domains nameservers <domain> ns1.example.com ns2.example.com
# Check availability
python3 scripts/hostinger.py domains check example.com example.org
Hosting/Websites
# List websites
python3 scripts/hostinger.py hosting websites
# List datacenters
python3 scripts/hostinger.py hosting datacenters
Billing
# View subscriptions
python3 scripts/hostinger.py billing subscriptions
# View payment methods
python3 scripts/hostinger.py billing payment-methods
# View catalog
python3 scripts/hostinger.py billing catalog
DNS Record Format
When updating DNS records, provide a JSON file:
{
"records": [
{"type": "A", "name": "@", "value": "1.2.3.4", "ttl": 300},
{"type": "A", "name": "www", "value": "1.2.3.4", "ttl": 300},
{"type": "MX", "name": "@", "value": "mail.example.com", "priority": 10, "ttl": 300},
{"type": "TXT", "name": "@", "value": "v=spf1 include:_spf.google.com ~all", "ttl": 300}
]
}
VPS Docker Management
For VPS with Docker OS templates:
# List Docker projects
python3 scripts/hostinger.py docker list <vm_id>
# Deploy from docker-compose.yml URL
python3 scripts/hostinger.py docker deploy <vm_id> <project_name> --url <compose_url>
# Or from local file
python3 scripts/hostinger.py docker deploy <vm_id> <project_name> --file <compose.yml>
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-rexlunae-hostinger": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
digitalocean
Manage DigitalOcean resources via API — Droplets (create/destroy/resize/power), DNS zones and records, Spaces (object storage), Databases, Firewalls, Load Balancers, Kubernetes, and account/billing info.
cloudflare
Manage Cloudflare via API — DNS zones and records, page rules, SSL/TLS settings, caching, firewall rules, Workers, and analytics. Free tier includes DNS, CDN, DDoS protection, and SSL.