GET/api/v6/urlshortener/links

List short links

Your links, newest first, with their click counters. Paginated.

Scope and limits

Scope

API key with the urlshortener service enabled

Usage limit

30 requests per minute

  • Up to 100 items per page.

Lists your short links, newest first, with click counters already consolidated on each item.

Query parameters

page
integeroptional
1-based page number.

Default: 1

perPage
integeroptional
Items per page (max 100).

Default: 20

active
booleanoptional
Filter by active state.
domain
stringoptional
Filter by domain.
search
stringoptional
Substring match on the code or the destination URL (minimum 2 characters).

Responses

200

Page of links.

{
  "success": true,
  "data": {
    "items": [
      {
        "id": 1024,
        "code": "a1b2c3d",
        "domain": "go.acme.co",
        "shortUrl": "https://go.acme.co/a1b2c3d",
        "longUrl": "https://example.com/landing",
        "active": true,
        "expiresAt": null,
        "createdAt": "2026-06-01T15:04:05Z",
        "clicks": 128,
        "uniqueClicks": 96,
        "lastClickAt": "2026-06-01T18:22:10Z"
      }
    ],
    "page": 1,
    "perPage": 20,
    "total": 1,
    "hasMore": false
  },
  "meta": {
    "requestId": "8f0c0e2a4b1d4c8fae2b7a91e0c5d3f6",
    "timestamp": "2026-06-01T18:30:00+00:00",
    "responseTimeMs": 5.1
  }
}
401

Invalid or missing credentials.

429

Request limit exceeded.

Possible errors

Codes this endpoint can return in error.code. The full detail lives in the catalog.

See the full catalog
GET /api/v6/urlshortener/links
curl -X GET 'https://developers.hablame.co/api/v6/urlshortener/links?perPage=20' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer hk_YOUR_API_KEY'

Try-It

Run the request against the real API with your own API key.

The key is used only in your browser for this request. It is not stored nor sent anywhere else.

Parameters

1-based page number.

Items per page (max 100).

Filter by active state.

Filter by domain.

Substring match on the code or the destination URL (minimum 2 characters).

GET https://developers.hablame.co/api/v6/urlshortener/links?perPage=20

Response

You have not sent a request yet.