API Documentation
Integrate y.hn into your applications with our REST API.
Authentication
All API requests require a Bearer token. Get your API key from Settings → API Keys.
All API requests require a Bearer token in the Authorization header. API access is available on Pro and Business plans.
Authorization: Bearer YOUR_API_KEYGet your API key from the Settings page.
Rate Limits
| Plan | Links | API Requests |
|---|---|---|
| Free | 50/month | — |
| Pro | 1,000/month | 1,000 req/month |
| Business | Unlimited | Unlimited |
Links
Create, read, update, and delete short links.
Analytics
Retrieve click analytics and statistics for your links.
Folders
Organize your links into folders.
Bulk Operations
Create, update, or delete multiple links at once.
QR Codes
Generate QR codes for your short links.
Webhooks
Receive real-time notifications when events occur.
Bio Pages
Manage bio link pages.
Browser Extension
The y.hn Chrome extension lets you shorten URLs with one click. Install it from the Chrome Web Store or load it in developer mode. Configure your API key in the extension settings to get started.