sitemap
Get Sitemap Page Metrics
Return time-series performance metrics for a single page: citations, AI referrals, and AI agent traffic. Each metric is reported as a list of buckets keyed by date, with counts broken down by AI platform.
Granularity is chosen automatically based on the requested date range — short ranges return daily buckets, longer ranges return weekly buckets. Date ranges are capped at 366 days.
get/{brand_id}/sitemap/pages/{page_id}/metrics
Request
- Base URLhttps://api.scrunchai.com/v1
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/scrunch/apis/scrunch-data-api/docs/:brand_id/sitemap/pages/:page_id/metrics/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
brand_idinteger required
The unique identifier for the brand.
page_idinteger required
The unique identifier for the page.
Query parameters
start_datestring date nullable
Start date (YYYY-MM-DD). Defaults to 30 days ago.
end_datestring date nullable
End date (YYYY-MM-DD). Defaults to today.
Response
Successful Response
Changes
No recorded changes to this operation across all 4 revisions of this API.