Help for programmers
PLEASE READ: This site writes down everything. Every link you shorten and every time anybody clicks a short link is saved, along with your internet address (IP), about where you are, your internet company, your browser, and a "fingerprint" of your connection. It is kept forever. This site is run for research about internet use. Short links are public. Don't put private stuff in them. If you use this site, you agree to all this. Please read this
Free short links for random stuff. Paste a long URL, get a short one. No account, no ads, no nonsense.
Website address: https://qwerasdf9871.com
You do not need to sign up. There is no password and no key. There is no limit on how much you use it. Other websites are allowed to use it too.
For the computer-readable version, see the openapi.json file. For AI programs, see the llms.txt file.
You can send JSON or a normal form. If there is a problem you get JSON back with result set to "error", plus message and code.
GET /api/short
Make a short link. Send url in the address bar and get JSON back.
url query · required- The long link. It has to be a public http:// or https:// address.
alias query- Your own short name, if you want one. 3 to 64 letters, numbers, dashes or underscores. Big and small letters count. A name can only be used once, ever.
format query- How you want the answer: json (the normal way) or text (just the short link). Default:
"json". Allowed: json, text.
POST /api/short
Make a short link. Send url as a form or JSON and get JSON back.
url body · required- The long link. It has to be a public http:// or https:// address.
alias body- Your own short name, if you want one. 3 to 64 letters, numbers, dashes or underscores. Big and small letters count. A name can only be used once, ever.
format body- How you want the answer: json (the normal way) or text (just the short link). Default:
"json". Allowed: json, text.
GET /q
Make a short link and get just the short link back as plain text.
url query · required- The long link. It has to be a public http:// or https:// address.
alias query- Your own short name, if you want one. 3 to 64 letters, numbers, dashes or underscores. Big and small letters count. A name can only be used once, ever.
format query- How you want the answer: json (the normal way) or text (just the short link). Default:
"json". Allowed: json, text.
POST /q
Make a short link from a form or JSON and get just the short link back as plain text.
url body · required- The long link. It has to be a public http:// or https:// address.
alias body- Your own short name, if you want one. 3 to 64 letters, numbers, dashes or underscores. Big and small letters count. A name can only be used once, ever.
format body- How you want the answer: json (the normal way) or text (just the short link). Default:
"json". Allowed: json, text.
GET /{id}
Open a short link. It sends you on to the long link with a 302 redirect. HEAD works too.
id path · required- The short name of the link: the random one or the one you picked.
GET /api/short/{id}
See where a short link goes without being sent there.
id path · required- The short name of the link: the random one or the one you picked.
GET /docs
The help page for programmers, as a plain HTML page.
GET /robots.txt
Rules for search engine robots, and where the list of pages is.
GET /sitemap.xml
List of the public help pages, for search engines.
GET /health
Says if the site is up. It does not check anything outside the site.
GET /llms.txt
Plain text help for AI programs.