REST API

Short links with
real analytics.

Create branded short URLs with click tracking, country breakdown, referrer stats, and custom slugs. No cookies, no bloat.

View Docs
<5msRedirect latency
301Permanent redirect
90 daysClick history
Free tier500 links/mo

Features

Everything you need to manage links at scale

Custom slugs
Choose your own short code or let us generate one. Slugs are unique, permanent, and case-insensitive.
Click analytics
Track total clicks, unique visitors, country breakdown, and referrer sources. 90-day rolling history.
Country detection
Geo-lookup on every click. See which countries your links perform best in, with no extra setup.
Referrer tracking
Know which sites and campaigns are driving your clicks. Raw referrer URLs stored per-visit.
REST API
Create, read, update, and delete links programmatically. Full JSON API, no dashboard required.
Per-key rate limits
API keys are scoped to your tier limits. Monitor usage at any time via the /usage endpoint.

Pricing

Start free, scale when you need to

Free
£0
500 links / month
Custom slugs
Click tracking
30-day history
Business
£29/mo
Unlimited links
Everything in Pro
Higher rate limits
Priority support

Quickstart

Create your first short link

Create a short linkcurl
$ curl -X POST "https://shortlinks.dranco.uk/links" \
     -H "x-api-key: YOUR_KEY" \
     -H "Content-Type: application/json" \
     -d '{"url":"https://example.com","slug":"my-link"}'

# Response:
{"short_url":"https://shortlinks.dranco.uk/my-link","slug":"my-link","url":"https://example.com"}

Contribute

Built for developers. Found a bug, have a feature idea, or want to extend the API? Pull requests are welcome.

View on GitHub Report an issue