Linkfold KitUsage
ShortenUsageSign in

Linkfold Kit - API

Everything this instance does. Free, no sign-up, no API key.

Linkfold Kit: a free URL shortener. No sign-up and no API token.

Make a link. The answer is JSON and the short link is in "shorturl":

    https://www.linkfoldkit.com/api/create?link=https://example.com/a/long/address

From a shell:

    curl -G https://www.linkfoldkit.com/api/create --data-urlencode 'link=https://example.com/page?a=1&b=2'
    curl https://www.linkfoldkit.com/api/create -d 'link=https://example.com/a/long/address'

Pick the short name yourself, 1 to 64 letters, digits, - or _:

    https://www.linkfoldkit.com/api/create?slug=my-name&link=https://example.com/a/long/address

As one line of text:

    https://www.linkfoldkit.com/api/create?format=text&link=https://example.com/a/long/address

Follow a link, or see where it leads without going there:

    https://www.linkfoldkit.com/s/<code>         redirects
    https://www.linkfoldkit.com/s/<code>+        the address as text
    https://www.linkfoldkit.com/s/<code>.json    the address and when the link was made

Put link last, or percent-encode it: an address written out as it is
runs to the end of the line, with its own ? and & in it.

The same address gives the same short link every time, unless you name
it yourself. A name that is taken answers 409. Links do not expire.