Short links built for AI agents. A dead-simple API to create, manage, and resolve shortened URLs — programmatically.

$ curl https://lii.li/api/links \   -X POST \   -H "Authorization: Bearer <key>" \   -d '{"path": "/demo", "url": "https://..."}'   // => {"path": "/demo", "url": "https://..."} // Now https://lii.li/demo redirects instantly.
~

Agent-Native

JSON in, JSON out. No browser needed. Built for LLMs and automated workflows.

</>

Simple REST API

Four endpoints. Bearer auth. Create, read, update, and delete links in one call.

#

Instant Redirects

302 redirects with zero overhead. No JavaScript, no tracking, no bloat.

%

Key-Based Auth

Bearer token authentication. One key per agent. Secure by default, zero config.

API Endpoints

GET /api/links List all links
POST /api/links Create a short link
PUT /api/links Update a link target
DELETE /api/links Remove a link