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

AlexandriaSEOAvailable now

DataForSEO · Keyword ideas

dataforseo/keywords/ideas

Get SEO and search ranking data with DataForSEO · Keyword ideas from Alexandria through one Spiral API key. Keyword ideas in the same product categories as up to 200 seed keywords, with search volume, CPC, and competition. Use keywords/suggestions for long-tail phrases that contain the seed. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

Up to $0.0576147 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
keywords requiredlist—

Up to 200 seed keywords.

limitnumber
1 to 700
100

Items to return, 1 to 700. DataForSEO allows 1000 (its default is 700); this connector stops at 700 so a call stays within 100 credits. Omitted, 100 is sent.

offsetnumber
0 to …
—

Items to skip, for the next page. Default 0.

filterstext—

JSON array of filter conditions in the DataForSEO syntax, at most 8, such as ["keyword_info.search_volume",">",100].

order_bylist—

Up to 3 sorting rules, each field,direction, such as keyword_info.search_volume,desc.

offset_tokentext—

Token from the previous response, for results past 10,000.

language_codetext—

Language code, such as en. Use this or language_name.

language_nametext—

Full language name, such as English. Use this or language_code.

location_codenumber—

DataForSEO location code, such as 2840 for the United States. Use this or location_name.

location_nametext—

Full location name, such as United States or London,England,United Kingdom. Use this or location_code.

ignore_synonymstrue or false—

Return only core keywords, without highly similar ones. Default false.

closely_variantstrue or false—

true for phrase match, false (default) for broad match.

include_serp_infotrue or false—

Add serp_info for each keyword. Default false.

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": "dataforseo/keywords/ideas",
    "input": {
      "keywords": [
        "<keywords>"
      ],
      "location_code": 1
    }
  }'

Frequently asked questions

How much does DataForSEO · Keyword ideas cost?

Up to $0.0576147 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 DataForSEO · Keyword ideas through an API?

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

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

Can my AI agent use DataForSEO · Keyword ideas?

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