Home / Docs / Get started

Get started

Create a free account, paste a long URL, get lit.onl/xxxx. Default expiry is never.

lit.onl shortens URLs to https://lit.onl/{slug}. Sign in with Google, Apple, or password. Upgrade for longer click history, API, and MCP (Growth+).

Plans (click history)

Older clicks are dropped, not only hidden.

PlanPriceClick historyAPIMCP
Free$0No overviewNoNo
Core$8 / mo30 daysNoNo
Growth$25 / mo4 monthsYesYes
Premium$179 / mo1 yearYesYes

Free includes 10 links per month and never-expire by default. Core+ adds custom slugs and gates. Growth+ adds CSV, webhooks, API, and MCP. Premium extends click history and limits.

OAuth for API and agents

Growth and Premium get one OAuth client on upgrade (client_id / client_secret shown once). Use client credentials for scripts and MCP. See OAuth 2.0.

First request

TOKEN=$(curl -sS -X POST https://litonl.com/oauth/token \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials&client_id=lit_id_...&client_secret=lit_sec_...&scope=links:write" \
  | jq -r .access_token)

curl -sS -X POST https://litonl.com/v1/links \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/launch","slug":"launch","expires_at":null}'

Interactive reference: API (Scalar). Or connect an AI agent.