Skip to main content
GET
/
radar
/
operator
/
v1
/
usage
Get tracking script usage
curl --request GET \
  --url https://api.snitcher.com/radar/operator/v1/usage \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "usageCycleFrom": "2023-01-01T00:00:00+00:00",
    "usageCycleTo": "2023-01-31T23:59:59+00:00",
    "eventUsage": 12345,
    "trackingScriptUsages": [
      {
        "trackingScriptId": "12345",
        "eventUsage": 5678
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Query Parameters

date
string<date>

Optional date (Y-m-d) to get usage for the cycle active on that date. If not provided, returns usage for the current cycle.

Example:

"2025-10-15"

Response

Usage data retrieved successfully

success
boolean
Example:

true

data
object