# Website Uptime Monitor - Status, Response Time & SSL (`admirala/website-uptime-ssl-monitor`) Actor

Website uptime checker: HTTP status, response time, final URL, SSL expiry days and keyword check for any list of URLs. Schedule every 5 min and alert via webhook or Slack. $0.002 per check.

- **URL**: https://apify.com/admirala/website-uptime-ssl-monitor.md
- **Developed by:** [Ja doei](https://apify.com/admirala) (community)
- **Categories:** Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.25 / 1,000 per url checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Website Uptime Monitor - Status, Response Time & SSL

> ✅ **Tested daily** with its default input (Apify's automated QA plus our own smoke test before every release).

**Website uptime monitor**: check whether your websites are **up**: HTTP **status code**, **response time**, final URL after redirects, **SSL certificate expiry (days left)** and whether a **keyword** appears on the page. Run it on an Apify Schedule every 5-60 minutes and connect webhook, Slack, email or Zapier/Make integrations for alerts. **$0.002 per URL check**.

### Why this Actor

- **$0.002 per URL check** – 5× cheaper than comparable monitors.
- **SSL expiry warnings** before your certificate breaks your site.
- **Keyword check** catches "200 OK but broken page" errors.
- **alertOnly** mode outputs only problems (down sites or SSL < 14 days).

### Input

`urls` (list), `expectStatus` (default 200), `keyword` (optional), `timeoutSecs` (default 20), `alertOnly` (default false).

### Output

```json
{"url": "https://example.com", "up": true, "status": 200, "responseMs": 143, "finalUrl": "https://example.com/", "sslExpires": "2027-01-15T23:59:59+00:00", "sslDaysLeft": 86, "keywordFound": null}
```

Key-value store `OUTPUT`: `{"checked": 2, "down": [], "allUp": true}` – easy to use in alerts.

### Pricing

$0.002 per URL checked.

### Use with AI agents (MCP)

This Actor can be used as a tool by AI agents (Claude, Cursor, VS Code, other MCP clients) through the official [Apify MCP server](https://docs.apify.com/platform/integrations/mcp):

- Add only this Actor as a tool: `https://mcp.apify.com?tools=admirala/website-uptime-ssl-monitor` (sign in with OAuth or an Apify API token).
- Or connect `https://mcp.apify.com` and let the agent find it with `search-actors` (e.g. "uptime monitor"), read the input schema with `fetch-actor-details` and run it with `call-actor`.

Example input an agent can pass:

```json
{
  "urls": [
    "https://example.com"
  ],
  "keyword": "Example Domain",
  "alertOnly": false
}
```

Cost per call: $0.002 per URL checked. Results come back as dataset items (`get-dataset-items`).

### FAQ

**How do I check if a website is down?**
Add the URL to `urls`. Each row has `up`, `status` and `responseMs`; the `OUTPUT` record lists down sites.

**Can it monitor every 5 minutes?**
Yes, attach an Apify Schedule (cron) and an integration for notifications. Each check costs $0.002 per URL.

**Can it detect a broken page that still returns 200?**
Yes, set `keyword` to text that must be on the page.

### Related actors

- [SSL Certificate Checker - Bulk Expiry, Chain & TLS](https://apify.com/admirala/ssl-certificate-expiry-checker)
- Domain Expiry Checker - Bulk WHOIS/RDAP Expiration Dates (coming soon to Apify Store)
- [WHOIS Lookup Bulk - Domain RDAP, DNS Records & SSL](https://apify.com/admirala/domain-whois-rdap-dns-lookup)
- SPF, DKIM & DMARC Checker - Bulk Email Deliverability Audit (coming soon to Apify Store)
- Security Headers Checker - Bulk HSTS, CSP Audit (A+ to F) (coming soon to Apify Store)
- [Tech Stack Detector - BuiltWith & Wappalyzer Alternative](https://apify.com/admirala/website-tech-stack-detector)
- Broken Link Checker - Find 404s & Redirects (Crawl or List) (coming soon to Apify Store)

# Actor input Schema

## `urls` (type: `array`):

Pages to check, e.g. \["https://example.com"]. $0.002 per URL per run.

## `expectStatus` (type: `integer`):

HTTP status code that counts as up, e.g. 200.

## `keyword` (type: `string`):

Optional text that must appear on the page; if missing the page counts as a problem. Example: 'Add to cart'.

## `timeoutSecs` (type: `integer`):

Timeout per request in seconds, e.g. 20. Slower responses count as down.

## `alertOnly` (type: `boolean`):

true = output only problems: down sites or SSL certificates with fewer than 14 days left.

## Actor input object example

```json
{
  "urls": [
    "https://example.com"
  ],
  "expectStatus": 200,
  "timeoutSecs": 20,
  "alertOnly": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("admirala/website-uptime-ssl-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": ["https://example.com"] }

# Run the Actor and wait for it to finish
run = client.actor("admirala/website-uptime-ssl-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://example.com"
  ]
}' |
apify call admirala/website-uptime-ssl-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,admirala/website-uptime-ssl-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/2QzCkfWFHPlQhhiyZ/builds/VBGgHGk8xVfrx0sjJ/openapi.json
