Hostinger
App · 20 actions
Read Hostinger subscriptions, domains, DNS and virtual machine details.
Actions
| Action | What it does |
|---|---|
| Check DNS propagation | Check DNS propagation. |
| Check domain availability | Check domain availability. |
| Get DNS snapshot | Get DNS snapshot. |
| Get domain | Get domain. |
| Get domain renewal information | Get domain renewal information. |
| Get virtual machine | Get virtual machine. |
| Get virtual machine metrics | Get virtual machine metrics. |
| List catalog items | List catalog items. |
| List DNS records | List DNS records. |
| List DNS snapshots | List DNS snapshots. |
| List domain folders | List domain folders. |
| List domains | List domains. |
| List hosting datacenters | List hosting datacenters. |
| List hosting orders | List hosting orders. |
| List subscriptions | List subscriptions. |
| List virtual machine actions | List virtual machine actions. |
| List virtual machine backups | List virtual machine backups. |
| List virtual machine Docker projects | List virtual machine Docker projects. |
| List virtual machine SSH keys | List virtual machine SSH keys. |
| List virtual machines | List virtual machines. |
Check DNS propagation
Check DNS propagation.
Inputs
- Domain
domaintextRequired - Domain or host name to check, either a domain or a subdomain.
- Type
typetextRequired - DNS record type to check, uppercase. One of: A, AAAA, CAA, CNAME, DNAME, DNSKEY, HTTPS, LOC, MX, NS, PTR, SOA, SRV, SSHFP, SVCB, TLSA, TXT, URI. PTR takes the reverse name, e.g. 10.2.0.192.in-addr.arpa, not the IP address. SOA exists only at a zone's apex. DS and ALIAS cannot be checked.
Outputs
dataobject- The response from Hostinger.
Example output
{
"data": {
"authoritative": {
"nameservers": [
{
"nameserver": "example",
"records": [
"example"
],
"ttl": 1
}
],
"zone": "example"
},
"vantage_points": [
{
"country": "example",
"ip": "example",
"is_propagated": true,
"latitude": 1,
"location": "example",
"longitude": 1,
"provider": "example",
"records": [
"example"
]
}
]
}
}Check domain availability
Check domain availability.
Inputs
- Domain
domaintextRequired - Domain name (without TLD).
- Tlds
tldslistRequired - TLDs list.
- With alternatives
with_alternativestrue/false - Should response include alternatives.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"domain": "example",
"is_alternative": true,
"is_available": true,
"is_premium": true,
"restriction": "example"
}
]
}Get DNS snapshot
Get DNS snapshot.
Inputs
- Domain
domaintextRequired - Domain name.
- Snapshot ID
snapshot_idnumberRequired - Snapshot ID.
Outputs
dataobject- The response from Hostinger.
Example output
{
"data": {
"created_at": "example",
"id": 1,
"reason": "example",
"snapshot": [
{
"name": "example",
"records": [
{}
],
"ttl": 1,
"type": "example"
}
]
}
}Get domain
Get domain.
Inputs
- Domain
domaintextRequired - Domain name.
Outputs
dataobject- The response from Hostinger.
Example output
{
"data": {
"60_days_lock_expires_at": "example",
"child_name_servers": [
[
"example"
]
],
"contact_verification": {
"contact_name": {
"ends_at": "example",
"status": "example"
},
"email": {
"ends_at": "example",
"status": "example"
},
"phone": {
"ends_at": "example",
"status": "example"
}
},
"created_at": "example",
"domain": "example",
"domain_contacts": {
"admin_id": 1,
"billing_id": 1,
"owner_id": 1,
"tech_id": 1
},
"expires_at": "example",
"is_lockable": true,
"is_locked": true,
"is_privacy_protected": true,
"is_privacy_protection_allowed": true,
"message": "example",
"name_servers": {
"ns1": "example",
"ns2": "example"
},
"registered_at": "example",
"status": "example",
"updated_at": "example"
}
}Get domain renewal information
Get domain renewal information.
Inputs
- Domain
domaintextRequired - Domain name.
Outputs
dataobject- The response from Hostinger.
Example output
{
"data": {
"domain": "example",
"expires_at": "example",
"grace_period_ends_at": "example",
"is_grace_period": true,
"is_redemption_period": true,
"is_renewable": true,
"redemption_period_ends_at": "example",
"status": "example"
}
}Get virtual machine
Get virtual machine.
Inputs
- Virtual machine
virtual_machine_idnumberRequired - Virtual Machine ID.
Outputs
dataobject- The response from Hostinger.
Example output
{
"data": {
"actions_lock": "example",
"bandwidth": 1,
"cpus": 1,
"created_at": "example",
"data_center_id": 1,
"disk": 1,
"firewall_group_id": 1,
"hostname": "example",
"id": 1,
"ipv4": [
{
"address": "example",
"id": 1,
"ptr": "example"
}
],
"ipv6": [
{
"address": "example",
"id": 1,
"ptr": "example"
}
],
"memory": 1,
"ns1": "example",
"ns2": "example",
"plan": "example",
"state": "example",
"subscription_id": "example",
"template": {
"description": "example",
"documentation": "example",
"id": 1,
"name": "example"
}
}
}Get virtual machine metrics
Get virtual machine metrics.
Inputs
- Virtual machine
virtual_machine_idnumberRequired - Virtual Machine ID.
- Date from
date_fromdateRequired - Date from.
- Date to
date_todateRequired - Date to.
Outputs
dataobject- The response from Hostinger.
Example output
{
"data": {
"cpu_usage": {
"unit": "example",
"usage": {}
},
"disk_space": {
"unit": "example",
"usage": {}
},
"incoming_traffic": {
"unit": "example",
"usage": {}
},
"outgoing_traffic": {
"unit": "example",
"usage": {}
},
"ram_usage": {
"unit": "example",
"usage": {}
},
"uptime": {
"unit": "example",
"usage": {}
}
}
}List catalog items
List catalog items.
Inputs
- Category
categorytext - Filter catalog items by category.One of:
DOMAIN,VPS,EMAIL,HOSTING. - Name
nametext - Filter catalog items by name. Use * for wildcard search, e.g. .COM* to find .com domain.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"category": "example",
"id": "example",
"metadata": {},
"name": "example",
"prices": [
{
"currency": "example",
"first_period_price": 1,
"id": "example",
"name": "example",
"period": 1,
"period_unit": "example",
"price": 1
}
]
}
]
}List DNS records
List DNS records.
Inputs
- Domain
domaintextRequired - Domain name.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"name": "example",
"records": [
{
"content": "example",
"is_disabled": true
}
],
"ttl": 1,
"type": "example"
}
]
}List DNS snapshots
List DNS snapshots.
Inputs
- Domain
domaintextRequired - Domain name.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"created_at": "example",
"id": 1,
"reason": "example"
}
]
}List domain folders
List domain folders.
Inputs
None.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"created_at": "example",
"domains_count": 1,
"id": 1,
"name": "example",
"sort_order": 1,
"updated_at": "example"
}
]
}List domains
List domains.
Inputs
None.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"created_at": "example",
"domain": "example",
"expires_at": "example",
"folders": [
{
"id": 1,
"name": "example"
}
],
"id": 1,
"status": "example",
"type": "example",
"verification": {
"type": "example"
}
}
]
}List hosting datacenters
List hosting datacenters.
Inputs
- Order
order_idnumberRequired - Order ID.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"code": "example",
"coordinates": {
"latitude": 1,
"longitude": 1
},
"title": "example"
}
]
}List hosting orders
List hosting orders.
Inputs
- Page
pagenumber - Page number.
- Per page
per_pagenumber - Number of items per page.At most 100.
- Statuses
statuseslist - Filter by order statuses.One or more of:
active,deleting,deleted,suspended. - Order IDS
order_idslist - Filter by specific order IDs.
Outputs
dataobject- The response from Hostinger.
Example output
{
"data": {
"data": [
{
"client_id": 1,
"created_at": "example",
"id": 1,
"plan": {
"name": "example"
},
"status": "example",
"subscription_id": "example"
}
],
"meta": {
"current_page": 1,
"per_page": 1,
"total": 1
}
}
}List subscriptions
List subscriptions.
Inputs
None.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"billing_period": 1,
"billing_period_unit": "example",
"created_at": "example",
"currency_code": "example",
"expires_at": "example",
"id": "example",
"is_auto_renewed": true,
"name": "example",
"next_billing_at": "example",
"renewal_price": 1,
"status": "example",
"total_price": 1
}
]
}List virtual machine actions
List virtual machine actions.
Inputs
- Virtual machine
virtual_machine_idnumberRequired - Virtual Machine ID.
- Page
pagenumber - Page number.
Outputs
dataobject- The response from Hostinger.
Example output
{
"data": {
"data": [
{
"created_at": "example",
"id": 1,
"name": "example",
"state": "example",
"updated_at": "example"
}
],
"meta": {
"current_page": 1,
"per_page": 1,
"total": 1
}
}
}List virtual machine backups
List virtual machine backups.
Inputs
- Virtual machine
virtual_machine_idnumberRequired - Virtual Machine ID.
- Page
pagenumber - Page number.
Outputs
dataobject- The response from Hostinger.
Example output
{
"data": {
"data": [
{
"created_at": "example",
"id": 1,
"location": "example",
"restore_time": 1,
"size": 1
}
],
"meta": {
"current_page": 1,
"per_page": 1,
"total": 1
}
}
}List virtual machine Docker projects
List virtual machine Docker projects.
Inputs
- Virtual machine
virtual_machine_idnumberRequired - Virtual Machine ID.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"containers": [
{
"command": "example",
"health": "example",
"id": "example",
"image": "example",
"name": "example",
"ports": [
{}
],
"state": "example",
"stats": {},
"status": "example"
}
],
"name": "example",
"path": "example",
"state": "example",
"status": "example"
}
]
}List virtual machine SSH keys
List virtual machine SSH keys.
Inputs
- Virtual machine
virtual_machine_idnumberRequired - Virtual Machine ID.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"data": "example",
"key": "example",
"name": "example",
"type": "example"
}
]
}List virtual machines
List virtual machines.
Inputs
None.
Outputs
datalist- The response from Hostinger.
Example output
{
"data": [
{
"actions_lock": "example",
"bandwidth": 1,
"cpus": 1,
"created_at": "example",
"data_center_id": 1,
"disk": 1,
"firewall_group_id": 1,
"hostname": "example",
"id": 1,
"ipv4": [
{
"address": "example",
"id": 1,
"ptr": "example"
}
],
"ipv6": [
{
"address": "example",
"id": 1,
"ptr": "example"
}
],
"memory": 1,
"ns1": "example",
"ns2": "example",
"plan": "example",
"state": "example",
"subscription_id": "example",
"template": {
"description": "example",
"documentation": "example",
"id": 1,
"name": "example"
}
}
]
}