Ahrefs Scraper

ENDPOINTS
GET/domains/traffic

Organic Traffic

Get monthly organic traffic and its value, a 6-month history, and the top pages, countries and keywords.

QUERY PARAMS

Website to analyze: a domain, a page link, or an ahrefs.com website link.

Examples:

  • Domain: tesla.com
  • Ahrefs link: https://ahrefs.com/websites/tesla.com

Which part of the target to measure.

Default: subdomains

Allowed values: subdomains (the whole site), exact (that URL only), prefix (every URL starting with it), domain (the domain without its subdomains)

2-letter country code for the top pages and keywords. Omit for worldwide.

Allowed values: any ISO 3166-1 alpha-2 code (us, gb, in, de, ca, au, ...)

{
  "target": "tesla.com",
  "mode": "subdomains",
  "country": null,
  "link": "https://ahrefs.com/traffic-checker?input=tesla.com&mode=subdomains",
  "monthly_organic_traffic": 10666507,
  "monthly_traffic_value": 555450000,
  "currency": "USD",
  "traffic_history": [
    {
      "month": "2026-06",
      "organic_traffic": 11726884
    },
    {
      "month": "2026-07",
      "organic_traffic": 11877013
    },
    {
      "month": "2026-08",
      "organic_traffic": 11108976
    },
    {
      "month": "2026-09",
      "organic_traffic": 10095058
    },
    {
      "month": "2026-10",
      "organic_traffic": 10217252
    },
    {
      "month": "2026-11",
      "organic_traffic": 10721299
    }
  ],
  "top_pages": [
    {
      "link": "https://www.tesla.com/",
      "traffic": 1185939,
      "share_percent": 27.44
    },
    {
      "link": "https://www.tesla.com/model3",
      "traffic": 346251,
      "share_percent": 8.01
    },
    {
      "link": "https://www.tesla.com/modely",
      "traffic": 279674,
      "share_percent": 6.47
    },
    {
      "link": "https://www.tesla.com/cybertruck",
      "traffic": 268256,
      "share_percent": 6.21
    },
    {
      "link": "https://www.tesla.com/inventory/used",
      "traffic": 134224,
      "share_percent": 3.11
    }
  ],
  "top_countries": [
    {
      "country": "US",
      "share_percent": 39.96
    },
    {
      "country": "FR",
      "share_percent": 6.35
    },
    {
      "country": "DE",
      "share_percent": 5.65
    },
    {
      "country": "CA",
      "share_percent": 5.03
    },
    {
      "country": "GB",
      "share_percent": 4.58
    }
  ],
  "top_keywords": [
    {
      "keyword": "tesla",
      "position": 1,
      "traffic": 2310000
    },
    {
      "keyword": "tesla model 3",
      "position": 1,
      "traffic": 453000
    },
    {
      "keyword": "cybertruck",
      "position": 1,
      "traffic": 345000
    },
    {
      "keyword": "tesla model y",
      "position": 1,
      "traffic": 374000
    },
    {
      "keyword": "tesla used",
      "position": 1,
      "traffic": 32000
    }
  ]
}