v1

latestOpenAPI 3.1.02026-07-2414103.5 MB

Traffic Sources by Marketing Channel - Mobile Web

Returns the estimated mobile visits by channel: Organic Search, Paid Search, Direct, Display Ads, E-Mail, Referrals and Social.

get/{domain_name}/mobile-traffic-sources/mobile-overview-share

Path parameters

domain_namestring required

Enter website of interest, without 'www.' or brackets {}.

Query parameters

api_keystring required

Your Similarweb API key.

start_datestring required

Start month (format: YYYY-MM)

end_datestring required

End month (format: YYYY-MM)

countrystring required

Country filter, as a 2-letter ISO country code, or "world" for worldwide. To see the country filters you have access to, please refer to the Check Capabilities endpoint.

granularitystring required

This endpoint only supports monthly currently.

main_domain_onlystring

[optional] Return values for the main domain only ('true'), or include also the subdomains ('false').

fomatstring

[optional] Format in which the reply should be returned. Possible values: 'json' (default) or 'xml'.

Response

200

Example response

{
  "meta": {
    "request": {
      "granularity": "Monthly",
      "format": "json",
      "domain": "cnn.com",
      "start_date": "2023-01-01",
      "end_date": "2023-03-31",
      "country": "us"
    },
    "status": "Success",
    "last_updated": "2023-05-31"
  },
  "visits": {
    "cnn.com": [
      {
        "source_type": "Display Ads",
        "visits": [
          {
            "date": "2023-01-01",
            "visits": 75079.67386741715
          }
        ]
      }
    ]
  }
}