{"id":330,"date":"2025-04-25T13:09:48","date_gmt":"2025-04-25T13:09:48","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2025\/04\/25\/11145020-how-to-use-the-hostinger-api-n8n-community-node\/"},"modified":"2025-04-25T13:09:48","modified_gmt":"2025-04-25T13:09:48","slug":"11145020-how-to-use-the-hostinger-api-n8n-community-node","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/11145020-how-to-use-the-hostinger-api-n8n-community-node\/","title":{"rendered":"How to Use the Hostinger API n8n Community Node"},"content":{"rendered":"<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">To follow this tutorial, you will need n8n. You can check out <a href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-install-n8n\" target=\"_blank\" class=\"intercom-content-link\">this article<\/a> for guidance on setting it up on our Hostinger VPS. <\/p>\n<\/div><p class=\"no-margin\">\n<\/p><h2 id=\"h_5fb980175a\"><b>1. Installing the Hostinger API node in n8n instance<\/b><\/h2><p class=\"no-margin\">To get started with the Hostinger API in n8n, follow these steps to install the custom community node:<\/p><ol>\n<li>\n<p class=\"no-margin\">Open your <b>n8n instance<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Navigate to <b>Settings<\/b> &gt; <b>Community Nodes<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click on <b>Install<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Enter the package name: <b>n8n-nodes-hostinger-api<\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Confirm the installation and wait for it to complete.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Restart n8n if prompted.<\/p>\n<\/li>\n<\/ol><p class=\"no-margin\">You now have the <b>Hostinger API node<\/b> available in your n8n workflow builder.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #feedaf80;border-color: #fbc91633\">\n<p class=\"no-margin\">Note: Community nodes are only available in the <b>self-hosted<\/b> n8n version.<\/p>\n<\/div><p class=\"no-margin\">\n<\/p><h2 id=\"h_7018599327\"><b>2. Obtaining Your Hostinger API Token<\/b><\/h2><p class=\"no-margin\">You need an API token from Hostinger to authenticate requests. Here&rsquo;s how to get it:<\/p><ol>\n<li>\n<p class=\"no-margin\">Log in to your <b>Hostinger hPanel<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">From the <b>Top menu<\/b> &gt; <b>Account information<\/b> &gt; <b>API<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click <b>New Token<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Set the token name and expiration if needed.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Copy the generated <b>API Token<\/b> and store it securely.<\/p>\n<\/li>\n<\/ol><h2 id=\"h_64746ff39d\"><b>3. Configuring Hostinger API Credentials in n8n<\/b><\/h2><p class=\"no-margin\">Once you have your API token, you need to set it up in n8n:<\/p><ol>\n<li>\n<p class=\"no-margin\">Go to n8n and open <b>Credentials<\/b> &gt; <b>Hostinger API<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click <b>Create New Credentials<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Enter the <b>API Token<\/b> by pasting the token you got from Hostinger.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click <b>Save<\/b>.<br>&#8203;<\/p>\n<\/li>\n<\/ol><p class=\"no-margin\">Great job! You&rsquo;re now ready to build your workflows using the Hostinger API. With n8n, you can automate the management and monitoring of your Hostinger VPS and other services effortlessly.<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">For further development, you can visit <a href=\"https:\/\/developers.hostinger.com\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">this link<\/a> to find documentation on the Hostinger API &#128640;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Getting started with Hostinger API n8n community node<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[295],"tags":[],"class_list":["post-330","post","type-post","status-publish","format-standard","hentry","category-api"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/11145020-how-to-use-the-hostinger-api-n8n-community-node\/","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=330"}],"version-history":[{"count":0,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/330\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}