# Keyword Overview (volume, cpc, competition, intent, etc.) (`dataforseo/keyword-overview`) Actor

Get Google search volume with monthly history and trend, CPC, competition, keyword difficulty, search intent and top-10 backlink averages for any list of keywords. Powered by the DataForSEO Labs API.

- **URL**: https://apify.com/dataforseo/keyword-overview.md
- **Developed by:** [DataForSEO](https://apify.com/dataforseo) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.12 / 1,000 per keywords

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Keyword Overview

Get the key Google metrics for any list of keywords in one run: search volume with monthly history and trend, CPC, paid-search competition and top-of-page bids, keyword difficulty, search intent, and the average backlink profile of the pages ranking in the top 10.

Built on the DataForSEO Labs API. You don't need a DataForSEO account or an API key — just run the Actor.

### What you get

- **Search volume** — the 12-month average plus the **full monthly history** and the **monthly / quarterly / yearly trend** in percent.
- **Paid-search data** — CPC, competition (0–1 and LOW / MEDIUM / HIGH), low and high top-of-page bids, Google Ads categories.
- **Keyword difficulty** — how hard it is to rank in the top 10, from 0 to 100.
- **Search intent** — the main intent (informational, navigational, commercial, transactional) and any secondary ones.
- **Top-10 backlink averages** — backlinks, dofollow links, referring pages / domains / main domains and rank of the pages ranking for the keyword.
- **One row for every keyword you enter**, with a `status` telling you exactly what happened to it.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| **Keywords** | text, one per line — *required* | — | The keywords to look up. Blank lines are ignored; keywords are lowercased and de-duplicated, so you never pay twice for the same keyword. Up to 80 characters and 10 words each. |
| **Location** | select | `United States` | The location whose Google searches the metrics describe. Pick one from the list, or enter it manually in the JSON input (for example `"location": "United Kingdom"`) — any location supported by the data source's API is accepted. A location the API doesn't support stops the run right away, and nothing is charged. |
| **Language** | select | `English` | The language of the searches. Must be available for the chosen location (for example, United States offers English and Spanish). An unsupported combination stops the run right away, with the list of available languages, and nothing is charged. |

#### Example input

```json
{
  "keywords": "serp api\nbest coffee machine\nkeyword research tool",
  "location": "United States",
  "language": "English"
}
```

### Output

One dataset item = one keyword from your input. The **Output** tab has two ready-made views:

- **Overview** — one row per keyword: keyword, search volume, CPC, competition, difficulty, intent, yearly trend and status.
- **Monthly searches** — one row per keyword and month, ready for trend charts in a spreadsheet.

Both export to JSON, CSV and Excel.

#### Statuses

| `status` | Meaning | Metrics | Charged |
|---|---|---|---|
| `ok` | Metrics found | filled in | yes |
| `no_data` | The keyword isn't in the database (usually too rare) | `null` | yes |
| `rejected` | The keyword breaks the 80-character / 10-word limit; `reason` says which | `null` | no |
| `error` | The lookup failed (charged) or never ran, e.g. the run hit its cost limit (not charged); `reason` explains | `null` | see meaning |

#### Example output item (real result, United States / English)

The monthly history is trimmed to three months for readability; a real run returns the full history (usually 8 years).

```json
{
  "keyword": "keyword research tool",
  "location": "United States",
  "language": "English",
  "status": "ok",
  "reason": null,
  "searchVolume": 3600,
  "monthlySearches": [
    { "year": 2026, "month": 9, "searchVolume": 2900 },
    { "year": 2026, "month": 8, "searchVolume": 1900 },
    { "year": 2026, "month": 7, "searchVolume": 4400 }
  ],
  "searchVolumeTrend": { "monthly": 53, "quarterly": -34, "yearly": -64 },
  "cpc": 14.52,
  "competition": 0.19,
  "competitionLevel": "LOW",
  "lowTopOfPageBid": 3.49,
  "highTopOfPageBid": 19.75,
  "categories": [10004, 10276, 11088, 12376],
  "keywordDifficulty": 81,
  "coreKeyword": "keyword research tools",
  "detectedLanguage": "en",
  "isAnotherLanguage": false,
  "mainIntent": "commercial",
  "foreignIntent": ["informational"],
  "avgBacklinksTop10": {
    "backlinks": 17197.4,
    "dofollow": 12897.5,
    "referringPages": 16108.2,
    "referringDomains": 2777.1,
    "referringMainDomains": 2641.8,
    "rank": 372.5,
    "mainDomainRank": 575
  },
  "updatedAt": "2026-10-19 00:16:19 +00:00"
}
```

### Pricing

This Actor uses **pay-per-event** pricing. Charges are applied **when each batch of keywords is sent** — the same moment the underlying data source bills us — not when the results come back. Costs follow your input, so they're predictable before the run finishes.

| Event | When it's charged |
|---|---|
| **Actor start** | Once per run. |
| **Keyword batch** | Once per batch of up to 700 keywords sent for lookup. Keywords are packed 700 to a batch, so 1,500 keywords make 3 batches. |
| **Keyword** | Once per keyword sent in a batch. |

**No refunds.** Because charges happen when a batch is sent and Apify has no refund mechanism, a keyword is charged even if it comes back without data (`no_data`) or its batch fails (`error`). This mirrors how the data source bills us.

**You don't pay for:** keywords over the length limit (`rejected` — never sent), keywords the run never got to (`error` with a "Not processed" reason), and duplicates in your list.

**Maximum cost limit.** Before every batch the Actor checks that the batch's price (batch fee + a fee per keyword) fits in what's left of your run's maximum cost. If it doesn't, the batch is made smaller; if not even one keyword fits, the run stops and the remaining keywords are listed as `error` (not charged).

**Paid Apify plans only.** The Actor runs on paid Apify plans. On the free plan it stops right away without looking anything up and without charging.

### What this Actor does not do

- Google only — no Bing, YouTube or Amazon data.
- No keyword ideas, related keywords or suggestions — only metrics for the keywords you provide.
- No live search results (use the Google SERP Scraper for that) and no clickstream data.

### FAQ

**Why is my keyword lowercased?** The data source stores keywords in lowercase. The Actor lowercases them up front so `SEO Tools` and `seo tools` count as one keyword — and you pay once.

**Why does a keyword have `no_data`?** It's not in the database, usually because it's searched too rarely. It's still charged, because it was sent for lookup.

**How fresh is the data?** `updatedAt` shows when the search volume was last updated; volumes refresh monthly.

# Actor input Schema

## `keywords` (type: `string`):

The keywords to look up — one per line. Blank lines are ignored, and keywords are lowercased and de-duplicated, so you never pay twice for the same keyword. Each keyword can be up to 80 characters and 10 words; longer lines are skipped (and not charged).

**How cost is calculated:** you pay a fixed fee for every batch of up to 700 keywords, plus a fee for every keyword sent in it. Keywords that break the length limit are not sent and not charged.

**Paid Apify plans only:** on the free plan the run ends right away without looking anything up and without charging.

## `location` (type: `string`):

The country whose Google searches the metrics describe (search volume, CPC, competition and so on).

## `language` (type: `string`):

The language of the searches. Not every language is available in every country — for example, United States supports English and Spanish. If you pick a combination that isn't supported, the run stops right away with a list of the languages available for your country, and nothing is charged.

## Actor input object example

```json
{
  "keywords": "serp api\nbest coffee machine\nkeyword research tool",
  "location": "United States",
  "language": "English"
}
```

# Actor output Schema

## `dataset` (type: `string`):

One item per keyword. Open the Output tab to browse, or export to JSON, CSV or Excel.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": `serp api
best coffee machine
keyword research tool`
};

// Run the Actor and wait for it to finish
const run = await client.actor("dataforseo/keyword-overview").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keywords": """serp api
best coffee machine
keyword research tool""" }

# Run the Actor and wait for it to finish
run = client.actor("dataforseo/keyword-overview").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": "serp api\\nbest coffee machine\\nkeyword research tool"
}' |
apify call dataforseo/keyword-overview --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dataforseo/keyword-overview"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/UrNBKcpTTZUY1YrGI/builds/6e16JwOyYQo63qx2V/openapi.json
