GET /sites/s_ab12cd34ef56/broken
Request examples and the documented response.
Back to this endpoint in the API reference
curl
Request
curl "https://api.pagehum.com/v1/sites/s_ab12cd34ef56/broken?range=7" \ -H "Authorization: Bearer $PAGEHUM_API_KEY"
JavaScript
Request
const response = await fetch("https://api.pagehum.com/v1/sites/s_ab12cd34ef56/broken?range=7", {
headers: { Authorization: `Bearer ${process.env.PAGEHUM_API_KEY}` },
});
const { ok, data, error } = await response.json();
if (!ok) throw new Error(error);Response
Response
{
"ok": true,
"data": {
"range": 7,
"hits": 27,
"pageviews": 6130,
"items": [
{
"path": "/old-pricing",
"count": 24,
"share": 0.89,
"status": "ongoing",
"firstSeen": "2026-10-02",
"lastSeen": "2026-10-07",
"daysSeen": 4,
"recent": [
{
"date": "2026-10-07",
"count": 3
}
],
"from": [
{
"path": "/blog/spring-sale",
"count": 19
}
]
}
]
}
}