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

    GSC rate limits are real`-delay`: space out the requests`-dry-run`: preview before you commit`-q`: quiet mode for long runs⚠️ Flags must come BEFORE the URLs"-color" gets treated as a URL → 403 from GoogleNextSources
    HomeToolsura BlogArticle

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

    A

    Abhay khant

    Jan 1, 1970 • 2 min read

    A sitemap can resolve to 100+ URLs. At a polite delay that's a 15–20 minute run. These three flags keep it calm and in-control.

    GSC rate limits are real

    Google throttles sustained inspect volume. If you blast hundreds of requests with no delay, the run will stall or error partway through. This is Google's limit, not a bug in the tool. slow down and it works.

    -delay: space out the requests

    Default is 1s. For large batches, raise it:

    ./gsc-indexer -creds sa.json "https://www.toolsura.com/sitemap.xml" -delay 10s -report ./report
    

    -delay applies between every URL, including ones expanded from a sitemap. Start at 8s–10s for big sitemaps and adjust if you still see throttling.

    -dry-run: preview before you commit

    A dry run expands sitemaps, dedupes, and lists every URL that would be inspected. with no API calls and no credentials required:

    ./gsc-indexer -creds sa.json "https://www.toolsura.com/sitemap.xml" -dry-run
    

    Use it to confirm the count and contents before a long run. Great for catching a wrong sitemap URL early.

    -q: quiet mode for long runs

    By default the tool prints a block per URL. For a 100-URL run that's a lot of noise. -q collapses it into a single live progress line with a remaining-time estimate, then prints the summary:

    ./gsc-indexer -creds sa.json "https://www.toolsura.com/sitemap.xml" -delay 10s -q -report ./report
    

    Errors are still shown even in quiet mode, so you won't miss a failure.

    ⚠️ Flags must come BEFORE the URLs

    This is the most common mistake. Go's flag parser stops at the first non-flag argument, so this fails:

    ./gsc-indexer -creds sa.json "https://www.toolsura.com/x/" -color always
    ## "-color" gets treated as a URL → 403 from Google
    

    Put all flags first:

    ./gsc-indexer -creds sa.json -color always "https://www.toolsura.com/x/"
    

    (The tool now catches this and prints a clear error instead of a confusing 403, but it's still best to order flags first.)

    Next

    • Automating nightly? CI and -json.
    • Hit an error anyway? Troubleshooting.

    Sources

    • Google Search Console
    • URL Inspection API documentation
    • Google Search APIs overview
    • Service account OAuth (Google Identity)
    • About service accounts (Google Cloud IAM)
    • Verify site ownership
    • Property types: URL-prefix vs Domain
    • URL Inspection tool help
    • Indexing API (JobPosting/BroadcastEvent only)
    • Request indexing / inspect a URL

    Frequently Asked Questions

    developer-tools
    cli-tools
    automation
    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

    Jan 1, 19709 min read

    What Is OpenCode? The 2026 Open-Source AI Coding Agent

    OpenCode topped LogRocket's July 2026 ranking with 160K+ GitHub stars and 7.5M+ monthly devs. A MIT-licensed, model-agnostic AI coding agent.

    AAbhay khant
    Jan 1, 19709 min read

    What Is the Model Context Protocol? A Plain-English Guide

    Model Context Protocol (MCP) is the open standard connecting AI to your tools and data. Learn how it works, how it differs from APIs, and why it matters.

    AAbhay khant
    Jan 1, 197010 min read

    What Are Passkeys? The Passwordless Login Standard Explained

    Passkeys are the passwordless, phishing-resistant login standard replacing passwords. Learn how they work and how they compare to 2FA.

    AAbhay khant