# SpyFu Term Ad History with Stats

> SpyFu Term Ad History with Stats is a paid API for AI agents from spyfu.x402.paysponge.com, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Retrieves the historical paid search ad history for a given keyword/term along with performance statistics via SpyFu's data.

## Facts

- Endpoint: GET https://spyfu.x402.paysponge.com/apis/cloud_ad_history_api/v2/term/getTermAdHistoryWithStats
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spyfu-b2d691b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rYN1SN7a3w2Wijon25nFn

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-b2d691b8
```

Example prompt: Can you pull up the full paid ad history and stats for the keyword 'project management software' — I want to see who's been advertising on it, historical CPCs, and performance trends?

## When to prefer this

Use this endpoint when you need both ad history AND performance statistics for a keyword in one call, rather than just raw ad history (use getTermAdHistory for history-only). Prefer this over manual SpyFu searches when automating competitive PPC research, building keyword intelligence pipelines, or comparing keyword monetization trends programmatically.

## Known failure modes

- Missing or invalid term parameter returns 400 Bad Request
- Term with no ad history returns empty results
- Payment failure (402) if x402 USDC payment not provided
- Rate limiting if too many requests are made in quick succession
- Network timeout for very popular terms with extensive history

## How this service works

GET /apis/cloud_ad_history_api/v2/term/getTermAdHistoryWithStats

## Output

Returns historical paid search advertising data for the specified keyword/term, including statistics such as advertiser counts, estimated CPC over time, ad coverage, click data, and historical ad creatives or metadata showing how the term has been monetized over time.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spyfu-b2d691b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from spyfu.x402.paysponge.com](https://www.zero.xyz/host/spyfu.x402.paysponge.com/llms.txt)
