Create a new shortened URL with optional customization including password protection, expiration, click limits, and bot blocking.
Authentication: Optional (higher rate limits when authenticated)
API Key: Optional (if used, requires shorten:create or admin:all scope)
Rate Limits:
Consequences of Anonymous Usage:
API key in format: spoo_
The original URL to shorten. Must start with http:// or https://
2048"https://example.com/very/long/url"
Custom short code/alias for the URL. Alphanumeric, hyphens, and underscores only. Auto-generated if not provided. Auto truncated to 16 characters if longer.
3 - 16"mylink"
Password to protect the shortened URL. Minimum 8 characters long, must contain a letter and a number and a special character either '@' or '.' and cannot be consecutive
8"secure123"
Maximum number of clicks allowed. URL becomes inactive after limit reached.
x >= 1100
Expiration timestamp (Unix epoch seconds). Must be in the future.
1735689600
Block known bot user agents from accessing the URL.
true
Make statistics private (only owner can view). Requires authentication.
false
URL successfully shortened
"mylink"
"https://spoo.me/mylink"
"https://example.com/very/long/url"
User ID if authenticated, null otherwise
"507f1f77bcf86cd799439011"
Unix timestamp
1704067200
ACTIVE, INACTIVE "ACTIVE"
false