Announcements

Uptime Robot Gets An API!

Written by Tomas Koprusak 185 words | 1 min read Updated Nov 13, 2025
0%

After many requests from the users who would like to integrate Uptime Robot with their apps or create other interfaces for it (like a desktop or mobile), the Uptime Robot API is launched today which makes such integrations possible and so easy.

This is the v1 of the API which covers most of the important stuff including:

  • getting the list of monitors, their details (uptime ratio, URL, friendly name, type, etc.)
  • getting the notification logs for each monitor
  • getting the alert contacts notified after each notification
  • adding new monitors
  • editing monitors
  • deleting monitors.

It is a REST API that can return:

  • XML
  • JSON
  • JSON-p

responses.

In order to use it, simply get your apiKey from the My Settings page and head to the API documentation.

What’s next with the API?

In the next version, we’ll be adding:

  • monitor-specific apiKeys” so you can securely use the apiKey in a client’s website without revealing your main apiKey
  • methods for managing alert contacts (adding/editing/deleting them)

Please share your thoughts about the API and/or any other methods that you think should exist in the next version.

Start using UptimeRobot today.

Join more than 2M+ users and companies!

  • Get 50 monitors for free - forever!
  • Monitor your website, server, SSL certificates, domains, and more.
  • Create customizable status pages.

Written by

Tomas Koprusak

Product Owner |

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.

Feature suggestions? Share

35 Comments

Lukas Oct 14, 2011 at 8:31 am

Great!!! Nice work :))

Joe Lee Oct 14, 2011 at 8:33 am

Awesome Juice!
Thanks for the great tool guys and now its even better.

Azizul Islam Oct 14, 2011 at 8:38 am

Really appreciate

Brandon Oct 14, 2011 at 8:54 am

Love the service!
Keep up the good work.

Chris Oct 14, 2011 at 8:55 am

Don't see the point in this...if I wanted to monitor my server from an App i'd just download one of the many that are available...in terms of development there isn't a lot that can be done with the statuses of my server - in other words there isn't massive potential for something like this.

admin Oct 14, 2011 at 9:07 am

@Chris,

API will make sense once you want to use the Uptime Robot engine but pull your data and integrate it into other apps (like creating new monitors from a web hosting control panel or a WordPress plugin displaying the uptime of your blog inside the WP admin panels, etc.).

Otherwise, for simply monitoring servers and getting notification e-mails, Uptime Robot's own interface is pretty enough for that.

Kevin Fahey Oct 14, 2011 at 9:08 am

Nice work, UpTimeRobot saved me many times.

Great Service and like everyone else said its even better now. Looking forward to an iPhone App soon :)

ghedamat Oct 14, 2011 at 9:13 am

Great work guys!

Wee Lun Oct 14, 2011 at 9:15 am

Nice..now can use inside to my blog already..hehe..thank you

Ian Oct 14, 2011 at 9:32 am

Great work!! Again a very nice service from uptime-robot.

Echizen Maru Oct 14, 2011 at 10:36 am

Really appreciate this new API key release. With the API we can integrate the uptime monitoring result in to our web/blog, it is cool.

Keep the great work.

Stephan Oct 14, 2011 at 10:42 am

Pause/Resume would be nice...

admin Oct 14, 2011 at 11:07 am

@Stephan,

We can add it to the editMonitor method. Gr8 suggestion.

Seb Oct 14, 2011 at 5:15 pm

Hi there. May I suggest that you publish and maintain specific API version numbers for better forwards and backwards compatibility. E.g. if this is API version 1 then users should specify that they expect to use that version, using an appropriate HTTP header or URL variable. When you change the API in future versions in a way that is complex and may change the behavior of variables (either sent or received), then having a simple versioning system will make thinks easier for everyone and prevent breaking the API in deployed applications as you change it. :)

ticbox Oct 14, 2011 at 10:11 pm

have long used this service, thanks for the improvements

Mark Oct 15, 2011 at 3:23 am

Hi there, I've been writing a wrapper function in PHP. It seems everything works fine except for the newMonitor function. I've tried both newMonitor and addMonitor (text in API documentation is confusing) but neither of them work. addMonitor comes back with 103 and newMonitor an internal server error.
Am I doing something wrong?

itayo Oct 15, 2011 at 10:51 am

Am i allowed to make a iphone/android app to monitor the server status?

Br
Stefan

admin Oct 17, 2011 at 2:30 am

@Seb,
That's a great suggestion. We'll be keeping the v1 as is and using /v2/method type of URLs for next versions.

@Mark,
Will be checking it and updating this post back.

@itayo,
Yes, sure.

admin Oct 17, 2011 at 4:33 am

@Mark,

Yes, there seemed to be an issue with the handling of a parameter in newMonitor method and it is fixed now.

P.S. The method name is newMonitor and updated the dos (thx for the heads up).

Mark Oct 17, 2011 at 10:07 am

I completed my simple API wrapper. It can be forked at GitHub

admin Oct 17, 2011 at 3:32 pm

@Mark,

Great job and thanks so much for making it available.

Jon Oct 17, 2011 at 4:05 pm

Updating the url for a monitor would be nice too.

Thanks for the great product.

admin Oct 18, 2011 at 2:51 am

@Jon,

The feature exists in the editMonitor method.

Christopher Oct 18, 2011 at 7:55 am

No0b alert :)

I'm trying to use the API and @Mark's little script to simply display the uptime percentage of one of my monitors on my website.

I've got Mark's script working so that I end up with the correct JSON output for the monitor that I want, using the code:

# getMonitors
$monitors = array('xxxxx');
echo $ur->getMonitors($monitors, 1, 0); // gets only specified monitors and outputs the returned json string

But how do I turn that JSON string into a simple percentage (alltimeuptimeratio) that I can include on my website?

Any help appreciated ;)

Keith Oct 18, 2011 at 10:25 am

Thanks for the service and now the API. Uptimerobot rocks!

admin Oct 18, 2011 at 3:17 pm

@Christopher,

Not a PHP guy here so others may provide a better answer but you can use the JSON response as a classic PHP array.

Check this thread which is very similar: http://stackoverflow.com/questions/263392/handling-data-in-a-php-json-object

Alternatively, you can use the PHP code here for that: http://www.uptimerobot.com/api.asp#examples

Christopher Oct 18, 2011 at 6:15 pm

@admin

Merci much :) Exactly what I was looking for!

Woo Commerce Nov 7, 2011 at 9:23 pm

Great, I still playing around about this API based on samples admin give me. Thanks!

Spencer Nov 17, 2011 at 10:17 pm

The API is nice. I was wondering if you plan on adding a postback capability? I'm not sure if the terminology is correct, so here is what it would do...

In the Uptime Robot Settings interface we could add a URL path to a script that will receive notifications (up or down and the monitor ID/name). I could then have my local script parse that data and either store it in the database or use a service like Pusherapp to push notifications out to my admin users.

I think this would make an already awesome product almost perfect.

Thanks.

admin Nov 18, 2011 at 12:24 pm

@Spencer,

Yes, that's a feature in our to-do-list.

We still have some way to go before adding it but it'll definitely be implemented.

somesh Zade Jul 15, 2019 at 2:03 pm

I am thinking to develope a whmcs plugin and display the stats directly to registered clients? Is it possible with your api?

Mick Jan 3, 2020 at 6:12 pm

May I know the cause behind this error?

Thanks

Kristian - Community Manager Jun 9, 2020 at 6:12 pm

Hi Mick,

could you pleae specify what error do you have in mind? Thank you.

Kristian - Customer Service Agent Mar 2, 2020 at 4:40 pm

Hi Constantine,

sure, the link you sent is working at the moment, that's the older API though. You can find the new one here https://uptimerobot.com/api

Have a great day!

Kristian - Community Manager Jun 9, 2020 at 1:29 pm

Hi Mark,

APIv1 should be still working, but there's APIv2 available, please take a look at it: https://uptimerobot.com/api Let us know on support@uptimerobot.com if you need any further assistance.

Recent Articles

Recent Articles

Table of Contents