DataForSEO · Keyword suggestions
dataforseo/keywords/suggestionsGet SEO and search ranking data with DataForSEO · Keyword suggestions from Alexandria through one Spiral API key. Long-tail keywords that contain a seed keyword, with search volume, CPC, and competition. Omit location for every location. Use keywords/ideas for related terms that do not contain the seed. 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
| Field | Kind | Default | Description |
|---|---|---|---|
keyword required | text | — | Seed keyword. Suggestions contain it, with words before, after, or within. |
limit | number 1 to 700 | 100 | Items to return, 1 to 700. DataForSEO allows 1000 (its default is 100); this connector stops at 700 so a call stays within 100 credits. Omitted, 100 is sent. |
offset | number 0 to … | — | Items to skip, for the next page. Default 0. |
filters | text | — | JSON array of filter conditions in the DataForSEO syntax, at most 8, such as ["keyword_info.search_volume",">",100]. |
order_by | list | — | Up to 3 sorting rules, each field,direction, such as keyword_info.search_volume,desc. |
exact_match | true or false | — | Keep the seed phrase intact. Default false. |
offset_token | text | — | Token from the previous response, for results past 10,000. |
language_code | text | — | Language code, such as en. Use this or language_name. |
language_name | text | — | Full language name, such as English. Use this or language_code. |
location_code | number | — | DataForSEO location code, such as 2840 for the United States. Use this or location_name. |
location_name | text | — | Full location name, such as United States or London,England,United Kingdom. Use this or location_code. |
ignore_synonyms | true or false | — | Return only core keywords. Default false. |
include_serp_info | true or false | — | Add serp_info for each keyword. Default false. |
include_seed_keyword | true or false | — | Add data for the seed keyword under seed_keyword_data. 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/suggestions",
"input": {
"keyword": "<keyword>"
}
}'Frequently asked questions
How much does DataForSEO · Keyword suggestions 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 DataForSEO · Keyword suggestions through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "dataforseo/keywords/suggestions"` 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 suggestions?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use DataForSEO · Keyword suggestions?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.