Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · SEO

How to Use Serpstat domain organic keywords in Gemini CLI

Get ranking keywords with their positions, ranking URLs, search volume, and keyword difficulty. Use it to find specific queries to target or improve, rather than comparing domain totals.

Prompts to try with Serpstat domain organic keywords in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Serpstat domain organic keywords for cloudflare.com in Google US. Find queries ranking in positions 11 through 20 and write their ranking URLs and search volumes to research/cloudflare-opportunities.csv.

Serpstat domain organic keywordsGemini CLI
Try asking
  • Use Serpstat domain organic keywords for shopify.com in Google US. Find queries containing inventory, group the returned queries by ranking URL, and create research/inventory-content.md.

  • Use Serpstat domain organic keywords to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Serpstat domain organic keywords and tell me what changed since last week.

  • Check Serpstat domain organic keywords and summarize what you find in three bullet points.

How to set up Serpstat domain organic keywords in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Serpstat domain organic keywords

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "serpstat/domains/keywords",
        "input": {
          "se": "<se>",
          "domain": "<domain>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Serpstat domain organic keywords on Spiral, shows the price and runs it.

Serpstat domain organic keywords providers and prices

Spiral runs Serpstat domain organic keywords through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSEO
Serpstat · Domain organic keywords
serpstat/domains/keywords

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Pagea number from 1

1-based page. Serpstat returns at most the first 60,000 rows of a report.

Size1 to 15015

Rows per page, from 1 to 150. Serpstat allows up to 1000; this connector stops at 150 so a call stays within 100 Firecrawl credits. Omitting it requests 15.

With intentson or off

Add keyword intents. Serpstat supports it on g_us and g_ua only.

With subdomainson or off

Include subdomains. Serpstat's default is true.

Every API field of Serpstat · Domain organic keywords is on its tool page: open its card above.

What can you do with Serpstat domain organic keywords in Gemini CLI?

Build an SEO research report that connects public business domains to the queries and pages worth investigating. A coding agent can turn Serpstat results into project files, comparison tables, and content research tasks.

Prepare a competitor research brief

Identify competing domains, compare their overall search performance, inspect ranking queries, and list the pages worth reviewing.

Plan a content research backlog

Use competitor overlap and domain totals to choose research targets, then turn their ranking queries and leading pages into specific content assignments.

Compare regional search opportunities

Research the same business domains in separate regional databases. Compare the competitors, domain totals, queries, and pages returned for each market.

Build a monthly SEO research report

Save successive results to compare competing domains, overall search performance, ranking queries, and leading pages across monthly research runs.

Choose pages for a content refresh

Find pages with substantial keyword coverage, then examine their ranking queries and positions to select focused revision targets.

Questions about Serpstat domain organic keywords in Gemini CLI

Can Gemini CLI use Serpstat domain organic keywords?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Serpstat domain organic keywords like any built-in tool.

How much does Serpstat domain organic keywords cost in Gemini CLI?

Up to $0.034918 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need an Alexandria account to use Serpstat domain organic keywords in Gemini CLI?

No. Spiral runs Serpstat domain organic keywords on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Serpstat domain organic keywords in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while Serpstat domain organic keywords runs?

Serpstat domain organic keywords runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

How much of Google search does Serpstat cover?

The domain keywords report covers rankings in Google's top 100 for queries in Serpstat's database. Its documented report limit is 60,000 results, so it should not be treated as a complete inventory of every query a site could rank for.

How fresh is Serpstat's search data?

Serpstat says its major US and UK Overview databases update roughly every one to two weeks. A full keyword database update cycle takes approximately three months, so the Overview update interval does not mean every keyword was refreshed.

Are Serpstat traffic figures actual visitor counts?

They are estimates calculated from keyword rankings and search volumes. Use them to compare organic search performance between domains rather than as a replacement for a site's analytics.

Can pagination retrieve an unlimited number of results?

Serpstat documents a ceiling of 60,000 rows per API method. Pagination works within that ceiling; it does not establish that every matching row from a larger report can be retrieved.

Does Serpstat disclose all its data suppliers?

Serpstat says it receives data from third-party services covered by nondisclosure agreements. That disclosure does not identify those suppliers.

Get started

Start using Serpstat domain organic keywords in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options