# Check Website Traffic for Any Website from Ahrefs

**Use case:** 

Check any website’s estimated organic search traffic from Ahrefs. Get monthly traffic, traffic history, traffic value, top countries, top pages, and top organic keywords for any domain or URL - No Ahrefs account required

## Input

```json
{
  "keyword": "ai automation",
  "url": "openai.com",
  "country": "us",
  "mode": "subdomains",
  "include_web_authority": false,
  "include_traffic": true,
  "include_ai_overview": false,
  "include_ai_mode": false,
  "include_ai_visibility": false,
  "include_keywords": false,
  "include_keywords_difficulty": false,
  "include_keywords_ranking": false,
  "include_serp": false,
  "include_backlinks": false,
  "include_broken_links": false,
  "include_competitors": false,
  "include_xml_sitemap": false,
  "include_top_websites": false,
  "category_top_websites": "all",
  "country_top_websites": "worldwide"
}
```

## Output

```json
{
  "data_captured_at": {
    "label": "Data Captured At",
    "format": "string"
  },
  "type": {
    "label": "Data Type",
    "format": "string"
  },
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "mode": {
    "label": "Mode",
    "format": "string"
  },
  "website_overall_search_traffic": {
    "label": "Overall Search Traffic",
    "format": "number"
  },
  "website_overall_search_traffic_last_month": {
    "label": "Overall Search Traffic Last Month",
    "format": "number"
  },
  "website_overall_search_traffic_history": {
    "label": "Overall Search Traffic History",
    "format": "array"
  },
  "website_overall_search_traffic_value": {
    "label": "Overall Search Traffic Value",
    "format": "number"
  },
  "website_overall_search_traffic_value_last_month": {
    "label": "Overall Search Traffic Value Last Month",
    "format": "number"
  },
  "website_overall_search_traffic_value_history": {
    "label": "Overall Search Traffic Value History",
    "format": "array"
  },
  "website_traffic": {
    "label": "Website Traffic",
    "format": "object"
  },
  "website_traffic_history": {
    "label": "Website Traffic History",
    "format": "array"
  },
  "website_overall_search_traffic_by_country": {
    "label": "Overall Search Traffic by Country",
    "format": "array"
  },
  "website_traffic_by_country": {
    "label": "Website Traffic by Country",
    "format": "array"
  },
  "website_traffic_top_pages": {
    "label": "Website Traffic Top Pages",
    "format": "array"
  },
  "website_traffic_top_countries": {
    "label": "Website Traffic Top Countries",
    "format": "array"
  },
  "website_overall_search_traffic_keywords": {
    "label": "Overall Search Traffic Keywords",
    "format": "array"
  },
  "website_traffic_top_keywords": {
    "label": "Website Traffic Top Keywords",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Ahrefs Scraper](https://apify.com/radeance/ahrefs-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/radeance/ahrefs-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/radeance/ahrefs-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
