GET
/
qranalytics
/
hourly-distribution
Hourly Scan Distribution
curl --request GET \
  --url https://connextify.com/api/v1/qranalytics/hourly-distribution \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "hour": 123,
      "scans": 123
    }
  ]
}
Identify peak scan hours of the day. This endpoint provides data on scan volume grouped by hour of the day (0-23) for your QR codes, helping you optimize physical marketing placement.

Query Parameters

qrCodeId
string
Optional. Filter by specific QR Code UUID. If omitted, returns aggregated account-wide stats.
dateRange
string
default:"last_30_days"
Predefined date range: last_hour, last_24_hours, last_7_days, last_30_days, last_year, all_time, custom.
days
integer
Optional. Number of days to look back (default: 30).

Response

success
boolean
Whether the request was successful.
data
array

Request Example

curl -X GET "https://connextify.com/api/v1/qranalytics/hourly-distribution?days=7" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Example

{
  "success": true,
  "data": [
    { "hour": 9, "scans": 45 },
    { "hour": 12, "scans": 110 },
    { "hour": 17, "scans": 85 }
  ]
}