Skip to main content
GET
/
api
/
links
List Links
curl --request GET \
  --url https://api.krumb.fun/api/links \
  --header 'X-Api-Key: <x-api-key>' \
  --header 'X-Email: <x-email>' \
  --header 'X-Password: <x-password>'
{
  "success": true,
  "links": [
    {
      "short_id": "<string>",
      "original_url": "<string>",
      "clicks": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "require_password": true
    }
  ]
}

List Links

GET /api/links Fetch all links created by the authenticated user.

Request

Send credentials in headers:

X-Email: [[email protected]](mailto:[email protected])
X-Password: your\_password
X-Api-Key: your\_api\_key

Success Response

{
  "success": true,
  "links": [
    {
      "short_id": "abc123",
      "original_url": "https://example.com/long/link",
      "clicks": 42,
      "created_at": "2025-08-19T14:32:00.000Z"
    },
    {
      "short_id": "xyz789",
      "original_url": "https://openai.com",
      "clicks": 5,
      "created_at": "2025-08-15T10:20:00.000Z"
    }
  ]
}

Error Responses

  • 400 – Missing required headers
  • 403 – Authentication failed

Headers

X-Email
string
required

Your account email

X-Password
string
required

Your account password

X-Api-Key
string
required

Your API key

Response

List of links retrieved

success
boolean