domain

List of raw clicks

Returns list of latest raw clicks

post/domain/{domainId}/last_clicks

Request

  • Base URL
    https://statistics.short.io/statistics
  • URL
    https://statistics.short.io/statistics/domain/{domainId}/last_clicks
  • Auth
    API key in header Authorization

Path parameters

domainIdinteger required

Domain identifier

Request body

limitnumber

Limit records to receive

endDatestring date

Returns statistics for clicks before given date. Required if period is custom

startDatestring date

Returns statistics for clicks after given date. Required if period is custom

beforeDatestring date

Parameter is used for pagination

afterDatestring date

Parameter is used for pagination

period'custom' | 'today' | 'yesterday' | 'total' | 'week' | 'month' | 'lastmonth' | 'last7' | 'last30'

One of predefined time intervals. Select custom to provide custom dates

tzstring

Timezone name

Response

last click list

ab_pathstring

TBD

browserstring

Visitor browser name

browser_versionstring

Visitor browser version

citystring

Visitor's city

countrystring

Visitor's country

geoname_idstring

Geoname ID of the city

dtstring date required

Date and time of the visit

goal_completedstring

TBD

hoststring

Domain name

humanboolean required

True if user is a human

ipstring

Visitor's IP (for visitors outside of EU). EU visitors have last 2 octets hidden (GDPR)

method'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' required

Request method

osstring

Visitor's OS

pathstring required

Visitor's path

proto'http' | 'https'

Visitor's protocol

refstring

Visitor's full referrer

refhoststring

Visitor's referrer host

uastring

Visitor's user agent

socialstring

Visitor's social network

utm_campaignstring

UTM campaign for the link

stnumber

HTTP status code for the link

utm_sourcestring

TBD

urlstring

Full shart URL

utm_mediumstring

TBD

Example response

{
  "browser": "Chrome",
  "browser_version": "79",
  "city": "Chrome",
  "country": "United States",
  "geoname_id": "5393015",
  "dt": "2019-09-10T12:44:55.000Z",
  "host": "example.link",
  "ip": "::ffff:54.250.253.235",
  "os": "Windows",
  "path": "/abc123",
  "ref": "https://example.com/test",
  "refhost": "example.com",
  "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X)",
  "social": "Facebook",
  "utm_campaign": "new_year",
  "st": 302
}

Changes

No recorded changes to this operation across all 1 revision of this API.