v1

latestOpenAPI 3.1.02026-07-269027.5 KB

Total por URL

Este endpoint retorna estadísticas generales de una URL corta.

get/api/urlshortener/v5/statistics/token/general

Query parameters

urlstring required

Indique la URL corta a eliminar sin https. hab.me/xxxxx

Response

200

responseTimenumber
statusCodeinteger
statusMessagestring
timestampstring

Example response

{
  "payload": {
    "totalViews": 26,
    "totalUniqueViewsByOs": {
      "Windows 10": {
        "others": 2
      },
      "Android 10": {
        "others": 1
      }
    },
    "totalUniqueViewsByLanguage": {
      "es": 3
    },
    "totalUniqueViewsByDevice": {
      "mobile": 1,
      "pc": 2
    },
    "totalUniqueViewsByCity": {
      "SA": {
        "CO": {
          "DC": {
            "Bogotá": 3
          }
        }
      }
    },
    "totalUniqueViewsByBrowser": {
      "Chrome": {
        "133_0_0": 2
      },
      "Chrome Mobile": {
        "133_0_0": 1
      }
    },
    "totalUniqueViews": 3,
    "token": "hm3ZHq3",
    "redirect": {
      "pc": [
        "https://www.hablame.co/pc-01"
      ],
      "mobile": [
        "https://ecare.hablame.co/mobile-01"
      ]
    },
    "domain": "qa.hcol.co",
    "dateLastVisit": "2025-02-25T20:51:32-05:00",
    "dateFirstVisit": "2025-02-25T20:07:56-05:00",
    "createdDate": "2025-02-23T18:29:16-05:00"
  },
  "responseTime": 0.54,
  "statusCode": 200,
  "statusMessage": "successful",
  "timestamp": "2025-02-25T21:29:51-05:00"
}