AI Overview Rewrite Queue

Join your Google Search Console export with live AI Overview citation data and get back a scored, tiered rewrite queue. It finds the queries where you already rank but Google's AI answers with somebody else's content, tiers every query A to X with a plain-language reason, and labels the ones it could not match instead of dropping them. MCP-ready for Claude and AI agents.

MEDIAN LAGon demand
PARAMETERS8

Input parameters

PARAMETERTYPEREQDEFAULTDESCRIPTION
target_domains string[] yes Domains you consider yours, for example example.com. Subdomains match their parent, so learn.example.com matches example.com.
search_console_csv_url string no URL of a Search Console Queries export. A published Google Sheet CSV works and lets scheduled runs re-fetch fresh data.
search_console_rows object[] no The same rows pasted as JSON objects with query, clicks, impressions, ctr and position, instead of a URL.
queries string[] no Extra keywords to check on top of whatever the export contains.
min_impressions integer no 10 Ignore export rows below this impression count.
gl string no us Two-letter country code for the citation checks (ISO 3166-1, e.g. 'us', 'gb').
hl string no en Two-letter interface language code (ISO 639-1, e.g. 'en').
location string no Optionally narrow the checks to a named location, e.g. 'Austin, Texas, United States'.

Worked examples

Basic — your domains plus a published Search Console export
{
  "target_domains": [
    "example.com"
  ],
  "search_console_csv_url": "https://docs.google.com/spreadsheets/d/e/EXAMPLE/pub?output=csv",
  "min_impressions": 10
}

Tasks

Saved runs with the inputs already filled in — each one a standalone page and a working configuration example.

Request a task →

Code

curl

curl -X POST "https://api.apify.com/v2/acts/johnvc~ai-overview-rewrite-queue/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"target_domains": ["example.com"], "queries": ["best crm for small business"]}'

Python

from apify_client import ApifyClient

client = ApifyClient("APIFY_TOKEN")
run = client.actor("johnvc/ai-overview-rewrite-queue").call(
    run_input={'target_domains': ['example.com'], 'queries': ['best crm for small business']}
)
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)