🔀

Website Diff API

Compare two webpages and detect content or visual differences. Track changes over time, detect unauthorized modifications, and monitor content updates.

API Endpoint

POST /v1/diff

Parameters

Name Type Required Description
url1stringYesFirst URL to compare
url2stringYesSecond URL to compare
typestringNoComparison type: content or visual (default: content)

Quick Example

curl -X POST "https://api.toolcenter.dev/v1/diff" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url1": "https://example.com", "url2": "https://example.org"}'

Features

  • Content-based text comparison
  • Visual screenshot diff
  • Change percentage calculation
  • Added, removed, and modified detection
  • URL-to-URL or HTML-to-HTML comparison

Use Cases

Monitor website changes over time

Detect unauthorized content modifications

Track competitor website updates

QA testing before/after deployments

Start Using Website Diff API for Free

500 free API calls per month. No credit card required.

Get Started Free