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

    Big runs without getting throttled: -delay, -q, and -dry-run
    Cartoon fox adjusting slider controls on a console as blue, green, and orange light trails sweep toward an upward arrow

    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
    • 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
    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
    gsc-indexer FAQ
    Jan 1, 19703 min read

    gsc-indexer FAQ

    gsc-indexer FAQ: does it index instantly, why www vs non-www matters, API key vs service account, 403 causes, and how many URLs you can process.

    AAbhay Khant