Semrush Scraper

ENDPOINTS
GET/domains/traffic-by-country

Traffic by Country

Top countries sending visits to a domain, with share and desktop vs mobile split.

QUERY PARAMS

Root domain, any link to the site, or a semrush.com/website link. Subdomains and low-traffic sites have no data.

Examples:

  • Domain: openai.com
  • Site link: https://www.openai.com/research
  • Semrush link: https://www.semrush.com/website/openai.com/overview/
{
  "domain": "openai.com",
  "brand_name": null,
  "link": "https://www.semrush.com/website/openai.com/overview/",
  "favicon": null,
  "description": null,
  "country": "BD",
  "categories": [
    {
      "slug": "ai",
      "name": "AI"
    },
    {
      "slug": "computer-software-and-development",
      "name": "Computer Software and Development"
    },
    {
      "slug": "wellness",
      "name": "Wellness"
    }
  ],
  "rank": {
    "global": {
      "value": 51,
      "change": 1
    },
    "country": {
      "value": 22,
      "change": 1,
      "country": "BD",
      "name": "Bangladesh"
    },
    "category": {
      "value": 1,
      "change": 0,
      "category": {
        "slug": "wellness",
        "name": "Wellness"
      }
    }
  },
  "authority_score": 96,
  "visits": 713637978,
  "site_health": null,
  "data_date": "2026-09-15",
  "updated_at": "2026-10-11",
  "date": "2026-09-01",
  "countries": [
    {
      "country": "BD",
      "name": "Bangladesh",
      "visits": 143209329,
      "share_percent": 20.07,
      "desktop_share_percent": 98.97,
      "mobile_share_percent": 1.03
    },
    {
      "country": "US",
      "name": "United States",
      "visits": 90027784,
      "share_percent": 12.62,
      "desktop_share_percent": 62.25,
      "mobile_share_percent": 37.75
    },
    {
      "country": "IN",
      "name": "India",
      "visits": 40429762,
      "share_percent": 5.67,
      "desktop_share_percent": 46.04,
      "mobile_share_percent": 53.96
    },
    {
      "country": "BR",
      "name": "Brazil",
      "visits": 31560642,
      "share_percent": 4.42,
      "desktop_share_percent": 55.28,
      "mobile_share_percent": 44.72
    },
    {
      "country": "KR",
      "name": "South Korea",
      "visits": 30491539,
      "share_percent": 4.27,
      "desktop_share_percent": 22.14,
      "mobile_share_percent": 77.86
    }
  ]
}