API Documentation

Integrate ShortURL into your applications with our REST API.

Authentication

All API requests require authentication using an API key. Include your API key in the request header:

X-API-Key: your_api_key_here

To get your API key:

  1. Log in to your account
  2. Go to Settings → API
  3. Click "Generate API Key"

Note: Keep your API key secret. Do not share it in public repositories or client-side code.

Rate Limits

API requests are rate-limited based on your plan:

Plan Requests/Hour
Free100
Starter500
Professional2,000
Business10,000
EnterpriseUnlimited

Base URL

https://quklnk.com/api/v1

Analytics

GET /analytics/{link_id}

Get analytics for a specific link.

Query Parameters

daysNumber of days (default: 30, max: 365)
GET /analytics

Get account-wide analytics summary.

Account

GET /account

Get your account information, plan details, and usage statistics.

Error Handling

The API returns standard HTTP status codes:

Code Description
200Success
201Created
400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
403Forbidden - Plan limit exceeded
404Not Found
429Too Many Requests - Rate limit exceeded
500Server Error

Support Chat

We're online! Reply within minutes We're currently offline

Hi! How can we help you today?

We're offline right now

Message Sent!

We'll get back to you at your email as soon as possible.

Connecting...