Skip to content
☁️ HitKeep Cloud is coming! Join the Early Access waitlist →

Get Raw Hits

GET
/api/sites/{id}/hits

Returns paginated raw hit data.

id
required
string format: uuid
from
string format: date-time
to
string format: date-time
limit
integer
default: 10 <= 100
offset
integer
0
q
string

Search query for path, referrer, or user agent

sort
string
Allowed values: timestamp path referrer
order
string
default: desc
Allowed values: asc desc

Paginated hits

object
data
Array<object>
object
id
string format: uuid
site_id
string format: uuid
session_id
string format: uuid
page_id
string format: uuid
timestamp
string format: date-time
path
string
referrer
string | null
user_agent
string | null
viewport_width
integer | null
viewport_height
integer | null
screen_width
integer | null
screen_height
integer | null
language
string | null
is_unique
boolean | null
total
integer