Full Page Script

If you want to convert each and every link on your website to shareus.io link then integrate this in your site.

Settings

Bulk Link Shortner

Easiest and fastest way to short multiple links using shareus bulk link shortner in just 1 click.

Settings

Link Shortner API

Use our api in your choice of apps and websites to quickly short links and make money .

Settings

Direct Link

Copy paste a single url to directly convert any link to shareus short link. Most convinient way to short a link.

Settings

Shareus Bot

A easy way to shorten links outside the ShareUs.io dashboard using telegram. Register your bot once then just forward your long links.

Join Bot

Generate your full page script

If you want to convert each and every link on your website to shareus.io link then integrate this in your site.

Select domains to :

Include: Use this option to short all the links from below domains.

Domains

Add each domain into a new line. Add any type of domains.


              
Your Shareus API Token

We are providing publishers with a simple and powerful API. Users can get the response in both text and JSON.

The API is simple to use just send a GET request to the following endpoint with your "Shareus API Token" and the link you want to short.

https://api.shareus.in/shortLink?token=
api_token
&link=mylink.com
The above method sends response in text format. If you want to receive the response in JSON format just append ?format=json like below.
https://api.shareus.in/shortLink?token=
api_token
&format=json&link=mylink.com
You will receive JSON response like below
{"status":"success","shortlink":"https://shareus.in/?i=fhow79"}
JS Implementation

         const token = "YOUR_SHAREUS_API_TOKEN" 
         const link = "LINK_TO_SHORTEN"
         const http = new XMLHttpRequest()
         http.open("GET", `https://api.shareus.in/shortLink?token=${uid}&link=${link}`)
         http.send()
         http.onload = () =>{ 
         console.log(http.responseText)             
                      }
                
Php Implementation

      $shareus_token = "YOUR_SHAREUS_API_TOKEN"; 
      $link_to_short = "LINK_TO_SHORTEN";
      $shareus_response = file_get_contente("https://api.shareus.in/shortLink?token={$shareus_token}&link={$link_to_short}")