X2Y.ME API Help

Now you can send your request throught API URL to automatically set up shortened URLs!

How it works

For example, if you want to get a short URL for the long URL https://bioinforx.com/lims2/product_bxrnaseq.php, simply visit the following web address will return a short URL (e.g., http://x2y.me/nFHt).

http://x2y.me/api.php?url=https://bioinforx.com/lims2/product_bxrnaseq.php

Or, you can add more parameters for have more controls. By setting "return=barcode", you can even get a 2D barcode image.

http://x2y.me/api.php?email=test@gmail.com&password=mypassword&date=2016-12-31&return=barcode&url=https://bioinforx.com/lims2/product_bxrnaseq.php

URL parameters:

  • email: Optional. You need to enter a valid e-mail address if you want to manage your URL list in the future.
  • password: Optional. A password is also needed if you want to manage your URL list in the future.
  • date: Optional. Use this to set up an expiration date for the shorten URL.
  • return: Optional. Define what to return. By default, it will return the shorten URL. If set to "barcode", it will return link to a 2D barcode of the shorten URL, or set to "image" to return the 2D barcode image itself.
  • url: Required. This is the long URL you want to shorten.