# SpyFu Domain SEO & PPC Metrics Scraper

> SpyFu Domain SEO & PPC Metrics Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Fetches structured SpyFu SEO and PPC metrics (organic clicks, organic keywords, paid keywords) for up to 200 domains per call, with optional keyword samples, by country.

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/spyfu?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spyfu-domain-seo-ppc-metrics-scraper-ccf707b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0j4rz85tCmXlSwD3JG_3p

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability spyfu-domain-seo-ppc-metrics-scraper-ccf707b5 -d '<json body>'
```

Example prompt: Pull SpyFu SEO metrics for these 5 domains — nike.com, adidas.com, puma.com, reebok.com, newbalance.com — using the US database, and include the top 5 organic and paid keyword samples for each.

## When to prefer this

Use this endpoint when you need structured SpyFu SEO and PPC competitive intelligence for multiple domains in a single call without a SpyFu subscription. It is especially useful for bulk domain comparison, pre-acquisition SEO audits, or agency reporting workflows where you need organic traffic estimates and keyword data across up to 200 domains at once. Prefer this over manual SpyFu lookups or generic web scrapers when you need normalized, structured JSON output with country-specific metrics.

## Known failure modes

- Domain not found in SpyFu database — returns null fields for that domain
- Invalid country code — rejected at input validation
- Array exceeds 200 domains — input rejected
- keywordSampleSize above 10 — input rejected
- Network timeout on slow keyword enrichment requests when keywordSampleSize > 0
- Empty result if SpyFu has no data for a niche/new domain — run not charged

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count and an items array, where each item represents one domain and includes the domain name, status, country, data month, scraped timestamp, SpyFu overview URL, organic click estimate, organic keyword count, and optionally top paid and organic keyword samples.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Public domains to compare, up to 200 per run. URLs are accepted and duplicate domains are removed."
  },
  "maxItems": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Maximum number of output rows. 0 processes every input domain."
  },
  "spyfuCountry": {
   "enum": [
    "us",
    "ar",
    "au",
    "at",
    "be",
    "br",
    "ca",
    "cl",
    "dk",
    "fr",
    "de",
    "in",
    "ie",
    "it",
    "jp",
    "mx",
    "nl",
    "nz",
    "no",
    "pl",
    "pt",
    "sg",
    "za",
    "es",
    "se",
    "ch",
    "tr",
    "ua",
    "uk",
    "ve"
   ],
   "type": "string",
   "default": "us",
   "description": "Country database used for all domain metrics in this run."
  },
  "keywordSampleSize": {
   "type": "integer",
   "default": 0,
   "maximum": 10,
   "minimum": 0,
   "description": "Optional top paid and organic keyword samples per domain. 0 skips slow keyword requests."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "domain": null,
    "status": null,
    "country": null,
    "dataMonth": null,
    "scrapedAt": null,
    "overviewUrl": null,
    "organicClicks": null,
    "organicKeywords": null
   }
  ],
  "product": "spyfu"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spyfu-domain-seo-ppc-metrics-scraper-ccf707b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
