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/contact_request.php?type=quote&p=BxRNASeq, simply visit the following web address will return a short URL (e.g., https://x2y.me/x0LR).

https://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.

https://x2y.me/api.php?email=test@gmail.com&password=mypassword&return=barcode&url=https://bioinforx.com/lims2/contact_request.php?type=quote&p=BxRNASeq

URL parameters:

  • url: Required. This is the long URL you want to shorten.
  • 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.
  • 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 URL of a 2D barcode image (Google Chart, e.g., http://chart.apis.google.com/chart?chs=75x75&cht=qr&chld=L|0&chl=https%3A%2F%2Fx2y.me%2FE08Y).