Semrush Scraper

ENDPOINTS
GET/domains/traffic

Domain Traffic

Monthly visits, pages per visit, visit duration, bounce rate and a 6-month desktop vs mobile history.

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",
  "traffic": {
    "date": "2026-09-01",
    "visits": {
      "value": 713637978,
      "change_percent": 26.18
    },
    "pages_per_visit": {
      "value": 2.05,
      "change_percent": null
    },
    "average_visit_duration_seconds": {
      "value": 375,
      "change_percent": null
    },
    "bounce_rate_percent": {
      "value": 67.97,
      "change_percent": null
    },
    "visits_history": [
      {
        "date": "2026-09-01",
        "visits": 713637978
      },
      {
        "date": "2026-08-01",
        "visits": 565585964
      },
      {
        "date": "2026-07-01",
        "visits": 542685661
      }
    ]
  },
  "traffic_by_device": {
    "date": "2026-09-01",
    "desktop_visits": 457704240,
    "mobile_visits": 255933738,
    "desktop_share_percent": 64.14,
    "mobile_share_percent": 35.86,
    "history": [
      {
        "date": "2026-09-01",
        "visits": 713637978,
        "desktop_visits": 457704240,
        "mobile_visits": 255933738
      },
      {
        "date": "2026-08-01",
        "visits": 565585964,
        "desktop_visits": 325120963,
        "mobile_visits": 240465001
      },
      {
        "date": "2026-07-01",
        "visits": 542685661,
        "desktop_visits": 303496722,
        "mobile_visits": 239188939
      },
      {
        "date": "2026-06-01",
        "visits": 508002719,
        "desktop_visits": 264332650,
        "mobile_visits": 243670069
      },
      {
        "date": "2026-05-01",
        "visits": 561019484,
        "desktop_visits": 301722930,
        "mobile_visits": 259296554
      },
      {
        "date": "2026-04-01",
        "visits": 458313718,
        "desktop_visits": 228522958,
        "mobile_visits": 229790760
      }
    ]
  }
}