# Get Keyword Search Volume, Difficulty and CPC

**Use case:** 

Look up monthly search volume, keyword difficulty (KD), estimated CPC and traffic potential for any keyword in 190+ countries before you commit to content.

## Input

```json
{
  "searchType": "keyword_metrics",
  "urls": [
    "ahrefs.com"
  ],
  "mode": "subdomains",
  "keyword": "project management software",
  "country": "us",
  "searchEngine": "Google",
  "topWebsitesMode": "ranking",
  "topWebsitesCountry": "worldwide",
  "topWebsitesCategory": "all",
  "topWebsitesLimit": 100,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "maxRetries": 5
}
```

## Output

```json
{
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "difficulty": {
    "label": "KD",
    "format": "number"
  },
  "searchVolume": {
    "label": "Volume",
    "format": "integer"
  },
  "trafficPotential": {
    "label": "Traffic Potential",
    "format": "integer"
  },
  "estimatedCpcUsd": {
    "label": "CPC $",
    "format": "number"
  },
  "shortage": {
    "label": "Backlinks Needed",
    "format": "integer"
  }
}
```

## About this Actor

This example demonstrates how to use [Ahrefs All-in-One SEO Scraper - DR, Backlinks, Keywords](https://apify.com/pro100chok/ahrefs-seo-tools) with a specific input configuration. Visit the [Actor detail page](https://apify.com/pro100chok/ahrefs-seo-tools) to learn more, explore other use cases, and run it yourself.