# SpyFu Scraper – Domain SEO & PPC Stats, Ad Budget, History (`data_daemon/spyfu-seo-ppc-scraper`) Actor

SpyFu data for a list of domains: organic keywords, clicks and value, Google Ads keywords, paid clicks and estimated monthly ad budget, domain strength, top competitors, countries, monthly history back to 2006. Bulk, no login or API key. From $3 per 1,000 domains; domains without data are free.

- **URL**: https://apify.com/data_daemon/spyfu-seo-ppc-scraper.md
- **Developed by:** [Daemon Data](https://apify.com/data_daemon) (community)
- **Categories:** SEO tools, Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 domain overviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

### What does SpyFu Scraper do?

**SpyFu Scraper** returns [SpyFu](https://www.spyfu.com)'s SEO and Google Ads estimates for a list of domains, one row per domain: **organic keywords, monthly organic clicks and their value, paid keywords, paid clicks and the estimated monthly Google Ads budget**, domain strength, the top organic and paid competitors, and the countries the domain ranks in. The **full report** adds the **monthly history** of the nine search and ads figures (back to 2006 for old domains; competitors and countries are current only), the same month a year earlier, and up to five top organic and paid keywords.

It runs in bulk (up to 10,000 domains per run), needs no SpyFu login and no API key, and costs **$3 per 1,000 domains** for the overview or **$6 per 1,000** for the full report. A domain SpyFu has no figures for comes back with `hasData: false` and is **not charged**.

On 4 December 2026 the three sample domains took 2 seconds: `shopify.com` showed 828,800 organic keywords and an estimated Google Ads budget of $10.47 million for November 2026, `hubspot.com` $1.78 million, `apify.com` $67,820.

### Why use SpyFu Scraper?

- **Qualify a lead list by ad spend**: `runsGoogleAds` and `monthlyAdBudgetUsd` tell you which companies on a list buy Google Ads and roughly how much, in one flat row per domain.
- **Competitor and client audits for agencies**: organic keywords, clicks, value and strength for every client and competitor in one run, the same figures every month.
- **Who competes with whom**: up to five organic and five paid competitors of each domain, with the number of shared keywords.
- **Growth and decline**: the full report carries the monthly history and the same month a year earlier (`adBudgetUsdYearAgo`, `organicClicksYearAgo`), so "is their ad spend growing" is one comparison.
- **Enrich a CRM or a dataset** that has domains: join by `domain`.
- **Give an AI agent the numbers** for "how big is this site's search traffic" instead of a guess.

### How to use SpyFu Scraper

1. Paste domains into **Domains**, one per line. Full URLs work too; the form starts with three examples.
2. Choose **Overview** (one flat row per domain) or **Full report** (overview plus history and top keywords), and the **Country**.
3. Press **Start**. Open **Output** for the table, or export it as JSON, CSV or Excel.

### Input

| Field | What it is |
|---|---|
| `domains` | The domains, up to 10,000 per run, one per entry. `https://www.shopify.com/pricing` is read as `shopify.com`. Duplicates are looked up once. Leave it empty to run the three sample domains; a list with nothing usable in it fails without looking anything up. |
| `mode` | `overview` (default) or `full`. |
| `countryCode` | The Google market of the figures. 32 markets: US, UK, CA, AU, IN, DE, FR, ES, IT, NL, BR, MX, AR, AT, BE, CH, CL, CZ, DK, FI, IE, JP, NO, NZ, PL, PT, SE, SG, TR, UA, VE, ZA. SpyFu writes `UK` for the United Kingdom. Default US. |
| `historyMonths` | Full report only: how many months of history, newest last. Default 24; 0 returns everything SpyFu has. |
| `proxyConfiguration` | Optional and normally not needed. |

```json
{
    "domains": ["shopify.com", "hubspot.com", "apify.com"],
    "mode": "overview",
    "countryCode": "US"
}
```

### Output

One row per item of your list, after duplicates are removed; a run that stops early has rows for the items it reached. Overview row from a run on 4 December 2026 (arrays shortened):

```json
{
    "query": "hubspot.com",
    "domain": "hubspot.com",
    "countryCode": "US",
    "hasData": true,
    "dataMonth": "2026-11",
    "domainStrength": 71,
    "organicKeywords": 669200,
    "monthlyOrganicClicks": 909700,
    "monthlyOrganicValueUsd": 12790000,
    "averageOrganicRank": 39.0,
    "paidKeywords": 68260,
    "monthlyPaidClicks": 463700,
    "monthlyAdBudgetUsd": 1784000,
    "averageAdRank": 2.4,
    "runsGoogleAds": true,
    "organicCompetitors": [
        { "domain": "mailchimp.com", "commonKeywords": 4021 },
        { "domain": "salesforce.com", "commonKeywords": 6044 }
    ],
    "paidCompetitors": [
        { "domain": "attio.com", "commonKeywords": 13371 },
        { "domain": "monday.com", "commonKeywords": 18589 }
    ],
    "topOrganicCompetitor": "mailchimp.com",
    "topPaidCompetitor": "attio.com",
    "primaryCountry": "US",
    "countries": [
        { "countryCode": "US", "organicKeywords": 669200 },
        { "countryCode": "UK", "organicKeywords": 246000 }
    ],
    "spyfuUrl": "https://www.spyfu.com/overview/domain?query=hubspot.com",
    "missingSections": null,
    "chargedAs": "domain-overview",
    "checkedAt": "2026-12-04T01:28:13Z"
}
```

The full report adds, for the same domain on the same day (one history month and one keyword of each list shown; a history month carries the same figures as the row):

```json
{
    "history": [
        { "month": "2026-10", "domainStrength": 72, "organicKeywords": 842400, "monthlyOrganicClicks": 888000, "monthlyOrganicValueUsd": 13200000, "averageOrganicRank": 39.8, "paidKeywords": 67480, "monthlyPaidClicks": 455200, "...": "..." }
    ],
    "firstMonth": "2006-11",
    "monthsOfData": 231,
    "adBudgetUsdYearAgo": 3396000,
    "organicClicksYearAgo": 1412000,
    "organicClicksChange": -1460326,
    "topOrganicKeywords": [
        { "keyword": "translate", "rank": 92, "rankChange": null, "searchVolume": 12300000, "monthlyClicks": 25100, "rankingDifficulty": 50, "costPerClickUsd": 0.23, "url": "https://knowledge.hubspot.com/..." }
    ],
    "topPaidKeywords": [
        { "keyword": "slack", "searchVolume": 1260000, "rankingDifficulty": 42, "costPerClickUsd": 0.55, "monthlyCostUsd": 43572, "advertisers": 63 }
    ],
    "chargedAs": "domain-report"
}
```

| Field | Meaning |
|---|---|
| `domain` | The domain the figures belong to. SpyFu reports a subdomain under its main domain, so `blog.hubspot.com` gives the row of `hubspot.com`; `query` keeps what you gave. |
| `hasData` | True when SpyFu has figures for the domain in this market. Only these rows are charged. A domain SpyFu lists with every figure at zero counts as no data. |
| `dataMonth` | The month the figures are for. SpyFu publishes one set a month. |
| `organicKeywords`, `monthlyOrganicClicks`, `monthlyOrganicValueUsd`, `averageOrganicRank` | Organic search: keywords the domain ranks for, estimated clicks a month, what those clicks would cost as ads, average position. |
| `paidKeywords`, `monthlyPaidClicks`, `monthlyAdBudgetUsd`, `averageAdRank` | Google Ads: keywords bought, estimated clicks, estimated monthly spend, average ad position. |
| `runsGoogleAds` | True when the domain has paid keywords or an ad budget in the data month. |
| `domainStrength` | SpyFu's strength score, 0 to 100. |
| `organicCompetitors`, `paidCompetitors` | Up to five each, current, with the number of keywords in common; `topOrganicCompetitor` and `topPaidCompetitor` repeat the first for flat exports. |
| `primaryCountry`, `countries` | Current: the market with most keywords, and up to ten markets with their keyword counts. |
| `history`, `firstMonth`, `monthsOfData` | Full report: the nine figures above for each month, oldest first, limited by `historyMonths`; the first month SpyFu has; how many months it has. |
| `adBudgetUsdYearAgo`, `organicClicksYearAgo` | Full report: the same month one year earlier, when SpyFu has that month. |
| `topOrganicKeywords`, `topPaidKeywords` | Full report: up to five keywords each (see the FAQ). |
| `missingSections` | Parts SpyFu did not answer for this row; null when the row is complete. |
| `chargedAs` | `domain-overview` or `domain-report`. |
| `sameAs` | On a free row: the item of this run whose row holds the figures, when two items resolve to one domain (`hubspot.com` and `blog.hubspot.com`). |
| `note` | On rows without data: why. |

A run summary (`OUTPUT` in the key-value store) counts the domains with data, without data and without a row, and names the first 2,000 items that have no row. The dataset's default export has every field; the Overview, History and Top keywords views are narrower tables.

### How much does it cost to get SpyFu data?

| Event | Price | When |
|---|---|---|
| Domain overview | $0.003 | Each domain with data in `overview` mode |
| Domain report | $0.006 | Each domain with data in `full` mode |
| Run start | $0.001 | Once per run |

That is **$3 per 1,000 domains** for overviews and **$6 per 1,000** for full reports; Scale and Business plans pay 15% and 30% less. Domains without figures, items that are not domains and duplicates carry no per-domain charge (the run start is charged once in any case). A full report whose history SpyFu did not answer is delivered and charged as an overview ($0.003), and `chargedAs` says so. A report that has its history can still lack another part (competitors, countries or a keyword list) when SpyFu does not answer it; `missingSections` names it and the report price applies. Apify's free plan ($5 of usage a month) covers about 1,600 overviews or 800 full reports.

| Job | Rows | Cost |
|---|---|---|
| The default run (three sample domains) | 3 | $0.01 |
| Score a list of 500 prospects by ad spend | 500 overviews | about $1.50 |
| Monthly audit of 40 clients and competitors with history | 40 full reports | $0.24 a month |
| Two-year history of 1,000 domains | 1,000 full reports | about $6 |

Set **Maximum cost per run** in the run options to cap a run: the Actor stops at the cap and the run summary names what has no row. Rows with figures are stored only when they are paid for; free rows read before the stop are stored too. In full mode the run stops when a report no longer fits, even if an overview still would.

### Tips

- SpyFu publishes new figures once a month. Running the same list more often than monthly returns the same `dataMonth`.
- SpyFu reports a subdomain under its main domain: `blog.hubspot.com` returns the row of `hubspot.com`, and `domain` shows which. A list that holds both is charged once; the second item gets a free row with `sameAs`.
- Figures are per market: `apify.com` in the US and in the UK are different rows. `countries` shows where a domain ranks at all.
- A list that is almost all unknown domains is stopped early, since misses are free: after a batch of 25, once the misses exceed 200 plus 20 per domain with data.
- International domain names go in as punycode (`xn--...`).
- For more than 10,000 domains, split the list across runs.

### FAQ

#### Is there a SpyFu API?

SpyFu sells an official API with its subscription plans. This Actor reads the figures SpyFu's own domain overview page shows to a visitor who is not logged in, and returns them as rows. It needs no SpyFu account.

#### How accurate are the numbers?

They are SpyFu's estimates, modelled from the search results it collects: not Google Ads billing data and not Search Console data. They are useful for comparing domains and for seeing direction over time; a single figure for a small site can be far off. The Actor does not change SpyFu's numbers except to round them: counts, clicks and dollar amounts to whole numbers, average positions to one decimal, cost per click to two.

#### Why only five keywords and five competitors?

That is what SpyFu shows without a login, and the Actor returns at most five per list. The totals (`organicKeywords`, `paidKeywords`) are complete. The keyword lists are requested with SpyFu's adult-keyword filter on, which removes most such keywords, not all.

#### Why does a domain have no data?

SpyFu covers domains that appear in Google's results for the keywords it tracks in that market. New sites and very small sites are not covered. Try another `countryCode` if the company is not US-based.

#### What happens when a run is interrupted?

Rows are saved and billed together, in the order of your list, in batches of up to 25 domains.

- **SpyFu refuses or does not answer the run's requests:** the run stops, keeps the rows it has and charges nothing for the rest. It also stops when an answer cannot be tied to the domain that was asked for, instead of guessing. The summary counts the items without a row and names the first 2,000.
- **Saving a batch fails:** the run stops as failed and does not try again, so nothing is billed twice. Rows saved before it stay; of the batch in progress some rows may be saved.
- **The platform restarts the run's container:** the run does not continue. No further domain is looked up or charged, the rows saved before the restart stay in the dataset, and such a run can end without a summary: compare your list with the saved rows and run the rest.

#### Does it return people or contact details?

No. Company-level search figures only.

#### Related Actors

- [Company Domain Finder](https://apify.com/data_daemon/company-domain-finder): turn company names into domains first, then feed the domains here.
- [Python Code Runner](https://apify.com/data_daemon/python-code-runner): filter or rank this Actor's rows with pandas or SQL without downloading them (for example every domain with a monthly ad budget above $10,000).
- [ImportYeti Scraper](https://apify.com/data_daemon/importyeti-scraper): US import records and suppliers of a company.

#### Something is wrong or missing

Open an issue on the **Issues** tab with the run ID and the domain that went wrong. More data tools from the same maker: [Daemon Data on Apify](https://apify.com/data_daemon).

# Actor input Schema

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

One domain per line, up to 10,000 per run, for example shopify.com. Full URLs are accepted and cut down to the domain (https://www.shopify.com/pricing becomes shopify.com). SpyFu reports a subdomain under its main domain. Duplicates are looked up once. A domain SpyFu has no figures for comes back with hasData false and is not charged. Leave the list empty to run three sample domains.

## `mode` (type: `string`):

Overview is one flat row per domain for scoring a list: organic keywords, clicks and value, paid keywords, paid clicks and estimated monthly Google Ads budget, domain strength, up to five organic and five paid competitors, countries. Full report adds the monthly history of those figures (see History months), the same month a year earlier, and up to five organic and five paid keywords, which is what SpyFu shows without a login.

## `countryCode` (type: `string`):

The Google market the figures are for. SpyFu reports 32 markets and writes UK for the United Kingdom. The countries field of each row shows where else the domain ranks.

## `historyMonths` (type: `integer`):

How many months of history a full report carries, newest last. 24 is two years; 0 returns everything SpyFu has, back to 2006 for old domains (about 230 months). The price is the same.

## `proxyConfiguration` (type: `object`):

Not needed: the Actor reads SpyFu directly. Set a proxy only if a run reports that SpyFu refused its requests.

## Actor input object example

```json
{
  "domains": [
    "shopify.com",
    "hubspot.com",
    "apify.com"
  ],
  "mode": "overview",
  "countryCode": "US",
  "historyMonths": 24,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `domains` (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 = {
    "domains": [
        "shopify.com",
        "hubspot.com",
        "apify.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("data_daemon/spyfu-seo-ppc-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": [
        "shopify.com",
        "hubspot.com",
        "apify.com",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("data_daemon/spyfu-seo-ppc-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": [
    "shopify.com",
    "hubspot.com",
    "apify.com"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call data_daemon/spyfu-seo-ppc-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data_daemon/spyfu-seo-ppc-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/gX884VVsAaAkEctN7/builds/09MLfUTcNoXQ0KJE5/openapi.json
