Documentation

Destinations API

The Destinations API allows you to input a domain and receive the 10 leading sites that receive direct clicks from the domain in either XML or JSON.

Metrics

Outgoing Sites - Returns the 10 leading sites that recieve direct clicks from a given domain.

Endpoints

Destinations API endpoint : leadingdestinationsites

JSON Endpoint Lookup

http://api.similarweb.com/Site/{domain}/v2/leadingdestinationsites?Format=JSON&UserKey={UserKey}

XML Endpoint Lookup

http://api.similarweb.com/Site/{domain}/v2/leadingdestinationsites?Format=XML&UserKey={UserKey}

Parameters

Params Description
Domain Enter your target domain including only the top-level and second-level names, ie: "google.com"
UserKey Enter the user key sent to you by email. You can also find your user key in the API dashboard.

One request to this API is worth 3 hits

Please note that sending one request to the Leading Referring API results in 3 hits being counted against your total number of monthly hits.

Example: Destinations API input for "google.com"

{
 "http://api.similarweb.com/Site/google.com/v2/leadingdestinationsites?Format=JSON&UserKey=[USERKEY]"
}

Example: Destinations API output in JSON for "google.com"

{
	//The 10 leading destination sites
	Sites: [
	"youtube.com",
	"facebook.com",
	"wikipedia.org",
	"yahoo.com",
	"googleusercontent.com",
	"pornhub.com",
	"amazon.com",
	"google.com.br",
	"imdb.com",
	"orkut.com"
	],
	
	//Time period for which the data
	//was gathered
	StartDate: "12/2012",
	EndDate: "02/2013"
}