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

RESTful JSON API
API key authentication
Create, read, update, delete links
Full analytics via API
Webhook notifications
Rate limiting with generous quotas
Comprehensive documentation
SDKs for popular languages

Ready to get started?

Join thousands of users who trust y.hn for the shortest, most trackable links.

View API Docs