API Documentation

Integrate y.hn into your applications with our REST API.

Base URL: https://y.hnJSON 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.

Header
Authorization: Bearer YOUR_API_KEY

Get your API key from the Settings page.

Rate Limits

PlanLinksAPI Requests
Free50/month
Pro1,000/month1,000 req/month
BusinessUnlimitedUnlimited

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.