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

AlexandriaSEOAvailable now

Serpstat · Domain organic keywords

serpstat/domains/keywords

Get SEO and search ranking data with Serpstat · Domain organic keywords from Alexandria through one Spiral API key. List the keywords a domain ranks for in Google's top 100, with position, URL, volume, CPC, difficulty, and SERP features. Use domains/top-pages for the pages instead. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

Up to $0.034918 per run.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
se requiredtext—

Serpstat search engine database: g_ plus a two-letter country (g_us, g_uk, g_de, g_fr, ...) or bing_us.

domain requiredtext—

Domain to analyse, such as nike.com, without a scheme or path.

urltext—

Only keywords that rank with this URL.

pagenumber
1 to …
—

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

sizenumber
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.

sortJSON—

One sort field and direction, for example {"region_queries_count": "desc"}. Serpstat's default is position ascending.

filtersJSON—

Serpstat filters for this method, combined with AND. Keys include position_from, position_to, region_queries_count_from, cost_from, difficulty_to, keyword_contain, intents_contain, and types_contain.

keywordslist—

Only keywords that contain these words.

withIntentstrue or false—

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

minusKeywordslist—

Drop keywords that contain these words.

withSubdomainstrue or false—

Include subdomains. Serpstat's default is true.

Same request in code

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>"
    }
  }'

Frequently asked questions

How much does Serpstat · Domain organic keywords cost?

Up to $0.034918 per run. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Serpstat · Domain organic keywords through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "serpstat/domains/keywords"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use Serpstat · Domain organic keywords?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use Serpstat · Domain organic keywords?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.