Skip to main content

Website Monitoring

Monitor websites for changes and receive alerts via email, Slack, or webhook.

Overview

The Monitoring API allows you to:

  • Track changes on any webpage automatically
  • Get instant alerts when content changes
  • Monitor specific elements using CSS selectors
  • Use AI to summarize what changed

Key Features

FeatureDescription
Full Page MonitoringTrack changes to entire page content
Selector MonitoringWatch specific elements using CSS selectors
AI Change DetectionIntelligent summarization of what changed
Multiple Alert ChannelsEmail, Slack, and webhook notifications
Flexible IntervalsFrom every 5 minutes to weekly checks

Endpoints

MethodEndpointDescription
POST/v1/monitoringCreate a new monitor
GET/v1/monitoringList all monitors
GET/v1/monitoring/:idGet monitor details
PATCH/v1/monitoring/:idUpdate a monitor
DELETE/v1/monitoring/:idDelete a monitor
POST/v1/monitoring/:id/pausePause a monitor
POST/v1/monitoring/:id/resumeResume a monitor
POST/v1/monitoring/:id/check-nowTrigger immediate check
GET/v1/monitoring/:id/checksGet check history
GET/v1/monitoring/:id/alertsGet alert history

Alert Channels

MethodEndpointDescription
POST/v1/monitoring/:id/channelsAdd alert channel
PATCH/v1/monitoring/:id/channels/:channelIdUpdate channel
DELETE/v1/monitoring/:id/channels/:channelIdRemove channel

Credits

  • 1 credit per check
  • Credits are deducted when checks run (not when monitor is created)

Quick Example

# Create a price monitor
curl -X POST https://api.scrapebit.com/v1/monitoring \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Product Price Monitor",
"url": "https://shop.example.com/product/123",
"monitorType": "selector",
"selector": ".product-price",
"checkInterval": "hourly",
"alertChannels": [
{
"type": "email",
"email": "alerts@example.com"
}
]
}'