7 days free, live today on a shared address. Plans from £3.99 a month, own domains from £14 a year. →
HomeHow it worksFeaturesPricingCompareGuides Sign in

API reference

GET /api/v1/stats

Your numbers per page, this window against the last.

#Request

ParameterTypeMeaning
days7, 28 or 90The window. Default 7
pageslugOne page only. Default all pages on the account
curl "https://peekin.bio/api/v1/stats?days=28&page=yourname" \
  -H "Authorization: Bearer pk_live_YOUR_KEY"

#Response

{
  "window": "28d",
  "generated": "2026-09-03T18:00:00.000Z",
  "pages": [{
    "page": "yourname.link",
    "slug": "yourname",
    "name": "Your Name",
    "now":      { "landed": 1119, "tapped": 230, "crossed": 2, "social": 645 },
    "previous": { "landed": 1026, "tapped": 204, "crossed": 1, "social": 590 },
    "countries": [{ "country": "US", "people": 412 }, { "country": "GB", "people": 201 }],
    "links": [{ "label": "Members area", "kind": "paid", "taps": 230, "people": 214 }]
  }]
}
FieldMeaning
now, previousThis window and the one before it, same length
landedPeople who arrived
tappedPeople who tapped the paid link
crossedPeople who passed the 18+ check
socialPeople who tapped a social link
countries[]Two-letter country and people, most first
links[]Each link with its kind, paid or social, taps and distinct people