How to Use Serpstat top organic pages in opencode
Find a domain's pages by estimated organic traffic, alongside ranking keyword counts. Use it to identify content worth studying or refreshing, then investigate the queries behind each URL.
Prompts to try with Serpstat top organic pages in opencode
Copy an example into opencode, or ask in your own words.
Use Serpstat top organic pages for hubspot.com in Google US. Save the 30 pages with the highest estimated organic traffic, including their keyword counts, to research/hubspot-pages.csv.
Use Serpstat top organic pages to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Serpstat top organic pages and tell me what changed since last week.
Check Serpstat top organic pages and summarize what you find in three bullet points.
Pull the newest data from Serpstat top organic pages and give me the result as a table.
How to set up Serpstat top organic pages in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Serpstat top organic pages
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/top-pages", "input": { "se": "<se>", "domain": "<domain>" } }'
Then paste one of the prompts above: opencode finds Serpstat top organic pages on Spiral, shows the price and runs it.
Serpstat top organic pages providers and prices
Spiral runs Serpstat top organic pages through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | a number from 1 | 1-based page. Serpstat returns at most the first 60,000 rows of a report. | |
| Size | 1 to 150 | 15 | 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. |
Every API field of Serpstat · Top pages by traffic is on its tool page: open its card above.
What can you do with Serpstat top organic pages in opencode?
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.
More on Serpstat top organic pages and opencode
Overview
Serpstat top organic pages in other agents
Questions about Serpstat top organic pages in opencode
Can opencode use Serpstat top organic pages?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Serpstat top organic pages like any built-in tool.
How much does Serpstat top organic pages cost in opencode?
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 opencode plan is separate.
Do I need an Alexandria account to use Serpstat top organic pages in opencode?
No. Spiral runs Serpstat top organic pages 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 top organic pages in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Serpstat top organic pages runs?
Serpstat top organic pages runs in the background. opencode 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.
Start using Serpstat top organic pages in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


