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

AlexandriaSEOAvailable now

Serpstat · Keyword metrics

serpstat/keywords/info

Get SEO and search ranking data with Serpstat · Keyword metrics from Alexandria through one Spiral API key. Get search volume, CPC, competition, difficulty, SERP features, and intent for up to 150 keywords in one database. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

Up to $0.17459 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.

keywords requiredlist—

Keywords to look up, 1 to 150.

sortJSON—

One sort field and direction, for example {"region_queries_count": "desc"}.

filtersJSON—

Serpstat filters for this method, combined with AND. Keys include region_queries_count_from, cost_from, concurrency_to, found_results_from, and intents_contain.

withIntentstrue or false—

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

includeMissingKeystrue or false—

List keywords Serpstat has no data for under result.not_found.

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/keywords/info",
    "input": {
      "se": "<se>",
      "keywords": [
        "<keywords>"
      ]
    }
  }'

Frequently asked questions

How much does Serpstat · Keyword metrics cost?

Up to $0.17459 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 · Keyword metrics through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "serpstat/keywords/info"` 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 · Keyword metrics?

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

Can my AI agent use Serpstat · Keyword metrics?

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