View stats for a drop

Pageview stats for a drop you own. Bots, crawlers and previews in the ship.page dashboard are excluded; views count page loads of HTML pages, not raw asset requests. Free accounts only get the view count (access: locked). Pro (access: pro) adds the last 24 hours and 7 days, a 90-day daily series and top referrers, top pages and top countries. Pass days to narrow the daily series and the breakdowns; total, last_24h and last_7d always cover everything retained. Pageviews are retained for 90 days.

get/drops/{slug}/stats

Request

  • Base URL: https://ship.page
  • URL: https://ship.page/drops/{slug}/stats
  • Auth: HTTP bearer

Path parameters

slugstring required

Query parameters

daysinteger

Pro only. Last N days for the daily series and the breakdowns, clamped to 1..window_days. Defaults to window_days.

Response

Drop stats.

slugstring required
access'locked' | 'pro' required

locked on free accounts, which only get slug and total. pro adds every other field.

totalinteger required

All-time views within the 90-day retention window.

last_24hinteger

Pro only.

last_7dinteger

Pro only.

window_daysinteger

Pro only. History window of the daily series: 90.

daysinteger

Pro only. Days covered by daily and the breakdowns: the requested days, clamped to 1..window_days.

Changes

Changes to this operation have not been checked yet.