Our API allows you to provide short url functionality to any of your existing websites.

Url Only
To generate a url via the API, send a POST or GET request to the site in the following format:

- http://www.xth.me/index.php?api=1&return_url_text=1&longUrl={URL}

This site will then generate the short url and return it as plain text. i.e:

- http://www.xth.me/a1

Generate & Redirect
If you remove the return_url_text param the user will be redirected to the results page on this site instead of just the url text being returned.

Extra Params:
You can also set extra information on each short url, the supported params are:

customUrl => Custom short url.
shortUrlPassword => Password to access the url.
shortUrlExpiryDate => Expiry date in the formay DD-MM-YYYY HH:II:SS.
shortUrlUses => Total permitted uses before expiring.
postToTwitter => Set to 1 to auto redirect to Twitter.

NOTE: Any url requests via the API are subject to our normal spam protection measures and hence there may be limits to the amount of short urls that can be generated in any period.

- You have not created any recent urls. Click here to create one now.

Copyright © 2023 - xth.me | short and share your links | FREE
The full terms and conditions of this site are detailed below:

  1. Users of this website (Users) agree to be bound by these terms and conditions, which are subject to change at the sole discretion of the site. Your use of and access to this site indicate your acceptance of these terms and conditions.
  2. This site was created as a free service to make posting long URLs easier. This service is provided without warranty of any kind. Short URLs used in spam (including email and forum spam) will be disabled.
  3. This site may include third party content which is subject to that third party's terms and conditions of use.
  4. This site may include links to third party sites which are not related to this site and in relation to which we have no control or interest. The appearance of those links on this site does not indicate any relationship between this site and that third party or any endorsement by this site of that third party, its site or the products or services which it is advertising on this site.
  5. We may use third-party advertising companies to serve ads when you visit our Web site. These companies may use information (not including your name, address email address or telephone number) about your visits to this and other Web sites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
  6. This site will have no responsibility or liability in relation to any loss or damage which you incur, including damage to your software or hardware, arising from your use of or access to this site.
  7. Users will not use this site for any purpose or in any way which is unlawful.