Similarweb Scraper

ENDPOINTS
GET/websites/compare

Compare Websites

Compare up to 10 websites side by side: visits, 3-month trend, ranks, engagement, top source and top country.

QUERY PARAMS

Comma-separated domains or links, up to 10.

Example: github.com,gitlab.com,bitbucket.org

{
  "websites": [
    {
      "domain": "github.com",
      "link": "https://github.com",
      "similarweb_link": "https://www.similarweb.com/website/github.com/",
      "description": "Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.",
      "category": {
        "id": "computers-electronics-and-technology/programming-and-developer-software",
        "name": "Computers Electronics and Technology > Programming and Developer Software"
      },
      "favicon": "https://site-images.similarcdn.com/image?url=github.com&t=2&s=1&h=6525c30f1af9ea5ee8912788b611744e1debcba39a2d0dd3d410b2916169883b",
      "screenshots": {
        "desktop": "https://site-images.similarcdn.com/image?url=github.com&t=1&s=1&h=6525c30f1af9ea5ee8912788b611744e1debcba39a2d0dd3d410b2916169883b",
        "mobile": "https://site-images.similarcdn.com/image?url=github.com&t=4&s=1&h=6525c30f1af9ea5ee8912788b611744e1debcba39a2d0dd3d410b2916169883b"
      },
      "company_name": "GitHub",
      "global_rank": 45,
      "global_rank_change": 5,
      "country": {
        "code": "US",
        "name": "United States"
      },
      "country_rank": 77,
      "country_rank_change": 4,
      "category_rank": 4,
      "category_rank_change": 0,
      "visits": 645466516,
      "visits_change": -0.0059,
      "bounce_rate": 0.3644,
      "pages_per_visit": 5.69,
      "avg_visit_duration_seconds": 387,
      "monthly_visits": [
        {
          "month": "2026-07",
          "visits": 637885711,
          "change": 0.0368
        },
        {
          "month": "2026-08",
          "visits": 649321442,
          "change": 0.0179
        },
        {
          "month": "2026-09",
          "visits": 645466516,
          "change": -0.0059
        }
      ],
      "top_traffic_source": {
        "source": "direct",
        "rank": 1,
        "share": 0.5331
      },
      "top_country": {
        "country": {
          "code": "US",
          "name": "United States"
        },
        "share": 0.1873,
        "share_change": 0.0062
      },
      "snapshot_date": "2026-09-01"
    }
  ],
  "failed": [
    {
      "domain": "gitlab.com",
      "reason": "failed",
      "error": "website gitlab.com: challenged on 5 exits and in a browser"
    },
    {
      "domain": "bitbucket.org",
      "reason": "failed",
      "error": "website bitbucket.org: challenged on 5 exits and in a browser"
    }
  ]
}