The ShortU REST API gives developers and businesses full programmatic access to link creation, statistics, and management — straight from any language or platform.
POST a long URL and receive a short link in milliseconds. Supports custom alias codes for branded links (Starter plan).
Submit up to 100 URLs in a single API call using the bulk endpoint — perfect for mass campaigns and import pipelines.
Retrieve total and unique click counts for any link you own. Integrate the data into your own dashboards and reports.
PATCH an existing link to change its destination, title, expiry date or active status — all without leaving your workflow.
Every API request is authenticated with a per-account token sent in the X-API-Token header. Create and revoke tokens from your dashboard.
Free accounts get 6 calls/min. Starter: 30. Pro: 120. Enterprise: 360. Rate limits scale with your plan automatically.
Shorten your first URL in under a minute:
curl -X POST https://stu.cm/api/v1/shorten \
-H "Content-Type: application/json" \
-H "X-API-Token: <your_token>" \
-d '{"long_url": "https://example.com/your/very/long/url"}'
Response:
{
"short_url": "https://stu.cm/AbCdEf",
"long_url": "https://example.com/your/very/long/url",
"code": "AbCdEf"
}
Read the full interactive API reference or generate your token from your dashboard.
Interactive API docs API overview