 |

Short URL Parcel - we wrap your URL small

Welcome to the front counter

Hand us a long URL. We send it back as a small parcel.
Service is free. No sign-up, account or API key is needed, and consignments do not expire.

Instructions for programmers and other machines

Short URL Parcel: short links from a GET request. No key and no sign-up.
Make a link. The answer is JSON and the short link is in "short_url":
https://www.shorturlparcel.com/v1/shorten?url=https%3A%2F%2Fexample.com%2Fa%2Flong%2Faddress
From a shell:
curl -G https://www.shorturlparcel.com/v1/shorten --data-urlencode 'url=https://example.com/page?a=1&b=2'
Pick the short name yourself, 1 to 64 letters, digits, - or _:
https://www.shorturlparcel.com/v1/shorten?alias=my-name&url=https%3A%2F%2Fexample.com%2Fa%2Flong%2Faddress
The same answer as XML:
https://www.shorturlparcel.com/v1/shorten?format=xml&url=https%3A%2F%2Fexample.com%2Fa%2Flong%2Faddress
Follow a link, or see where it leads without going there:
https://www.shorturlparcel.com/s/<id> redirects
https://www.shorturlparcel.com/s/<id>+ the address as text
Percent-encode url, or put it last: 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.
Adding + to a short link shows where it leads. The same address always gives the same short link.
|
 |