POST
/
stats
/
{shortCode}
curl --request POST \
  --url https://spoo.me/stats/{shortCode} \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data password=Example@12
{
  "_id": "<string>",
  "short_code": "<string>",
  "url": "<string>",
  "total-clicks": 123,
  "total_unique_clicks": 123,
  "creation-date": "2023-12-25",
  "last-click": "2023-11-07T05:31:56Z",
  "last-click-browser": "<string>",
  "last-click-os": "<string>",
  "average_daily_clicks": 123,
  "average_weekly_clicks": 123,
  "average_monthly_clicks": 123,
  "average_redirection_time": 123,
  "max-clicks": 123,
  "password": "<string>",
  "expired": true,
  "block-bots": true,
  "counter": {},
  "unique_counter": {},
  "browser": {},
  "unique_browser": {},
  "os_name": {},
  "unique_os_name": {},
  "country": {},
  "unique_country": {},
  "referrer": {},
  "unique_referrer": {},
  "bots": {}
}

Path Parameters

shortCode
string
required

The short code of the URL. Can represent the short code of both regular and emoji URLs.

Body

application/x-www-form-urlencoded

Response

200
application/json

URL statistics retrieved successfully

The response is of type object.