Skip to main content
GET
/
{brand_id}
/
sitemap
/
pages
/
{page_id}
/
metrics
Get Sitemap Page Metrics
curl --request GET \
  --url https://api.scrunchai.com/v1/{brand_id}/sitemap/pages/{page_id}/metrics \
  --header 'Authorization: Bearer <token>'
{
  "granularity": "daily",
  "metrics": {
    "citations": [
      {
        "date": "<string>",
        "count_by_platform": {}
      }
    ],
    "ai_referrals": [
      {
        "date": "<string>",
        "count_by_platform": {}
      }
    ],
    "agent_traffic": [
      {
        "date": "<string>",
        "count_by_platform": {}
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.scrunch.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

brand_id
integer
required

The unique identifier for the brand.

page_id
integer
required

The unique identifier for the page.

Query Parameters

start_date
string<date> | null

Start date (YYYY-MM-DD). Defaults to 30 days ago.

end_date
string<date> | null

End date (YYYY-MM-DD). Defaults to today.

Response

Successful Response

granularity
enum<string>
required

Time-series granularity: daily or weekly.

Available options:
daily,
weekly
metrics
SitemapUrlMetrics · object
required