URL Shortener API — Programmatic Link Shortening
Build link shortening directly into your applications with y.hn's RESTful API. Create short links, set custom slugs, retrieve click analytics, and manage your links programmatically. Our API is simple, fast, and well-documented — most integrations take less than 10 minutes to set up. Use it to automatically shorten links in your CMS, generate trackable links in your email platform, create short URLs in your mobile app, or build custom dashboards with our analytics data. The API supports JSON requests and responses, API key authentication, rate limiting with generous quotas, and webhook notifications for real-time click events. Pro plans include 1,000 API requests per month, while Business plans offer unlimited API access.
Key Features
Ready to get started?
Join thousands of users who trust y.hn for the shortest, most trackable links.
View API DocsExplore More Tools
Free URL Shortener
Shorten any URL for free with y.hn, the world's shortest link shortener. Create clean, memorable short links in seconds with built-in click tracking and analytics.
QR Code Generator for Short Links
Generate QR codes for your short links with y.hn. Create scannable QR codes linked to trackable short URLs — perfect for print, packaging, and offline marketing.
Link Analytics
Track clicks, locations, devices, and referrers for every short link. y.hn provides real-time link analytics to help you understand your audience.
Custom Short URLs
Create custom short URLs with y.hn. Choose your own slug for branded, memorable links like y.hn/myname. Build trust and boost click-through rates.
Bulk URL Shortener
Shorten hundreds of URLs at once with y.hn's bulk URL shortener. Upload a CSV or paste multiple links — get short URLs instantly with full tracking.
UTM Builder + URL Shortener
Build UTM-tagged URLs and shorten them in one step. y.hn's UTM builder helps you track marketing campaigns with clean, short links.