URL Shortner API Docs

Public endpoint to create a short link. No login required. Rate limiting should be applied at server/app level.

Endpoint

POST https://url.na/api/shorten

Request (JSON)

{
  "url": "https://example.com"
}

Response

{
  "short_url": "https://url.na/aB3x",
  "code": "aB3x",
  "preview_url": "https://url.na/p/aB3x",
  "qr_png": "https://url.na/qr/aB3x.png",
  "qr_svg": "https://url.na/qr/aB3x.svg"
}
Redirect note: The short link https://url.na/aB3x performs a fast 302 redirect and does not load GA/AdSense.