API - URL Stats


GET /api/url/stats/<hash>


Retrieve statistics of a URL

Returns the click statistics for the url of the supplied hash.


Name Required Description
<hash> Yes Replace <hash> in the URL with your actual unique hash. The hash is the unique identifier for the associated URL. It is usually the 4 or 5 characters at the end of the short URL.

Request Type


What are request types?

Example Response

    data: {
        hash: "1234",
        url: "http://www.example.com/some-long-url-i-want-shortened",
        created: "2014/10/07 18:21:57 +00:00",
        lastClicked: "2014/10/09 11:23:04 +00:00",
        uniqueReferers: 6,
        uniqueVisitors: 49

Error Codes Returned

The following error codes may be returned by this API endpoint.

Error Required Description
ITEM_NOT_FOUND1000URL could no be found for the hash supplied.

For a complete list of error codes, view the error handling documentation.