ToolSura Blog
ArticlesAboutContact
Search

Stay in the loop

Join thousands of developers getting weekly insights into modern web development, AI tools, and productivity.

© 2026 ToolSura Blog
AboutContactPrivacy PolicyTerms of ServiceRSS

    Table of Contents

    Snapshot a run with `-report`Compare runs with `-diff`Update and compare in one passNextSources
    HomeToolsura BlogArticle

    Track indexed-vs-not over time with -report and -diff

    A

    Abhay Khant

    Jan 1, 1970 • 2 min read

    Track indexed-vs-not over time with -report and -diff
    Chart with a rising green indexed line and a falling blue not-indexed line across five weeks beside a report diff badge

    Want to know whether your pages are actually getting indexed as time goes on? Use -report to snapshot a run and -diff to compare against a previous one.

    Snapshot a run with -report

    -report <dir> writes three files into the directory you name:

    ./gsc-indexer -creds sa.json -batch urls.txt -report ./report
    
    • indexed.txt. URLs Google has indexed.
    • not-indexed.txt. everything else (not indexed, or errored).
    • summary.json. counts + the full URL lists, in machine-readable form.

    The run also prints a summary to your terminal:

    SUMMARY: 87 indexed, 13 not indexed of 100 URLs
      → ./report/indexed.txt
      → ./report/not-indexed.txt
    

    Compare runs with -diff

    Later, re-run and point -diff at the saved summary.json:

    ./gsc-indexer -creds sa.json -batch urls.txt -diff ./report/summary.json
    

    This prints what changed since the baseline:

      ▲ newly indexed:    https://www.toolsura.com/post-new/
      ▼ dropped (was indexed, now not): https://www.toolsura.com/post-stale/
    ...
    DIFF vs ./report/summary.json
      indexed:   87 → 90  (+3)
      not index: 13 → 10  (-3)
      newly indexed: 3 | dropped: 1 | unchanged: 96
    
    • ▲ newly indexed. URLs that moved from not-indexed to indexed.
    • ▼ dropped. URLs that were indexed before but aren't now.

    Update and compare in one pass

    You can write a fresh report and diff against the previous one at the same time:

    ./gsc-indexer -creds sa.json -batch urls.txt -report ./report -diff ./report/summary.json
    

    The diff uses the previous summary.json (read before it's overwritten), so this is safe to run on a schedule.

    Next

    • Large runs timing out? Throttling and quiet mode.
    • Broken run? Troubleshooting.

    Sources

    • Google Search Console
    • Google Search APIs overview
    • Service account OAuth (Google Identity)
    • About service accounts (Google Cloud IAM)
    • Verify site ownership
    • Indexing API (JobPosting/BroadcastEvent only)
    • Request indexing / inspect a URL

    Frequently Asked Questions

    developer-tools
    cli-tools
    automation
    search
    A

    About Abhay Khant

    A passionate tech enthusiast and professional developer specializing in AI, automation, and modern web development. Sharing insights and guides to help others build better software faster.

    View full profile →

    Join the Newsletter

    Get articles like this delivered to your inbox every Thursday.

    What to read next

    Stop Windows from Installing Apps Without Permission
    Jan 1, 197010 min read

    Stop Windows from Installing Apps Without Permission

    LG and Dell monitors silently push apps via Windows Update. Learn how to stop Windows from installing apps without permission and detect what's on your PC.

    AAbhay Khant
    Indexing many URLs: batch files, stdin, and sitemaps
    Jan 1, 19702 min read

    Indexing many URLs: batch files, stdin, and sitemaps

    Submit URLs to Google in bulk with gsc-indexer: batch files, stdin pipes, and sitemap expansion into every <loc> (capped at 50,000 URLs).

    AAbhay Khant
    Big runs without getting throttled: -delay, -q, and -dry-run
    Jan 1, 19702 min read

    Big runs without getting throttled: -delay, -q, and -dry-run

    Run gsc-indexer over thousands of URLs without Google throttling you: raise -delay, use -q for clean progress, and survive 429/5xx backoff.

    AAbhay Khant