# Google SERP Rank Tracker: Keywords vs Competitors (`ingeniela/google-rank-tracker-competitors`) Actor

Track your Google positions and your competitors' for every keyword, on mobile or desktop in any country: movement since the last run, visibility score, AI Overview (and whether it cites you), People also ask and ads. Schedule it weekly.

- **URL**: https://apify.com/ingeniela/google-rank-tracker-competitors.md
- **Developed by:** [Ingeniela](https://apify.com/ingeniela) (community)
- **Categories:** SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 keyword trackeds

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 SERP Rank Tracker: Keywords vs Competitors

Know **where you rank on Google** for every keyword, **where your competitors rank**, and **what changed since last week**. You can track mobile or desktop, any country and any language. It also shows the SERP features that steal clicks: the **AI Overview** (and **whether it cites your site**), **People also ask** and **ads**.

> 🔁 Schedule it weekly with a project name: you see which keywords went up or down, and where your competitors moved.

### What you get

**One row per keyword:**

- your position, your ranking URL and title;
- the **trend** since the last run (▲ up, ▼ down, new, lost) and the change in positions;
- each **competitor's position** and trend;
- the top 3 domains and the full top 10;
- whether there is an AI Overview, whether it **cites you**, and its sources;
- People also ask questions and the number of ads.

**Visibility** (`SUMMARY` and `REPORT`): a 0–100 visibility score that weights top positions more (position 1 gets far more clicks than position 9), plus keywords in the top 3 and top 10 and the average position, for you and for every competitor. Drops from the first two pages and gains are listed separately.

**History**: every run is saved per project, country and device, so movement is always against your last check.

Real run, 3 skincare keywords on US mobile: the shop being tracked was **not in the top results** for any of them. The main competitor was **#1 for two keywords**, and Google showed an **AI Overview** on two of the three, without citing the tracked shop. That's a clear content and SEO priority.

### How to use it

1. Add your **keywords**, **your domain** and up to 10 **competitor domains**.
2. Choose the **country**, **language** and **device** (mobile by default) and how **deep** to look (top 20 by default).
3. Click **Start**, then create a weekly **Schedule** with an email or Slack integration for the drops.

### Input example

```json
{
  "keywords": ["copper peptide serum", "ghk-cu serum", "serum for sensitive skin"],
  "yourDomain": "your-store.com",
  "competitorDomains": ["theordinary.com", "niod.com"],
  "country": "us",
  "language": "en",
  "device": "mobile",
  "depth": 20
}
```

### Pricing

| Event | Price |
|---|---|
| Keyword tracked | $0.005 |

Reading the Google results runs on your Apify account at about US$0.0045 per results page (10 results), with a spend limit you set. 50 keywords at top 20 cost about **$0.25 + $0.45 = $0.70 per check**.

### Good to know

- On mobile, page 1 often has only 6–8 regular results because of ads, AI Overview and other boxes. Track the top 20 for a complete picture.
- Positions are the regular (organic) results. Ads and shopping boxes are counted separately.
- Rankings change with location and personalization. This Actor checks from a neutral, logged-out browser in the country you choose.

# Actor input Schema

## `keywords` (type: `array`):

What your customers search on Google.

## `yourDomain` (type: `string`):

Subdomains count too (shop.yoursite.com).

## `competitorDomains` (type: `array`):

Their positions are tracked for every keyword.

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

Two-letter code (us, es, mx, co, ar…).

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

Two-letter code (en, es, pt…).

## `device` (type: `string`):

Most shopping searches are on mobile.

## `depth` (type: `integer`):

Top 20 = 2 Google pages per keyword (each page costs about US$0.0045).

## `projectName` (type: `string`):

History and movement are kept per project, country and device. Default: your domain.

## `serpMaxCostUsd` (type: `integer`):

Upper limit for reading the Google results (about US$0.0045 per page).

## Actor input object example

```json
{
  "keywords": [
    "copper peptide serum",
    "ghk-cu serum"
  ],
  "yourDomain": "pepfine.com",
  "competitorDomains": [
    "theordinary.com"
  ],
  "country": "us",
  "language": "en",
  "device": "mobile",
  "depth": 20,
  "serpMaxCostUsd": 2
}
```

# Actor output Schema

## `report` (type: `string`):

No description

## `rankings` (type: `string`):

No description

## `summary` (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 = {
    "keywords": [
        "copper peptide serum",
        "ghk-cu serum"
    ],
    "yourDomain": "pepfine.com",
    "competitorDomains": [
        "theordinary.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ingeniela/google-rank-tracker-competitors").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": [
        "copper peptide serum",
        "ghk-cu serum",
    ],
    "yourDomain": "pepfine.com",
    "competitorDomains": ["theordinary.com"],
}

# Run the Actor and wait for it to finish
run = client.actor("ingeniela/google-rank-tracker-competitors").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": [
    "copper peptide serum",
    "ghk-cu serum"
  ],
  "yourDomain": "pepfine.com",
  "competitorDomains": [
    "theordinary.com"
  ]
}' |
apify call ingeniela/google-rank-tracker-competitors --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ingeniela/google-rank-tracker-competitors"
        }
    }
}
```

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/hxrBhGE3ditwBopN3/builds/v7ryauDM3fmXIXdaf/openapi.json
