Short URL Parcel
we wrap your URL small
[image]

Short URL Parcel - API


Dispatch rules


Most of our customers are machines. Machines are welcome. Please keep to the following procedure.

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.

Return to the front counter



© Short URL Parcel. All consignments handled with reasonable care.
Best viewed at 800x600 in a browser of your choosing. Parcels not insured.