API Method: links.bydest


  1 year, 1 month ago by Admin

Please see the API Overview for general information on making an API call and processing the response



This method allows you to retrieve all of the links that point to a specific destination URL. You can do this to perform a "reverse lookup" on your account links. You will also receive some basic statistics about the returned links.


Parameters

Parameter Name Possible Values Description Required?
apikey

32 character Hex String

Your account api key , found here.

Yes
dest

The url encoded value of the destination URL you wish to search for.

The desired destination url, ex: http://www.google.com/
.

Yes

Example

In this example we are accessing the /links/bydest method to search for all links in my account which have a destination url of "http://google.com"

Request:
https://api.taveo.net/1/links/bydest?apikey=0F0F0F0F0F0F0F0F0F0F0&dest=http%3A%2F%2Fwww.google.com%2F
Response:
{  
   "status":"ok",
   "count":1,
   "links":[  
      {  
         "comment":"",
         "lastclickhuman":"Never",
         "url":"http://tav.so/SppR6",
         "clicks":0,
         "id":480,
         "state":"Enabled",
         "lastclicksec":81591229.202137,
         "createdsec":42367486.379112,
         "createdhuman":"1 year, 4 months ago"
      }
   ],
   "msg":"Success"
}











Can't find the answer to your question? Contact our support team