{"id":318,"date":"2017-02-03T09:56:59","date_gmt":"2017-02-03T09:56:59","guid":{"rendered":"https:\/\/uptimerobot.com\/blog\/?p=318"},"modified":"2025-11-13T15:16:04","modified_gmt":"2025-11-13T15:16:04","slug":"apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017","status":"publish","type":"post","link":"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/","title":{"rendered":"APIv2 is Ready to Use &#8230; (APIv1 will be retired on 1 June 2017)"},"content":{"rendered":"<p>Uptime Robot&#8217;s API is consumed pretty much (with over 5,000,000+ requests\/day) for &#8220;automating monitor\u00a0management&#8221;, pulling the data to generate custom reports and more.<\/p>\n<p>As the usage grows\u00a0every day, the\u00a0<a href=\"https:\/\/uptimerobot.com\/api\"><strong>APIv2<\/strong><\/a> is built for a faster, more secure and stable experience with added features.<\/p>\n<h3>SSL and POST only<\/h3>\n<p>The APIv2 expects all parameters to be sent as a POST request and works SSL-only where both changes together help making it more secure.<\/p>\n<h3>Updated parameter names and speed<\/h3>\n<p>The parameter names and responses are very consistent now. They are all lower-case, separated with &#8220;_&#8221; (like api_key).<\/p>\n<p>And,\u00a0most\u00a0methods are now ~\u00a0<strong>2x to 5x faster<\/strong>.<\/p>\n<h3>Added features<\/h3>\n<p>It is now possible to pull more data with <code>getMonitors<\/code> method, including:<\/p>\n<ul>\n<li>getting the uptime % of a range (or multiple ranges) with\u00a0<code>custom_uptime_ranges<\/code> parameter<\/li>\n<li>getting the all time duration of statuses with\u00a0\u00a0<code>all_time_uptime_durations<\/code>\u00a0parameter<\/li>\n<li>getting the logs of a given period with\u00a0<code>logs_start_date<\/code> and <code>logs_end_date<\/code> parameters<\/li>\n<li>getting maintenance windows of a monitor<\/li>\n<\/ul>\n<p>And, <strong>maintenance windows can also now be managed<\/strong> with the API too.<\/p>\n<h3>Code samples<\/h3>\n<p>The updated documentation page now has code samples for each monitor in multiple scripting and programming languages including PHP, Python, Nodejs, Go, Ruby, C# and Java.<\/p>\n<h3>When will APIv1 be retired?<\/h3>\n<p>APIv2 is the version that\u00a0will be improved from now on and APIv1 is <strong>planned to be retired by 1 June 2017<\/strong>. So, please make sure that you switch to the new API before then.<\/p>\n<h3>Suggestions and bug reports<\/h3>\n<p>We are already using APIv2 in production, so, it is pretty stable. Yet, there is always a change of bugs and please let us know if you experience one.<\/p>\n<p>Also, look forward to any suggestions and feature requests to make it better.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Uptime Robot&#8217;s API is consumed pretty much (with over 5,000,000+ requests\/day) for &#8220;automating monitor\u00a0management&#8221;, pulling the data to generate custom reports and more. As the usage grows\u00a0every day, the\u00a0APIv2 is built for a faster, more secure and stable experience with added features. SSL and POST only The APIv2 expects all parameters to be sent as [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_is_featured_guide":false,"_post_views":16,"_reading_completions":22,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-announcements"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>APIv2 is Ready to Use ... (APIv1 will be retired on 1 June 2017) | UptimeRobot Blog<\/title>\n<meta name=\"description\" content=\"APIv2 is ready to use at UptimeRobot and APIv1 will be retired on 1 June 2017, switch now to ensure secure, faster monitor API requests.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"APIv2 is Ready to Use ... (APIv1 will be retired on 1 June 2017) | UptimeRobot Blog\" \/>\n<meta property=\"og:description\" content=\"APIv2 is ready to use at UptimeRobot and APIv1 will be retired on 1 June 2017, switch now to ensure secure, faster monitor API requests.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/\" \/>\n<meta property=\"og:site_name\" content=\"UptimeRobot Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-03T09:56:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-13T15:16:04+00:00\" \/>\n<meta name=\"author\" content=\"Tomas Koprusak\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomas Koprusak\" \/>\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:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/\"},\"author\":{\"name\":\"Tomas Koprusak\",\"@id\":\"https:\/\/uptimerobot.com\/blog\/#\/schema\/person\/4e351b3eb3c7a5987a73b413d8354468\"},\"headline\":\"APIv2 is Ready to Use &#8230; (APIv1 will be retired on 1 June 2017)\",\"datePublished\":\"2017-02-03T09:56:59+00:00\",\"dateModified\":\"2025-11-13T15:16:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/\"},\"wordCount\":290,\"commentCount\":19,\"articleSection\":[\"Announcements\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/\",\"url\":\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/\",\"name\":\"APIv2 is Ready to Use ... (APIv1 will be retired on 1 June 2017) | UptimeRobot Blog\",\"isPartOf\":{\"@id\":\"https:\/\/uptimerobot.com\/blog\/#website\"},\"datePublished\":\"2017-02-03T09:56:59+00:00\",\"dateModified\":\"2025-11-13T15:16:04+00:00\",\"author\":{\"@id\":\"https:\/\/uptimerobot.com\/blog\/#\/schema\/person\/4e351b3eb3c7a5987a73b413d8354468\"},\"description\":\"APIv2 is ready to use at UptimeRobot and APIv1 will be retired on 1 June 2017, switch now to ensure secure, faster monitor API requests.\",\"breadcrumb\":{\"@id\":\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/uptimerobot.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Announcements\",\"item\":\"https:\/\/uptimerobot.com\/blog\/category\/announcements\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"APIv2 is Ready to Use &#8230; (APIv1 will be retired on 1 June 2017)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/uptimerobot.com\/blog\/#website\",\"url\":\"https:\/\/uptimerobot.com\/blog\/\",\"name\":\"UptimeRobot Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/uptimerobot.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/uptimerobot.com\/blog\/#\/schema\/person\/4e351b3eb3c7a5987a73b413d8354468\",\"name\":\"Tomas Koprusak\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/uptimerobot.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/42e6751dc39e91f1c7ab4926189550054308e366428ceb70e9621d680b843032?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/42e6751dc39e91f1c7ab4926189550054308e366428ceb70e9621d680b843032?s=96&d=retro&r=g\",\"caption\":\"Tomas Koprusak\"},\"description\":\"He has worked for Sygic as a marketer and co-led the implementation and development of a product acquired from a competitor. He has also worked as a freelance developer, helping clients from various areas. Tomas brings a wealth of industry experience to our team. He spent a few years in the blockchain industry, leading projects and marketing teams at multiple blockchain-based companies. He has presented products and managed deals in more than 10 countries around the world, managed the ICO, and built a successful marketing team at Fuergy that continues to thrive. Tomas managed a product team for the biggest job site in Slovakia, covering development and transformation to a new B2B app. Not only is Tomas skilled at web development, but he also has a deep understanding of SaaS businesses, which makes him an invaluable asset in shaping and leading various projects at UptimeRobot. His focus is always on the continual improvement of our service and user experience. In addition to his professional achievements, Tomas is a devoted father. His personal interests include cycling (he traveled around the whole country of Slovakia), playing guitar (he even played in a band), servicing bikes, music, and enjoying good beer.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/tomas-koprusak\"],\"url\":\"https:\/\/uptimerobot.com\/blog\/author\/tomas\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"APIv2 is Ready to Use ... (APIv1 will be retired on 1 June 2017) | UptimeRobot Blog","description":"APIv2 is ready to use at UptimeRobot and APIv1 will be retired on 1 June 2017, switch now to ensure secure, faster monitor API requests.","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:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/","og_locale":"en_US","og_type":"article","og_title":"APIv2 is Ready to Use ... (APIv1 will be retired on 1 June 2017) | UptimeRobot Blog","og_description":"APIv2 is ready to use at UptimeRobot and APIv1 will be retired on 1 June 2017, switch now to ensure secure, faster monitor API requests.","og_url":"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/","og_site_name":"UptimeRobot Blog","article_published_time":"2017-02-03T09:56:59+00:00","article_modified_time":"2025-11-13T15:16:04+00:00","author":"Tomas Koprusak","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomas Koprusak","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/#article","isPartOf":{"@id":"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/"},"author":{"name":"Tomas Koprusak","@id":"https:\/\/uptimerobot.com\/blog\/#\/schema\/person\/4e351b3eb3c7a5987a73b413d8354468"},"headline":"APIv2 is Ready to Use &#8230; (APIv1 will be retired on 1 June 2017)","datePublished":"2017-02-03T09:56:59+00:00","dateModified":"2025-11-13T15:16:04+00:00","mainEntityOfPage":{"@id":"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/"},"wordCount":290,"commentCount":19,"articleSection":["Announcements"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/","url":"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/","name":"APIv2 is Ready to Use ... (APIv1 will be retired on 1 June 2017) | UptimeRobot Blog","isPartOf":{"@id":"https:\/\/uptimerobot.com\/blog\/#website"},"datePublished":"2017-02-03T09:56:59+00:00","dateModified":"2025-11-13T15:16:04+00:00","author":{"@id":"https:\/\/uptimerobot.com\/blog\/#\/schema\/person\/4e351b3eb3c7a5987a73b413d8354468"},"description":"APIv2 is ready to use at UptimeRobot and APIv1 will be retired on 1 June 2017, switch now to ensure secure, faster monitor API requests.","breadcrumb":{"@id":"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/uptimerobot.com\/blog\/apiv2-is-ready-to-use-apiv1-will-be-retired-on-1-june-2017\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/uptimerobot.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Announcements","item":"https:\/\/uptimerobot.com\/blog\/category\/announcements\/"},{"@type":"ListItem","position":3,"name":"APIv2 is Ready to Use &#8230; (APIv1 will be retired on 1 June 2017)"}]},{"@type":"WebSite","@id":"https:\/\/uptimerobot.com\/blog\/#website","url":"https:\/\/uptimerobot.com\/blog\/","name":"UptimeRobot Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/uptimerobot.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/uptimerobot.com\/blog\/#\/schema\/person\/4e351b3eb3c7a5987a73b413d8354468","name":"Tomas Koprusak","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/uptimerobot.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42e6751dc39e91f1c7ab4926189550054308e366428ceb70e9621d680b843032?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42e6751dc39e91f1c7ab4926189550054308e366428ceb70e9621d680b843032?s=96&d=retro&r=g","caption":"Tomas Koprusak"},"description":"He has worked for Sygic as a marketer and co-led the implementation and development of a product acquired from a competitor. He has also worked as a freelance developer, helping clients from various areas. Tomas brings a wealth of industry experience to our team. He spent a few years in the blockchain industry, leading projects and marketing teams at multiple blockchain-based companies. He has presented products and managed deals in more than 10 countries around the world, managed the ICO, and built a successful marketing team at Fuergy that continues to thrive. Tomas managed a product team for the biggest job site in Slovakia, covering development and transformation to a new B2B app. Not only is Tomas skilled at web development, but he also has a deep understanding of SaaS businesses, which makes him an invaluable asset in shaping and leading various projects at UptimeRobot. His focus is always on the continual improvement of our service and user experience. In addition to his professional achievements, Tomas is a devoted father. His personal interests include cycling (he traveled around the whole country of Slovakia), playing guitar (he even played in a band), servicing bikes, music, and enjoying good beer.","sameAs":["https:\/\/www.linkedin.com\/in\/tomas-koprusak"],"url":"https:\/\/uptimerobot.com\/blog\/author\/tomas\/"}]}},"_links":{"self":[{"href":"https:\/\/uptimerobot.com\/blog\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uptimerobot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uptimerobot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uptimerobot.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/uptimerobot.com\/blog\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":0,"href":"https:\/\/uptimerobot.com\/blog\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"wp:attachment":[{"href":"https:\/\/uptimerobot.com\/blog\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uptimerobot.com\/blog\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uptimerobot.com\/blog\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}