Skip to content
Start in Cloud

Shared hits

GET
/api/share/{token}/sites/{id}/hits
curl --request GET \
--url 'https://hitkeep.com/api/share/example/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/hits?order=asc'

Returns paginated raw hits through share token.

token
required
string
id
required
string format: uuid
from
string format: date-time
to
string format: date-time
limit
integer
>= 1 <= 100
offset
integer
q
string
sort
string
order
string
Allowed values: asc desc
filter
string

Filter in form type:value (repeatable). Supported types: path, hostname, referrer, referrer_host, device, country, browser, language, utm_campaign, utm_content, utm_medium, utm_source, utm_term.

filter_type
string
filter_value
string

Paginated hits

Media type application/json
object
data
Array<object>
object
country_code
string
hostname
string
id
string format: uuid
is_unique
boolean
language
string
page_id
string format: uuid
path
string
referrer
string
screen_height
integer
screen_width
integer
session_id
string format: uuid
site_id
string format: uuid
timestamp
string format: date-time
user_agent
string
utm_campaign
string
utm_content
string
utm_medium
string
utm_source
string
utm_term
string
viewport_height
integer
viewport_width
integer
total
integer
Example generated
{
"data": [
{
"country_code": "example",
"hostname": "example",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"is_unique": true,
"language": "example",
"page_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"path": "example",
"referrer": "example",
"screen_height": 1,
"screen_width": 1,
"session_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"site_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"timestamp": "2026-04-15T12:00:00Z",
"user_agent": "example",
"utm_campaign": "example",
"utm_content": "example",
"utm_medium": "example",
"utm_source": "example",
"utm_term": "example",
"viewport_height": 1,
"viewport_width": 1
}
],
"total": 1
}