Integrate Gcut URL Shortener into your applications using our RESTful API
Shorten a long URL into a short link. Returns the shortened URL with analytics data.
| Parameter | Type | Required | Description |
|---|---|---|---|
url |
string | Yes | The long URL to be shortened |
custom_code |
string | No | Custom short code (alphanumeric, 3-20 characters) |
expires_at |
string | No | Expiration date (ISO 8601 format, e.g., "2024-12-31T23:59:59Z") |
Get analytics and statistics for a shortened URL including click counts, location data, and device information.
| Parameter | Type | Required | Description |
|---|---|---|---|
short_code |
string | Yes | The short code in the URL path (e.g., "GW01") |
Get a list of all your shortened URLs with pagination support.
| Parameter | Type | Required | Description |
|---|---|---|---|
page |
integer | No | Page number (default: 1) |
limit |
integer | No | Items per page (default: 10, max: 100) |
status |
string | No | Filter by status: "active", "inactive", "expired" |
All API requests require authentication using your API key. Include your API key in the request headers using the Bearer token format.
API requests are rate-limited to ensure fair usage. Current limits are:
| Plan | Requests per Minute | Requests per Day |
|---|---|---|
| Free | 10 | 1,000 |
| Premium | 100 | 100,000 |
| Enterprise | Unlimited | Unlimited |