Page Pulse API docs
Everything you need to read scored page changes, manage projects and receive webhooks. Base URL https://app.pagepulse.dev/api/v1.
Quickstart
Page Pulse checks the pages you track, records every on-page change (titles, headings, body text, links, meta tags), scores each change with an impact model, and ties changes to Google Search Console and GA4 traffic. The REST API gives you that data, plus project, page, alert and webhook management.
1. Get a token
Sign up (or sign in), open Settings → API & MCP, and create a personal access token. Copy it when it's shown and keep it out of source control.
export PP_TOKEN="eyJ0eXAiOiJKV1Qi..."
2. Check your account
curl https://app.pagepulse.dev/api/v1/account \
-H "Authorization: Bearer $PP_TOKEN" \
-H "Accept: application/json"
The response shows your plan, whether you're on pay as you go, your balance and the current prices.
3. List your projects
curl https://app.pagepulse.dev/api/v1/projects \
-H "Authorization: Bearer $PP_TOKEN" -H "Accept: application/json"
Each project's uuid is the {project} in every other call. traffic_connected: false means the project is crawl-only: it tracks changes but has no Search Console or GA4 data.
4. Create a project and add pages
# Track a whole site, or a section of it, by discovery
curl -X POST https://app.pagepulse.dev/api/v1/projects \
-H "Authorization: Bearer $PP_TOKEN" -H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"url": "https://acme.com", "include_paths": ["/services/"]}'
# Or track an exact list of pages, with no discovery
curl -X POST https://app.pagepulse.dev/api/v1/projects \
-H "Authorization: Bearer $PP_TOKEN" -H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "HubSpot on G2", "urls": ["https://www.g2.com/products/hubspot/reviews"]}'
# Add more pages later, tagged so you can filter and alert on them
curl -X POST https://app.pagepulse.dev/api/v1/projects/$PROJECT/pages \
-H "Authorization: Bearer $PP_TOKEN" -H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://acme.com/pricing/"], "tags": ["Money pages"]}'
urlmust be the domain root. Put deep URLs inurlsinstead.- If the site is already a project, you get it back with
status: "already_tracked". - Unsure which paths a site has?
POST /discoverreads its sitemap first ($0.001 per path found on pay-as-you-go-only accounts, free on a plan). - On a plan account with pay as you go turned on, send
billing: "pay_as_you_go"to put the new site on per-check billing (see Plans and pay as you go). It applies only when the site is created. - New projects are crawl-only. Search Console and GA4 are connected by a person in the web app.
- New pages get a first snapshot quickly. Changes are detected from the next scheduled crawl, so expect the first changes the next day.
5. Read changes
curl -G https://app.pagepulse.dev/api/v1/projects/$PROJECT/changes \
-H "Authorization: Bearer $PP_TOKEN" -H "Accept: application/json" \
--data-urlencode "min_band=notable" \
--data-urlencode "start_date=2026-09-01"
{
"data": [
{
"id": 9921045,
"page_id": 48213,
"page_path": "/services/hydroseeding/",
"detected_at": "2026-10-07 04:12:33",
"field_name": "Meta (title)",
"change_type": "edit",
"impact_band": "high",
"impact_score": 78.4,
"change_group_id": "6f1c2b0a9e8d7c6b5a4f3e2d1c0b9a8f",
"affected_page_count": 1,
"old_value": "Hydroseeding Services | Acme",
"new_value": "Hydroseeding in Denver, Fast Germination | Acme"
}
],
"meta": {
"date_range": {
"start": "2026-09-01",
"end": "2026-10-08"
},
"limit": 50,
"next_cursor": null,
"min_band": "notable",
"band_filter_applied": true,
"impact_scored": true
}
}
Then see which changes moved traffic with GET /projects/{project}/outcomes.
Authentication
Send the token on every request, and always send Accept: application/json. Without it, authentication and validation errors come back as redirects instead of JSON.
Authorization: Bearer <token>
Accept: application/json
Tokens act as the user who created them, inside that user's organization. A request for a project, page, alert or webhook in another organization returns 404. Revoke a token in Settings → API & MCP and it stops working at once. The same token works with the MCP server.
Pricing and balance
GET /account shows how you're billed. pay_as_you_go is true when anything on the account can draw down the balance: a pay-as-you-go-only account, or a plan account that has turned pay as you go on.
Plans
Plans include the REST API, MCP and webhooks at no extra cost. Sites on your plan are never charged per check. They share your plan's page allowance and get the full app: Actions, the performance dashboard and the change timeline. Each competitor you add gets its own 250 pages.
Plans and pay as you go
On a plan, you can also turn on pay as you go under Billing → Pay as you go. Each site is then either on the plan or on pay as you go:
- On the plan: its pages count toward the plan's allowance, and nothing is charged.
- On pay as you go: billed per check from your balance, with no page cap. Its data comes through the API, MCP and webhooks only, with no charts, timeline or Actions in the app.
Choose per site in the site's settings, or send billing: "plan" or "pay_as_you_go" on POST /projects (new sites) or PATCH /projects/{project}. GET /projects shows each site's billing. A competitor is billed like the site it's attached to. Moving a site back onto the plan adds its pages to the plan's allowance; if that's more than the plan checks, the response says how many pages are over (plan_pages_over_allowance) and the least-visited pages pause. If your plan ends after you turned pay as you go on, the account moves to pay as you go and every site is billed per check.
Pay as you go
On a pay-as-you-go-only account, every site is billed per check. On a plan account, only its sites on pay as you go are.
| What | Price | When |
|---|---|---|
| Page check | $0.001 per page | Every page fetched for a site billed per check, including the first crawl of a new site and fetches that fail |
| Live check | $0.005 per check | POST .../live-check on a site billed per check, when the page is fetched (any HTTP status). A fetch that fails outright is not charged |
| Discovery | $0.001 per path found | POST /discover on a pay-as-you-go-only account, when a sitemap is found. Free on a plan |
| Reads | Free | Every GET, including AI change summaries |
| Webhooks | Free | Every delivery |
- Starter credit: $2, granted once when your organization first turns on pay as you go. That's 2,000 checks, about 66 pages checked daily for a month.
- Top-ups: minimum $50. Bonus credit of 5% at $250, 10% at $1,000 and 15% at $5,000 or more. Credits never expire. Agencies topping up $1,000 or more can pay by invoice.
- Auto-replenish (on by default): reloads a set amount from your saved card (your first top-up, unless you change it) when the balance falls below 20% of that amount or $10, whichever is higher. You can turn it off or set a monthly cap on top-ups.
- Low-balance emails at 25% and 10% of your last top-up.
- Check frequency: each site is checked every 1, 3 or 7 days, never more often than your plan allows. Change it with
PATCH /projects/{project}(check_every_days). Checking less often costs less. - Sites billed per check are checked from their list of tracked pages, without following links. The first crawl of a new site does follow links, up to 1,000 pages, and each page fetched is billed. After that, add new pages by URL or keep them in the site's sitemap.
- Track usage with
GET /usage?start_date=2026-10-01&end_date=2026-10-31, totalled by type and project.
When the balance reaches $0
- Scheduled checks keep running for a 7-day grace period. The balance goes negative and
GET /accountshowsgrace_period_ends_at. - While the balance is $0 or below, live checks on sites billed per check, and discovery on pay-as-you-go-only accounts, return
402 Payment Required. Reads keep working. - If you haven't topped up when the grace period ends, sites billed per check pause (
monitoring_paused: true). Sites on your plan keep running. Nothing is deleted. Top up and checks resume from the next nightly crawl.
A 402 always means the same thing: top up at Billing → Pay as you go and retry. See the cost calculator.
Rate limits
The REST API allows 60 requests per minute per user; all of a user's tokens share the limit. Over the limit you get 429 Too Many Requests with a Retry-After header in seconds. Every response carries X-RateLimit-Limit and X-RateLimit-Remaining. For large exports, use the biggest page size each endpoint allows and the change cursor rather than many small calls.
Parameters and pagination
GET parameters go in the query string, and arrays use repeated name[] keys, for example ?tag_ids[]=311&tag_ids[]=312&change_types[]=edit. POST, PATCH and DELETE take a JSON body. Dates are YYYY-MM-DD. Most date ranges default to the 30 days ending yesterday, since traffic data lags by a day or more.
| Endpoint | Style | Limits |
|---|---|---|
GET /projects/{project}/changes | Cursor | limit 1 to 200 (default 50). Pass meta.next_cursor as cursor until it's null |
GET /projects/{project}/pages | Offset | per_page 1 to 100 (default 25) |
GET /projects/{project}/pages/{page}/changes | Offset | per_page 1 to 200 (default 50) |
GET /projects/{project}/queries | Offset | per_page 1 to 100 (default 25) |
GET /projects/{project}/outcomes | Top N | limit 1 to 100 (default 25), highest confidence first |
GET /projects/{project}/movers | Top N | limit 1 to 50 (default 20), largest move first |
| Projects, tags, alerts, webhooks | Full list | No paging |
The change cursor stays stable while new changes arrive, so it's the right way to walk a large history:
cursor=""
while :; do
resp=$(curl -sG "https://app.pagepulse.dev/api/v1/projects/$PROJECT/changes" \
-H "Authorization: Bearer $PP_TOKEN" -H "Accept: application/json" \
--data-urlencode "limit=200" ${cursor:+--data-urlencode "cursor=$cursor"})
echo "$resp" | jq -c '.data[]'
cursor=$(echo "$resp" | jq -r '.meta.next_cursor // empty')
[ -z "$cursor" ] && break
done
Changes and impact bands
Each change has a field_name such as Meta (title), Meta (description), Meta (canonical), Heading (h1), Text (p), Link (Internal) or Link (Nav), and a change_type of new, edit or removal. To filter by kind, field_names[] and alert change_fields accept four group keys:
| Group | Covers |
|---|---|
content | Paragraphs, body text, list items, tables |
headings | H1 to H6 |
links | Internal, external and navigation links |
meta | Title tag, meta description, canonical, Open Graph tags |
The impact model scores each change from 0 to 100 (impact_score) and puts it in a band. min_band returns that band and every stronger one.
| Band | Meaning |
|---|---|
noise | Cosmetic or trivial edits |
low | Minor edits, rarely worth looking at alone |
notable | A meaningful single edit. The usual floor for "something happened" |
high | A substantial change, often a cluster of edits on one page |
critical | The largest changes. Look at these first |
impact_band: nullon a single change means the model didn't score it, usually because it fell below the meaningfulness floor. It probably doesn't matter much.meta.impact_scored: falsemeans the project hasn't been through the impact model yet. No change has a band,min_bandisn't applied, and awarningfield explains why.- Bulk edits. A template or navigation edit can hit hundreds of pages at once. Rows that share a
change_group_idare the same edit; count them once and reportaffected_page_count.
Want the method behind the score? See the impact model.
Outcomes
GET /projects/{project}/outcomes returns the measured effect of meaningful changes: how clicks and impressions moved after the change compared with the page's own expected baseline, with a confidence band of possible, likely or high. Rows appear once a change finishes its evaluation window (horizon_days), so an empty result for recent changes means "still measuring", not "no effect".
Webhooks
Webhooks push changes and outcomes to your server instead of you polling for them. They're free. See no-code recipes for Zapier, Make and n8n.
| Event | Sent when |
|---|---|
change.detected | Any change is detected on any page in your organization's projects, including competitors. The same changes as <code>GET /changes</code>: noise is screened out, and a site-wide edit arrives once with <code>site_wide</code> and <code>affected_page_count</code> |
change.notable | The impact model scores a change notable, high or critical (after the daily scoring run) |
outcome.ready | A change finishes an evaluation window and has a measured outcome (after the daily evaluation run) |
ping | Only when you call the test endpoint |
change.detected can be high volume on large sites. Most integrations want change.notable and outcome.ready.
Set up an endpoint
curl -X POST https://app.pagepulse.dev/api/v1/webhooks \
-H "Authorization: Bearer $PP_TOKEN" -H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"url": "https://hooks.example.com/pagepulse", "events": ["change.notable", "outcome.ready"]}'
# Then send a test event
curl -X POST https://app.pagepulse.dev/api/v1/webhooks/$WEBHOOK/test \
-H "Authorization: Bearer $PP_TOKEN" -H "Accept: application/json"
# 200 {"delivered": true, "error": null}
# 502 {"delivered": false, "error": "HTTP 500"}
The 201 response includes secret (it starts with whsec_). It's shown once. Store it now; if you lose it, delete the endpoint and create a new one. The URL must be public https, and an organization can have up to 10 endpoints. To change an endpoint's URL, create a new one. GET /webhooks lists endpoints with last_delivered_at, last_failed_at, last_error and disabled_at; PATCH /webhooks/{webhook} changes events or enabled; DELETE removes it.
Payload
Every delivery is a POST with a JSON body carrying up to 200 items for one event and one project:
{
"id": "evt_1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"event": "change.notable",
"created_at": "2026-10-07T05:00:12+00:00",
"project": {
"uuid": "9b2f6c1e-4a7d-4f3b-9d8e-2c1a5b7e9f00",
"name": "acme.com",
"url": "https://acme.com"
},
"data": [
{
"change_id": 9921045,
"page_id": 48213,
"url": "https://acme.com/services/hydroseeding/",
"path": "/services/hydroseeding/",
"field": "Meta (title)",
"change_type": "edit",
"old_value": "Hydroseeding Services | Acme",
"new_value": "Hydroseeding in Denver, Fast Germination | Acme",
"detected_at": "2026-10-07T04:12:33+00:00",
"impact_band": "notable",
"impact_score": 64
}
]
}
change.detected items have the same fields without impact_band and impact_score. Old and new values are not truncated. outcome.ready items look like this:
{
"page_id": 48213,
"url": "https://acme.com/services/hydroseeding/",
"path": "/services/hydroseeding/",
"horizon_days": 28,
"pre_period": [
"2026-07-17",
"2026-08-13"
],
"post_period": [
"2026-08-14",
"2026-09-10"
],
"lift": {
"clicks": {
"pre_mean": 30.1,
"post_mean": 37.1,
"lift_pct": 23.3,
"improved_beyond_range": true,
"declined_beyond_range": false
},
"impressions": {
"pre_mean": 1172.4,
"post_mean": 1303.9,
"lift_pct": 11.2,
"improved_beyond_range": false,
"declined_beyond_range": false
}
},
"confidence_band": "likely",
"confidence_score": 71,
"explanation": [
"Intervention signal 0.82 across 4 edits.",
"Clicks rose 23.3% above the expected range."
]
}
| Header | Value |
|---|---|
X-PagePulse-Event | The event name |
X-PagePulse-Timestamp | Unix time in seconds when the request was signed |
X-PagePulse-Signature | sha256= followed by the hex HMAC-SHA256 of {timestamp}.{raw body}, keyed with your secret |
User-Agent | PagePulse-Webhooks/1.0 |
Verify the signature
Compute the HMAC over the raw request body exactly as received, not over re-serialized JSON. Compare in constant time, and reject timestamps more than a few minutes old to block replays.
import crypto from "node:crypto";
import express from "express";
const app = express();
const SECRET = process.env.PAGEPULSE_WEBHOOK_SECRET;
app.post("/pagepulse", express.raw({ type: "application/json" }), (req, res) => {
const timestamp = req.get("X-PagePulse-Timestamp") ?? "";
const signature = req.get("X-PagePulse-Signature") ?? "";
const expected = "sha256=" + crypto
.createHmac("sha256", SECRET)
.update(`${timestamp}.${req.body.toString("utf8")}`)
.digest("hex");
const fresh = Math.abs(Date.now() / 1000 - Number(timestamp)) < 300;
const valid = signature.length === expected.length &&
crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
if (!fresh || !valid) return res.sendStatus(401);
const event = JSON.parse(req.body);
// Queue event.data for processing, then answer quickly.
res.sendStatus(204);
});
import hashlib
import hmac
import os
import time
from flask import Flask, abort, request
app = Flask(__name__)
SECRET = os.environ["PAGEPULSE_WEBHOOK_SECRET"].encode()
@app.post("/pagepulse")
def pagepulse():
timestamp = request.headers.get("X-PagePulse-Timestamp", "")
signature = request.headers.get("X-PagePulse-Signature", "")
raw = request.get_data() # raw bytes, before any JSON parsing
expected = "sha256=" + hmac.new(
SECRET, timestamp.encode() + b"." + raw, hashlib.sha256
).hexdigest()
if not timestamp.isdigit() or abs(time.time() - int(timestamp)) > 300:
abort(401)
if not hmac.compare_digest(signature, expected):
abort(401)
event = request.get_json()
# Queue event["data"] for processing, then answer quickly.
return "", 204
<?php
$secret = getenv('PAGEPULSE_WEBHOOK_SECRET');
$timestamp = $_SERVER['HTTP_X_PAGEPULSE_TIMESTAMP'] ?? '';
$signature = $_SERVER['HTTP_X_PAGEPULSE_SIGNATURE'] ?? '';
$raw = file_get_contents('php://input');
$expected = 'sha256=' . hash_hmac('sha256', $timestamp . '.' . $raw, $secret);
if (! ctype_digit($timestamp) || abs(time() - (int) $timestamp) > 300
|| ! hash_equals($expected, $signature)) {
http_response_code(401);
exit;
}
$event = json_decode($raw, true);
// Queue $event['data'] for processing, then answer quickly.
http_response_code(204);
In Laravel, read the body with $request->getContent() and the header with $request->header('X-PagePulse-Signature').
Delivery and retries
- Schedule. Deliveries go out hourly, and again right after the daily impact scoring run. Expect events within about an hour of becoming available.
- Success is any
2xxwithin 10 seconds. Answer fast and do the work in a queue. - At least once. A failed request (non-2xx, timeout, connection error) stops that run, and the batch plus everything after it is retried next run, in order. De-duplicate
change.detectedandchange.notablebychange_id, andoutcome.readybypage_id+post_period[0]+horizon_days. The envelopeidis new on every attempt. - Retry window. Each run looks back 72 hours. An item still undelivered after 72 hours is dropped.
- Automatic switch-off. After 24 failed runs in a row (about a day) the endpoint is disabled and
disabled_atis set. Fix your server, then turn it back on. Re-enabling resets the counter, and undelivered items from the last 72 hours go out on the next run.
curl -X PATCH https://app.pagepulse.dev/api/v1/webhooks/$WEBHOOK \
-H "Authorization: Bearer $PP_TOKEN" -H "Accept: application/json" \
-H "Content-Type: application/json" -d '{"enabled": true}'
MCP
The same token works with the Page Pulse MCP server at https://app.pagepulse.dev/mcp. Connect it to Claude, ChatGPT or any MCP client and ask questions in plain language, like "why did the hydroseeding page drop last month?". Most REST project endpoints run the same tool as MCP, so the data, permissions and prices match. PATCH /projects/{project} and the AI change summary are REST only. Actions, the ranked to-do list, are MCP only and only for sites on a plan. Use REST for scheduled jobs and integrations, MCP for questions. MCP reads are free on every plan and on pay as you go; live checks and discovery through MCP cost the same as through REST. MCP setup guide.
Errors
| Status | Meaning |
|---|---|
200 / 201 | Success. Some 201 responses return an existing resource; check status (already_tracked, already_existed) |
401 | Missing, invalid or revoked token |
402 | The balance is empty. Live checks on a site billed per check, and discovery on a pay-as-you-go-only account, are refused |
404 | Project, page, alert or webhook not found, or it belongs to another organization |
422 | Validation failed, or the request was understood but refused (too many URLs, demo project, unknown band, Slack not connected, plan page limit reached) |
429 | Rate limit exceeded. Wait for Retry-After seconds |
502 | Only from POST /webhooks/{webhook}/test: your endpoint didn't return a 2xx |
error messages are written to be read: they say what was wrong and what to change. Limits that return 422: up to 200 URLs per create, add or remove call; adding pages beyond your plan's allowance; changing the demo project (is_demo: true); threshold alerts on a project without traffic data; Slack delivery without a connected workspace; more than 20 email recipients on an alert.
API reference
Every endpoint, parameter and payload, generated from the OpenAPI 3.1 spec. Download openapi.yaml.
Ready to make your first call?
Sign up with $2 free credit, no card needed. Create a token under Settings → API & MCP and you're set.
$1 per 1,000 page checks · Reads and webhooks free