Discover the story behind every link with sen.ac. Clicks, devices, countries — all at your fingertips.
Try it now
Managing your links has never been easier
Create short links in seconds.
Device, country and click reports.
Free quota for new members.
Expired links are automatically deactivated.
No setup, no technical knowledge required
Create a free account with your email. 500 link quota is activated instantly.
Paste your long URL and get a unique sen.ac link.
See clicks, devices and countries in real time.
Link ID + 8-character unique code · Each link valid for 1 month
Use the sen.ac API to shorten links directly from your own applications.
https://sen.ac/api/v1/shorten.php
api_key
Required
API anahtarınız / Your API key
url
Required
Kısaltılacak URL / URL to shorten
title
Optional
Link başlığı / Link title
To get an API key, visit your profile page.
<?php // linkes.php — bir kez tanımla, her sayfada kullan define('SENAC_API_KEY', 'sk_sizin_anahtariniz'); function senac_shorten(string $url, string $title = ''): ?string { // 30 günlük cache $cache = sys_get_temp_dir() . '/senac_' . md5($url) . '.txt'; if (file_exists($cache) && filemtime($cache) > time() - 86400 * 30) return file_get_contents($cache); $ch = curl_init('https://sen.ac/api/v1/shorten.php'); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_POSTFIELDS => http_build_query([ 'api_key' => SENAC_API_KEY, 'url' => $url, 'title' => $title, ]), CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 10, CURLOPT_SSL_VERIFYPEER => false, ]); $res = curl_exec($ch); curl_close($ch); if (!$res) return null; $data = json_decode($res, true); if (empty($data['success'])) return null; file_put_contents($cache, $data['short_url']); return $data['short_url']; } function senac_current_url(string $title = ''): ?string { $p = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http'; return senac_shorten($p . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], $title); } // Kullanım (çağırdığınız sayfada) require_once __DIR__ . '/linkes.php'; echo senac_current_url('Sayfa Başlığı'); // https://sen.ac/?r=47-aB3nQrTx
500 link quota, detailed analytics and API access await you.