FREE REST API and MCP server

URL shortener
API

One request returns a short link and a QR code. Try it with Bearer public, then get a personal token in your account for real work.

Quick start

First link in a minute

With Bearer public a link is created without an account and without stats. With a personal token it goes to your account.

Get a token

Example

POST /api/v1/link/create

There is one required field: link. The rest is in the docs.

curl -X POST https://lnk.ua/api/v1/link/create \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -F "link=https://example.com/page"

Limits

The API is on Free and PRO, with different limits — see pricing.

MCP

Connect the MCP server to your AI assistant and it will create links in your account.

https://lnk.ua/rest-mcp

FAQ

Free and PRO, with different limits. See pricing.

Not to try it: send Authorization: Bearer public. For real work, create a token in your dashboard so your links get stats.

The response has no result.lnk. The reason is in the response body.

Yes: result.qr (SVG) or /qr/{key}.png (PNG).

Not yet. Stats are in your dashboard.

No, one request makes one link.

Get a token

Get a token