Get an API key Your API keys

Monitor websites for changes

A monitor is a schedule with "track": "pages": every run reads your pages (a list or a whole site), compares them with the run before, and tells you what is new, what is gone and what changed – by e-mail, webhook, or in the dashboard under Monitors.

Create a monitor

curl https://api.virginproxy.com/v1/schedules \
  -H "Authorization: Bearer $VP_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Docs watch",
    "every": "weekdays at 09:30",
    "max_credits": 200,
    "track": "pages",
    "notify": {
      "email": true,
      "webhook": false
    },
    "crawl": {
      "url": "https://docs.example.com/",
      "max_pages": 100,
      "request": {
        "format": "markdown",
        "main_content": true
      }
    }
  }'
import os, requests

r = requests.post(
    "https://api.virginproxy.com/v1/schedules",
    headers={"Authorization": "Bearer " + os.environ["VP_KEY"]},
    json={
        "name": "Docs watch",
        "every": "weekdays at 09:30",
        "max_credits": 200,
        "track": "pages",
        "notify": {"email": True, "webhook": False},
        "crawl": {
            "url": "https://docs.example.com/",
            "max_pages": 100,
            "request": {"format": "markdown", "main_content": True},
        },
    },
    timeout=30,
)
data = r.json()
if not r.ok:
    raise SystemExit(data["error"]["code"] + ": " + data["error"]["message"])
print(data["status"], data["cost"]["credits"])
const res = await fetch("https://api.virginproxy.com/v1/schedules", {
  method: "POST",
  headers: { Authorization: "Bearer " + process.env.VP_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    name: "Docs watch",
    every: "weekdays at 09:30",
    max_credits: 200,
    track: "pages",
    notify: { email: true, webhook: false },
    crawl: {
      url: "https://docs.example.com/",
      max_pages: 100,
      request: { format: "markdown", main_content: true },
    },
  }),
  signal: AbortSignal.timeout(30_000),
});
const data = await res.json();
if (!res.ok) throw new Error(data.error.code + ": " + data.error.message);
console.log(data.status, data.cost.credits);
from virginproxy import VirginProxy  # docs.virginproxy.com/sdk/virginproxy.py

vp = VirginProxy()  # reads VP_KEY
data = vp.create_schedule({
    "name": "Docs watch",
    "every": "weekdays at 09:30",
    "max_credits": 200,
    "track": "pages",
    "notify": {"email": True, "webhook": False},
    "crawl": {
        "url": "https://docs.example.com/",
        "max_pages": 100,
        "request": {"format": "markdown", "main_content": True},
    },
})
print(data)
import { VirginProxy } from "./virginproxy.mjs"; // docs.virginproxy.com/sdk/virginproxy.mjs

const vp = new VirginProxy(); // reads VP_KEY
const data = await vp.createSchedule({
  name: "Docs watch",
  every: "weekdays at 09:30",
  max_credits: 200,
  track: "pages",
  notify: { email: true, webhook: false },
  crawl: {
    url: "https://docs.example.com/",
    max_pages: 100,
    request: { format: "markdown", main_content: true },
  },
});
console.log(data);
<?php
$ch = curl_init("https://api.virginproxy.com/v1/schedules");
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer " . getenv("VP_KEY"),
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        "name" => "Docs watch",
        "every" => "weekdays at 09:30",
        "max_credits" => 200,
        "track" => "pages",
        "notify" => ["email" => true, "webhook" => false],
        "crawl" => [
            "url" => "https://docs.example.com/",
            "max_pages" => 100,
            "request" => ["format" => "markdown", "main_content" => true],
        ],
    ], JSON_UNESCAPED_SLASHES),
]);
$data = json_decode(curl_exec($ch), true);
if (isset($data["error"])) {
    exit($data["error"]["code"] . ": " . $data["error"]["message"] . PHP_EOL);
}
echo $data["status"], " ", $data["cost"]["credits"], PHP_EOL;
package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"log"
	"net/http"
	"os"
	"time"
)

func main() {
	payload := []byte(`{
  "name": "Docs watch",
  "every": "weekdays at 09:30",
  "max_credits": 200,
  "track": "pages",
  "notify": {
    "email": true,
    "webhook": false
  },
  "crawl": {
    "url": "https://docs.example.com/",
    "max_pages": 100,
    "request": {
      "format": "markdown",
      "main_content": true
    }
  }
}`)
	req, err := http.NewRequest("POST", "https://api.virginproxy.com/v1/schedules", bytes.NewReader(payload))
	if err != nil {
		log.Fatal(err)
	}
	req.Header.Set("Authorization", "Bearer "+os.Getenv("VP_KEY"))
	req.Header.Set("Content-Type", "application/json")

	client := &http.Client{Timeout: 30 * time.Second}
	res, err := client.Do(req)
	if err != nil {
		log.Fatal(err)
	}
	defer res.Body.Close()

	var data map[string]any
	if err := json.NewDecoder(res.Body).Decode(&data); err != nil {
		log.Fatal(err)
	}
	if res.StatusCode >= 300 {
		e := data["error"].(map[string]any)
		log.Fatalf("%v: %v", e["code"], e["message"])
	}
	fmt.Println(data["status"], data["cost"].(map[string]any)["credits"])
}
require "json"
require "net/http"

uri = URI("https://api.virginproxy.com/v1/schedules")
req = Net::HTTP::Post.new(uri)
req["Authorization"] = "Bearer " + ENV.fetch("VP_KEY")
req["Content-Type"] = "application/json"
req.body = JSON.generate({
  "name" => "Docs watch",
  "every" => "weekdays at 09:30",
  "max_credits" => 200,
  "track" => "pages",
  "notify" => { "email" => true, "webhook" => false },
  "crawl" => {
    "url" => "https://docs.example.com/",
    "max_pages" => 100,
    "request" => { "format" => "markdown", "main_content" => true },
  },
})

res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true, read_timeout: 30) { |http| http.request(req) }
data = JSON.parse(res.body)
abort(data["error"]["code"] + ": " + data["error"]["message"]) unless res.is_a?(Net::HTTPSuccess)
puts [data["status"], data["cost"]["credits"]].join(" ")
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;

public class Main {
    public static void main(String[] args) throws Exception {
        String payload = """
            {
              "name": "Docs watch",
              "every": "weekdays at 09:30",
              "max_credits": 200,
              "track": "pages",
              "notify": {
                "email": true,
                "webhook": false
              },
              "crawl": {
                "url": "https://docs.example.com/",
                "max_pages": 100,
                "request": {
                  "format": "markdown",
                  "main_content": true
                }
              }
            }
            """;
        HttpRequest req = HttpRequest.newBuilder(URI.create("https://api.virginproxy.com/v1/schedules"))
            .header("Authorization", "Bearer " + System.getenv("VP_KEY"))
            .header("Content-Type", "application/json")
            .timeout(Duration.ofSeconds(30))
            .POST(HttpRequest.BodyPublishers.ofString(payload))
            .build();
        HttpResponse<String> res = HttpClient.newHttpClient().send(req, HttpResponse.BodyHandlers.ofString());
        if (res.statusCode() >= 300) {
            System.err.println(res.statusCode() + " " + res.body()); // the error object: code, message
            System.exit(1);
        }
        System.out.println(res.body()); // JSON: read it with the JSON library of your choice
    }
}
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;

using var http = new HttpClient { Timeout = TimeSpan.FromSeconds(30) };
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("VP_KEY"));
var payload = """
    {
      "name": "Docs watch",
      "every": "weekdays at 09:30",
      "max_credits": 200,
      "track": "pages",
      "notify": {
        "email": true,
        "webhook": false
      },
      "crawl": {
        "url": "https://docs.example.com/",
        "max_pages": 100,
        "request": {
          "format": "markdown",
          "main_content": true
        }
      }
    }
    """;
var req = new HttpRequestMessage(HttpMethod.Post, "https://api.virginproxy.com/v1/schedules");
req.Content = new StringContent(payload, Encoding.UTF8, "application/json");
var res = await http.SendAsync(req);
using var data = JsonDocument.Parse(await res.Content.ReadAsStringAsync());
if (!res.IsSuccessStatusCode)
{
    var e = data.RootElement.GetProperty("error");
    Console.Error.WriteLine(e.GetProperty("code") + ": " + e.GetProperty("message"));
    Environment.Exit(1);
}
Console.WriteLine(data.RootElement.GetProperty("status") + " " + data.RootElement.GetProperty("cost").GetProperty("credits"));
POST/v1/schedules
Response (shortened)
{
  "id": "sch_4mK9xQ2pLs7Vn1bZ0cR8",
  "name": "Docs watch",
  "every": "weekdays at 09:30",
  "rhythm": "weekdays at 09:30",
  "time_zone": "Europe/Berlin",
  "notify": { "email": true, "webhook": false },
  "track": "pages",
  "next_runs": ["2026-12-01T08:30:00.000Z", "2026-12-02T08:30:00.000Z", "2026-12-03T08:30:00.000Z"],
  "kind": "crawl",
  "max_credits": 200,
  "status": "active",
  "runs": 0
}

A rhythm in words

every takes the fixed intervals (15m, 1h, 1d …) or a rhythm in words, in your account's time zone (Settings in the dashboard; summer and winter time are handled):

You writeRuns
every 30 minutesevery 30 minutes, counted from now
hourly, every 6 hoursevery hour, every 6 hours
daily at 08:00every day at 08:00
weekdays at 09:30Monday to Friday at 09:30
weekly on monday at 07:00Mondays at 07:00
every mon, wed and fri at 18:15those days at 18:15
every 2 daysevery 48 hours

Check a rhythm before you save it: POST /v1/schedules/preview with {"every": "…"} says it back as it will be stored, whether your plan allows it, and the next three runs. How often a plan may run a schedule: free every 1 day, starter every 60 minutes, growth every 15 minutes, scale every 5 minutes; at least every 5 minutes for anyone.

What counts as a change

The first run only records the pages ("first_run": true); changes are reported from the second run on.

E-mail and webhook

notify.email: an e-mail to your account address (and the extra addresses you confirmed for alerts) with the counts and the first addresses – at most one per monitor and hour. notify.webhook: a delivery alert.monitor_changed to your alert webhook (also as a Slack message). The dashboard shows every change as a notice either way.

Reports

GET /v1/schedules/{id}/reports: one report per finished run, newest first; the last 100 are kept. The lists hold up to 200 addresses each; the counts are complete.

GET /v1/schedules/sch_…/reports
{
  "items": [
    {
      "job": "job_N2xV8cQ0mLp4Rz7Tb1Ws",
      "at": "2026-12-02T08:31:12.000Z",
      "first_run": false,
      "pages": 96,
      "counts": { "added": 2, "removed": 1, "changed": 3 },
      "added": ["https://docs.example.com/new-endpoint/", "https://docs.example.com/changelog/2026-12/"],
      "removed": ["https://docs.example.com/old-guide/"],
      "changed": ["https://docs.example.com/pricing/", "https://docs.example.com/limits/", "https://docs.example.com/"]
    }
  ]
}

What it costs

Each run is an ordinary job or crawl: every page read is a request with its usual price, and max_credits caps every run. Comparing, reports and notifications are free.

Tip

Watch only what matters: read the prices with extract (or auto_extract: "product") and the monitor reports a page as changed only when those fields change.

Note

A crawl with only_changed in a monitor also leaves unchanged pages out of results, exports, deliveries and item webhooks.

Was this page helpful?

Last updated