1. Home
  2. Features
  3. API

Website monitoring API

Add a client’s site when you set them up, or put check results in your own dashboard. It’s plain JSON over HTTPS, with a separate token for each tool.

One token per tool, please. Then we can switch one off without breaking the rest.

Robot Dom

What you can do

  • List the sites and pages you watch
  • Read one, with the latest result of each of its checks
  • Add a site, and choose which checks are on
  • Switch checks on or off
  • Delete a site

Each page you watch has its own entry, so “site” below means one address.

Examples

Send your token in the Authorization header. Replace $LW_TOKEN with it, and SITE_ID with a permalink from the list.

List your sites

curl https://littlewarden.com/api/sites \
  -H "Authorization: Bearer $LW_TOKEN"
[{"site":{"url":"https://example.com/","permalink":"SITE_ID"}}]

Read one site

curl https://littlewarden.com/api/sites/SITE_ID \
  -H "Authorization: Bearer $LW_TOKEN"

You get one entry per check, each with a title and a status, and usually some text to explain it. Shortened here:

{
  "site": {
    "permalink": "SITE_ID",
    "url": "https://example.com/",
    "last_checked_at": "Thu 03-12-26 00:45",
    "whois_expires_status": {
      "title": "This domain expires in 40 days",
      "text": "example.com expires in 40 days, that’s not a problem at the moment.",
      "status": "all good"
    }
  }
}

Add a site

curl -X POST https://littlewarden.com/api/sites \
  -H "Authorization: Bearer $LW_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"url":"https://example.com","enable":["google-analytics"],"disable":["404-page-check"]}'

Switch checks on or off

curl -X PATCH https://littlewarden.com/api/sites/SITE_ID \
  -H "Authorization: Bearer $LW_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"enable":["google-analytics"]}'

Delete a site

curl -X DELETE https://littlewarden.com/api/sites/SITE_ID \
  -H "Authorization: Bearer $LW_TOKEN"

Every check’s name for enable and disable is in your account, in Settings, under API, then API documentation.

Tokens

  • Give each token a name, and make it “Read only” or “Read and change”.
  • We show a token once and don’t keep a copy.
  • You can see when each one was last used, and revoke it on its own.
  • A token acts as the person who made it.
  • Your original API key keeps working until you revoke it.

To tell us about a release, use deploy checks, which have their own tokens. To ask questions in plain English, use the MCP server.

This stuff isn’t sexy, but it’s serious

SEO, on the pages you watch

  • Canonicals and indexability
  • robots.txt and sitemaps
  • Redirects and status codes
  • Titles, headings and hreflang
  • Core Web Vitals
  • Tracking tags
  • Your own checks

Uptime

  • Every 5 minutes
  • From three regions
  • Response times

Domains and SSL

  • Domain and SSL expiry
  • DNS changes

Email

  • SPF, DKIM and DMARC
  • MX records

Security

  • Security headers
  • Google Safe Browsing
View every check

Try it free for 30 days

No credit card needed

You get 100 pages and every check. Anything already wrong shows as an open alert, without emailing you, so the first emails you get are real changes.