Uptime Robot is a monitoring service provider that offers an API to help developers and businesses monitor their websites and services. With the Uptime Robot API, developers can create custom solutions to check and monitor their systems, as well as measure performance and detect downtime.
The Uptime Robot API can be used to build a variety of applications, from basic website-monitoring tools to sophisticated alerting and reporting systems. Here are some examples of the applications that you can build with the Uptime Robot API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uptime_robot: {
type: "app",
app: "uptime_robot",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.uptime_robot.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://api.uptimerobot.com/v2/getAlertContacts`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
Uptime Robot uses API keys for authentication. When you connect your Uptime Robot account, Pipedream securely stores the keys so you can easily authenticate to Uptime Robot APIs in both code and no-code steps.
In order to find the API key in Uptime Robot, go to the My Settings page.