S.EE Docs
Tham chiếu API

Lấy thống kê truy cập

Trả về dữ liệu truy cập của một URL rút gọn, bao gồm số lượt nhấp, nguồn truy cập và phân bố địa lý.

GET
/api/v1/link/visit-stat

Query Parameters

domain*string

The domain of the short URL (e.g., s.ee)

slug*string

The slug of the short URL (e.g., abc123)

period?string

Statistics time range: daily (today), monthly (this month), or totally (all-time, default)

Header Parameters

Authorization*string

Your API key

Response Body

application/json

curl -X GET "https://s.ee/api/v1/link/visit-stat?domain=string&slug=string" \  -H "Authorization: string"
{
  "code": 0,
  "data": {
    "visit_count": 0
  },
  "message": "string"
}