New Features for the API

We have added few new features to the API which may look tiny, yet, can be handy for anyone integrating with the API. Here they are

Search

This (search) is a new parameter for the getMonitors method for filtering the responses with a given keyword (that will be searched in the monitorURL and monitorFriendlyName).

Getting Account Details

If you need a short summary of the account details, the getAccountDetails can return the number of up, down or paused monitors, the monitor limit and the min. interval that can be used on the account.

Threshold and recurrence

It is possible in Pro Plans to get notified “if down for x minutes, alert once (or every y minutes)”. These parameters allow setting these values via the API.

They can be used with the addMonitor or editMonitor methods and, also, getMonitors will return the threshold + recurrence values of each monitor’s alert contact.

Older Response Time Data

As the Pro Plans are keeping the response time values back to 12 months, here is a way to reach them via the API (besides the web interface).

The responseTimesStartDate and responseTimesEndDate parameters in the getMonitors method are the way to go for that.

That is all for now :).

If you find Uptime Robot useful, help us spreading the word:

Comments

  1. rohit

    Hey i am not able to get the json response from getaccountdetails . it says the json is not in a good format

    Reply
    1. Umut Muhaddisoglu Post author

      Please make sure that you request JSON (noJSONCallback=1 parameter is needed) and nont JSON-P.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>