# Google Ranked Keywords Scraper (`piotrv1001/google-ranked-keywords-scraper`) Actor

See every Google keyword a website or page ranks for: position, ranking URL, estimated traffic and traffic value, search volume, CPC, keyword difficulty, intent and position changes. Biggest traffic drivers first, any country. Spy on competitors without a paid SEO tool.

- **URL**: https://apify.com/piotrv1001/google-ranked-keywords-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** SEO tools, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 ranked 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

### 🚀 Google Ranked Keywords Scraper

See **every Google keyword a website or page ranks for**. The **Google Ranked Keywords Scraper** returns each keyword with the site's position, the ranking URL, estimated monthly traffic and its value in ad spend. Each row also carries the keyword's search volume, CPC, difficulty and intent, and whether the ranking is new or has moved. The biggest traffic drivers come first. Use it for competitor research, content gap analysis, SEO audits and finding the pages that bring a site its traffic. No paid SEO tool needed.

### ✨ Features

- 🔑 **All Ranking Keywords**: Thousands of keywords per domain, from the top traffic drivers down.
- 🏁 **Position and URL**: Where the site ranks (top 100) and which page ranks.
- 🚦 **Estimated Traffic and Value**: Monthly visits the ranking brings and what that traffic would cost in ads.
- 📊 **Keyword Metrics**: Search volume, 12-month trend, CPC, competition, keyword difficulty and intent.
- 🔄 **Ranking Changes**: Previous position and whether the ranking is new.
- 📄 **Domains or Single Pages**: A domain covers the whole site; a page URL shows only that page's keywords.
- 🌍 **90+ Countries**: Any market with a two-letter country code.

### 🛠️ How It Works

1. **Add domains or page URLs** – e.g. `competitor.com` or `https://competitor.com/blog/post`.
2. **Pick a country and how many keywords you want** – the default is 100.
3. **Run the Scraper** – download the keywords as JSON, CSV or Excel, or through the API.

### ⚙️ Input

| Field               | What it does                                                                         |
| ------------------- | ------------------------------------------------------------------------------------ |
| **Domains or URLs** | Domains (`apify.com`) or page URLs (`https://apify.com/store`).                      |
| **Country**         | Two-letter country code (`us`, `gb`, `de`, `pl`…).                                   |
| **Language**        | Optional two-letter language code. Empty = the country's main language.              |
| **Max results**     | Stop after this many keywords across all domains. Default 100.                       |

With an empty input the scraper returns the top 100 keywords of `apify.com` in the US.

```json
{
    "domains": ["competitor-one.com", "https://competitor-two.com/pricing"],
    "country": "us",
    "maxItems": 5000
}
```

### 💰 Pricing

Pay only for the keywords you get — no monthly rental.

| Event              | Price                             | What you get                                                                                             |
| ------------------ | --------------------------------- | -------------------------------------------------------------------------------------------------------- |
| **Ranked keyword** | $0.003 per keyword ($3 per 1,000) | Position, URL, estimated traffic and value, search volume, CPC, difficulty, intent and position change   |
| **Actor start**    | $0.00005 per run                  | Charged once when the run starts.                                                                        |

Examples: a competitor's top 100 keywords = $0.30 · 5,000 keywords = $15.

### 📊 Sample Output Data

```json
{
    "target": "apify.com/store",
    "keyword": "apify store",
    "country": "us",
    "language": "en",
    "position": 1,
    "positionAbsolute": 1,
    "resultType": "organic",
    "url": "https://apify.com/store",
    "title": "Apify Store - 70000+ web scraping and automation tools",
    "estimatedTraffic": 167.91,
    "estimatedTrafficValue": 308.95,
    "previousPosition": 1,
    "isNew": false,
    "searchVolume": 260,
    "cpc": 1.84,
    "competition": 0.52,
    "competitionLevel": "MEDIUM",
    "keywordDifficulty": 63,
    "searchIntent": "navigational",
    "serpFeatures": ["organic", "people_also_ask"],
    "rankCheckedAt": "2026-10-11",
    "scrapedAt": "2026-10-14T10:09:02.000Z"
}
```

(Shortened; real rows also include bids, monthly searches and backlink averages.)

### ❓ FAQ

**How fresh are the rankings?** Rankings come from regularly refreshed Google results; each row shows the date in `rankCheckedAt`.

**Is the traffic exact?** No, it's an estimate from position and search volume. Use it to compare sites and pages, not as analytics data.

**Need ideas around a topic or volumes for your own list?** See [Google Keyword Suggestions Scraper](https://apify.com/piotrv1001/google-keyword-suggestions-scraper) and [Google Keyword Volume Scraper](https://apify.com/piotrv1001/google-keyword-volume-scraper).

### 🔗 More SEO Actors

- [Ahrefs Domain Rating Scraper](https://apify.com/piotrv1001/ahrefs-domain-rating-scraper): Domain Rating, backlink and referring-domain counts for a list of domains.
- [Ahrefs Backlinks Scraper](https://apify.com/piotrv1001/ahrefs-backlinks-scraper): the top backlinks pointing at any domain, with anchor text and source DR.
- [Ahrefs Traffic Scraper](https://apify.com/piotrv1001/ahrefs-traffic-scraper): monthly organic traffic, traffic value, top pages, countries and keywords.
- [Ahrefs Keyword Difficulty Scraper](https://apify.com/piotrv1001/ahrefs-keyword-difficulty-scraper): Keyword Difficulty plus the top-10 Google results with DR and traffic.
- [Google Keyword Volume Scraper](https://apify.com/piotrv1001/google-keyword-volume-scraper): monthly Google search volume, CPC and competition for your keyword list.
- [Google Keyword Suggestions Scraper](https://apify.com/piotrv1001/google-keyword-suggestions-scraper): related keyword ideas around a seed, with volume and difficulty.

# Actor input Schema

## `domains` (type: `array`):

Domains (apify.com) or page URLs (https://apify.com/store) to get ranking keywords for.

## `country` (type: `string`):

Two-letter country code of the search market (us, gb, de, pl…).

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

Optional two-letter language code (en, de, es…). Leave empty for the country's main language.

## `maxItems` (type: `integer`):

Stop after this many keywords.

## Actor input object example

```json
{
  "domains": [
    "apify.com"
  ],
  "country": "us",
  "maxItems": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "domains": [
        "apify.com"
    ],
    "country": "us",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/google-ranked-keywords-scraper").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 = {
    "domains": ["apify.com"],
    "country": "us",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/google-ranked-keywords-scraper").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 '{
  "domains": [
    "apify.com"
  ],
  "country": "us",
  "maxItems": 100
}' |
apify call piotrv1001/google-ranked-keywords-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/google-ranked-keywords-scraper"
        }
    }
}
```

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/2ODVSACdNjBHdZvM5/builds/KqOuywMWxl9sxVG4N/openapi.json
