Kutti Public API
Create, pause, expire, update, and analyze short links programmatically. Base URL: https://kutti.link/api/v1
Generate named API keys (kutti_live_...) from Dashboard → Settings. Keys are shown once at creation and stored as SHA-256 hashes.
Limits apply per account across all keys. Sustained 429 violations (≥250 blocks in 5m) trigger an automatic 15–60 minute cooldown.
Plan Quotas & Rate Limits
| Plan | Burst (10s) | Sustained / min | Writes / min | New Links / hr | Daily Quota |
|---|---|---|---|---|---|
| Kutti Free | API disabled (`403 PLAN_REQUIRED`) | ||||
| Kutti Plus | 15 | 30 | 15 | 100 | 3,000 |
| Kutti Pro | 40 | 150 | 50 | 400 | 15,000 |
Responses include X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-DailyQuota-Remaining. Request bodies above 16 KB return 413 PAYLOAD_TOO_LARGE.
Endpoints
/api/v1/linksCreate a new shortened link (supports optional custom slug, expiresAt ISO date, and Idempotency-Key header).
curl -X POST https://kutti.link/api/v1/links \
-H "Authorization: Bearer kutti_live_your_key" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: release-v2-post" \
-d '{
"url": "https://adithyan.co",
"name": "Personal Site",
"shortUrl": "adi"
}'/api/v1/linksList your links with pagination (`limit <= 100`), search query, and `activeOnly` filter.
curl "https://kutti.link/api/v1/links?page=1&limit=20" \
-H "Authorization: Bearer kutti_live_your_key"/api/v1/links/{id}Fetch, update destination/slug/isActive/expiresAt, or soft-delete a link owned by your account.
/api/v1/links/{id}/analyticsRetrieve time-series visits and browser/OS/device/country/referrer breakdowns (`days=7|30|90`).
curl "https://kutti.link/api/v1/links/clx123abc/analytics?days=30" \
-H "Authorization: Bearer kutti_live_your_key"/api/v1/meInspect current user tier, link usage, active API keys count, and remaining daily quota.
Error Envelope
All errors return { error: { code, message, details? } }:
- 401 UNAUTHORIZED — invalid or revoked key
- 403 PLAN_REQUIRED — paid tier required
- 409 SLUG_CONFLICT — shortUrl already taken
- 410 ENDPOINT_DEPRECATED — legacy `/api/kutti/shorten`
- 413 PAYLOAD_TOO_LARGE — body exceeds 16 KB
- 429 ABUSE_COOLDOWN — repeated limit flood block
