{"id":37829,"date":"2025-03-04T10:51:18","date_gmt":"2025-03-04T10:51:18","guid":{"rendered":"https:\/\/hosting.nl\/blog\/api-improvement-0325\/"},"modified":"2025-03-04T12:07:09","modified_gmt":"2025-03-04T12:07:09","slug":"api-improvement-0325","status":"publish","type":"post","link":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/","title":{"rendered":"API Improvements: March &#8217;25"},"content":{"rendered":"\n<p>A lot of improvements have been made to <a href=\"https:\/\/hosting.nl\/en\/support\/aan-de-slag-met-de-api\/\">the Hosting.NL API<\/a>. The focus of this release was on improving the foundation of the API and handling errors and validation. Additionally, three (!) new endpoints have been added!  <\/p>\n\n<h2 class=\"wp-block-heading\">Looking Ahead to the Next Release<\/h2>\n\n<p>The next release will focus on the SSL endpoint. To prepare for the shorter validity of SSL certificates, we are making it possible to download SSL certificate files through an API call. This will allow customers to automate the installation of SSL certificates.  <\/p>\n\n<h2 class=\"wp-block-heading\">These are the improvements in this release<\/h2>\n\n<h3 class=\"wp-block-heading\">New endpoint for checking the validity of an API key<\/h3>\n\n<p>You can now use <strong>GET \/permissions<\/strong> to check if an API key has the correct permissions.<\/p>\n\n<h3 class=\"wp-block-heading\">New Endpoint for DNS Zone Log<\/h3>\n\n<p>With the new DNS zone log, you have access to a history book that keeps track of all changes in DNS zones. This allows you to look up when a certain change was made or what the content of a specific DNS record was. Read more about it <a href=\"https:\/\/hosting.nl\/en\/support\/dns-zone-logs\/\">here<\/a>.  <\/p>\n\n<h3 class=\"wp-block-heading\">New Endpoint for API Log<\/h3>\n\n<p>With this new endpoint, you can consult the API log. This way, you know exactly when something happened. Read more about it <a href=\"https:\/\/hosting.nl\/en\/support\/api-log\/#Via_de_HostingNL_API\">here<\/a>.  <\/p>\n\n<h3 class=\"wp-block-heading\">Improved Error Messages<\/h3>\n\n<p>All endpoints have been provided with messages that you can actually use. The generic \u201cSomething went wrong\u201d should no longer be the most common response \ud83e\udd79.  <\/p>\n\n<h3 class=\"wp-block-heading\">Improved Input Validation for \u201c\/domains\u201d Endpoint<\/h3>\n\n<p>For \/domains\/register, transfer, and available, the validation for domain name and TLD has been improved.<\/p>\n\n<h3 class=\"wp-block-heading\">GET \u201c\/domains\/{domain}\u201d Endpoint Expanded<\/h3>\n\n<p>From now on, extensive status information is available where applicable. This allows you to better determine what is going on with a domain name. A few examples:  <\/p>\n\n<pre class=\"wp-block-code\"><pre><code>        \"message\": \"Incorrect authorization code\",\n        \"message\": \"The properties 'AppPurpose' and 'NexusCategory' are mandatory (registrant:abc_1a2b3c4d)\",\n        \"message\": \"Transfer is not possible for domains that have been registered in the past 60 days; eligible for transfer on 2025-04-16\",<\/code><\/pre><\/pre>\n\n<h3 class=\"wp-block-heading\">Forced JSON Validation for JSON Request Bodies<\/h3>\n\n<p>This ensures that only valid and complete data is accepted, and anything incorrect is immediately rejected. This prevents errors. <\/p>\n\n<h3 class=\"wp-block-heading\">Returning Invoice Number for \u201c\/invoice\u201d Results<\/h3>\n\n<p>Previously, only an invoice ID was returned as identification in the results; now our invoice number has been added to that.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A lot of improvements have been made to the Hosting.NL API. The focus of this release was on improving the foundation of the API and handling errors and validation. Additionally, three (!) new endpoints have been added! Looking Ahead to the Next Release The next release will focus on the SSL endpoint. To prepare for [&hellip;]<\/p>\n","protected":false},"author":31,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-37829","post","type-post","status-publish","format-standard","hentry","category-nieuws"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>API Improvements: March &#039;25 | Hosting.NL<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"API Improvements: March &#039;25 | Hosting.NL\" \/>\n<meta property=\"og:description\" content=\"A lot of improvements have been made to the Hosting.NL API. The focus of this release was on improving the foundation of the API and handling errors and validation. Additionally, three (!) new endpoints have been added! Looking Ahead to the Next Release The next release will focus on the SSL endpoint. To prepare for [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/\" \/>\n<meta property=\"og:site_name\" content=\"Hosting.NL\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-04T10:51:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-04T12:07:09+00:00\" \/>\n<meta name=\"author\" content=\"Mark Kraakman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark Kraakman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/blog\\\/api-improvement-0325\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/blog\\\/api-improvement-0325\\\/\"},\"author\":{\"name\":\"Mark Kraakman\",\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/#\\\/schema\\\/person\\\/253eee45e07e446cb0898ceff92b60e1\"},\"headline\":\"API Improvements: March &#8217;25\",\"datePublished\":\"2025-03-04T10:51:18+00:00\",\"dateModified\":\"2025-03-04T12:07:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/blog\\\/api-improvement-0325\\\/\"},\"wordCount\":340,\"publisher\":{\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/#organization\"},\"articleSection\":[\"Nieuws\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/blog\\\/api-improvement-0325\\\/\",\"url\":\"https:\\\/\\\/hosting.nl\\\/en\\\/blog\\\/api-improvement-0325\\\/\",\"name\":\"API Improvements: March '25 | Hosting.NL\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/#website\"},\"datePublished\":\"2025-03-04T10:51:18+00:00\",\"dateModified\":\"2025-03-04T12:07:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/blog\\\/api-improvement-0325\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hosting.nl\\\/en\\\/blog\\\/api-improvement-0325\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/blog\\\/api-improvement-0325\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hosting.NL\",\"item\":\"https:\\\/\\\/hosting.nl\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Improvements: March &#8217;25\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/hosting.nl\\\/en\\\/\",\"name\":\"Hosting.NL\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hosting.nl\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/#organization\",\"name\":\"Hosting.NL\",\"url\":\"https:\\\/\\\/hosting.nl\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hosting.nl\\\/wp-content\\\/uploads\\\/hostingnl-default-logo.png\",\"contentUrl\":\"https:\\\/\\\/hosting.nl\\\/wp-content\\\/uploads\\\/hostingnl-default-logo.png\",\"width\":242,\"height\":50,\"caption\":\"Hosting.NL\"},\"image\":{\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hosting.nl\\\/en\\\/#\\\/schema\\\/person\\\/253eee45e07e446cb0898ceff92b60e1\",\"name\":\"Mark Kraakman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hosting.nl\\\/wp-content\\\/litespeed\\\/avatar\\\/0a11949fee67bcd9899c52e4feab68e8.jpg?ver=1777466353\",\"url\":\"https:\\\/\\\/hosting.nl\\\/wp-content\\\/litespeed\\\/avatar\\\/0a11949fee67bcd9899c52e4feab68e8.jpg?ver=1777466353\",\"contentUrl\":\"https:\\\/\\\/hosting.nl\\\/wp-content\\\/litespeed\\\/avatar\\\/0a11949fee67bcd9899c52e4feab68e8.jpg?ver=1777466353\",\"caption\":\"Mark Kraakman\"},\"url\":\"https:\\\/\\\/hosting.nl\\\/en\\\/blog\\\/author\\\/mark-kraakmancyso-group\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"API Improvements: March '25 | Hosting.NL","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/","og_locale":"en_US","og_type":"article","og_title":"API Improvements: March '25 | Hosting.NL","og_description":"A lot of improvements have been made to the Hosting.NL API. The focus of this release was on improving the foundation of the API and handling errors and validation. Additionally, three (!) new endpoints have been added! Looking Ahead to the Next Release The next release will focus on the SSL endpoint. To prepare for [&hellip;]","og_url":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/","og_site_name":"Hosting.NL","article_published_time":"2025-03-04T10:51:18+00:00","article_modified_time":"2025-03-04T12:07:09+00:00","author":"Mark Kraakman","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mark Kraakman","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/#article","isPartOf":{"@id":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/"},"author":{"name":"Mark Kraakman","@id":"https:\/\/hosting.nl\/en\/#\/schema\/person\/253eee45e07e446cb0898ceff92b60e1"},"headline":"API Improvements: March &#8217;25","datePublished":"2025-03-04T10:51:18+00:00","dateModified":"2025-03-04T12:07:09+00:00","mainEntityOfPage":{"@id":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/"},"wordCount":340,"publisher":{"@id":"https:\/\/hosting.nl\/en\/#organization"},"articleSection":["Nieuws"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/","url":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/","name":"API Improvements: March '25 | Hosting.NL","isPartOf":{"@id":"https:\/\/hosting.nl\/en\/#website"},"datePublished":"2025-03-04T10:51:18+00:00","dateModified":"2025-03-04T12:07:09+00:00","breadcrumb":{"@id":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hosting.nl\/en\/blog\/api-improvement-0325\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hosting.NL","item":"https:\/\/hosting.nl\/en\/"},{"@type":"ListItem","position":2,"name":"API Improvements: March &#8217;25"}]},{"@type":"WebSite","@id":"https:\/\/hosting.nl\/en\/#website","url":"https:\/\/hosting.nl\/en\/","name":"Hosting.NL","description":"","publisher":{"@id":"https:\/\/hosting.nl\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hosting.nl\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hosting.nl\/en\/#organization","name":"Hosting.NL","url":"https:\/\/hosting.nl\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hosting.nl\/en\/#\/schema\/logo\/image\/","url":"https:\/\/hosting.nl\/wp-content\/uploads\/hostingnl-default-logo.png","contentUrl":"https:\/\/hosting.nl\/wp-content\/uploads\/hostingnl-default-logo.png","width":242,"height":50,"caption":"Hosting.NL"},"image":{"@id":"https:\/\/hosting.nl\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hosting.nl\/en\/#\/schema\/person\/253eee45e07e446cb0898ceff92b60e1","name":"Mark Kraakman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hosting.nl\/wp-content\/litespeed\/avatar\/0a11949fee67bcd9899c52e4feab68e8.jpg?ver=1777466353","url":"https:\/\/hosting.nl\/wp-content\/litespeed\/avatar\/0a11949fee67bcd9899c52e4feab68e8.jpg?ver=1777466353","contentUrl":"https:\/\/hosting.nl\/wp-content\/litespeed\/avatar\/0a11949fee67bcd9899c52e4feab68e8.jpg?ver=1777466353","caption":"Mark Kraakman"},"url":"https:\/\/hosting.nl\/en\/blog\/author\/mark-kraakmancyso-group\/"}]}},"_links":{"self":[{"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/posts\/37829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/comments?post=37829"}],"version-history":[{"count":1,"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/posts\/37829\/revisions"}],"predecessor-version":[{"id":37830,"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/posts\/37829\/revisions\/37830"}],"wp:attachment":[{"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/media?parent=37829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/categories?post=37829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.nl\/en\/wp-json\/wp\/v2\/tags?post=37829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}