Skip to main content

Quickstart

Make a short link in the app first. Then make one with the API.

In the app​

  1. Sign in at linklane.io.
  2. Open Links. Paste your long URL into Paste a long URL… and click Create.
  3. Your short link is at the top of the list. Copy it and share it.
  4. To choose the ending yourself (for example /launch), click Options (the + button on phones) instead of Create. Fill in Alias (optional) and click Open lane.

Open the link's analytics to see each click: when, from where, and on which device.

Free plan

Free includes 50 new links and 1,000 tracked clicks each month. See Plans and limits.

With the API​

You need an API key, which comes with Pro and above. Create one on the API Keys page in the app, then store it in an environment variable:

export LINKLANE_API_KEY="ll_live_..."

Create a link:

curl -X POST https://api.linklane.io/api/links \
-H "Authorization: Bearer $LINKLANE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/very/long/path", "custom_alias": "launch"}'
Response · 200 OK (trimmed)
{
"id": "6f1c2b9e-1d4a-4c39-9a51-0c7e8b2d4f10",
"code": "launch",
"url": "https://example.com/very/long/path",
"short_url": "https://lny.me/launch",
"clicks": 0,
"created_at": "2026-11-30T10:00:00+00:00"
}

If the alias is taken, you get 409. Pick another or leave custom_alias out to get a random code.

Then read its clicks:

curl "https://api.linklane.io/api/links/6f1c2b9e-1d4a-4c39-9a51-0c7e8b2d4f10/analytics?days=7" \
-H "Authorization: Bearer $LINKLANE_API_KEY"

Next​