Documentation

Audience Interests

The Audience Interests API allows you to input a domain and receive a list of additional websites that were frequently visited by the same visitors of the given domain, along with their affinity score in either XML or JSON.

Parameters

Params Description
Domain Enter your target domain including only the top-level and second-level names, ie: "cnn.com", "edition.cnn.com"
Start Month (start_date) Start Month (YYYY-MM)
End Month (end_date) End Month (YYYY-MM)
Main Domain (main_domain_only) True /False
True returns data for main domain only
False returns data for subdomains as well.
UserKey (api_key) Enter your unique API Key

One request to this API is worth 3 hits

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

Example: Audience Interests API input for "cnn.com"

{
https://api.similarweb.com/v1/website/cnn.com/audience-interests/also-visited?api_key={UserKey}&start_date=2016-05&end_date=2016-06&main_domain_only=false
}

Example: Audience Interests API output in JSON for "cnn.com"

-
{
records": [

    {
        "affinity": 0.0089789380725585934,
        "domain": "foxnews.com"
    },
    {
        "affinity": 0.0063504485012446455,
        "domain": "bbc.com"
    },
    {
        "affinity": 0.0053381683295174332,
        "domain": "espn.go.com"
    },
    {
        "affinity": 0.00431954024467482,
        "domain": "nbcnews.com"
    },
    {
        "affinity": 0.0038641637897835314,
        "domain": "huffingtonpost.com"
    },
    {
        "affinity": 0.0036564861063086464,
        "domain": "usatoday.com"
    },
    ....