Web research5 min readBy Purrkey team

How to check Google autocomplete order with DataForSEO

Pull live Google autocomplete suggestions in Google's displayed order with rank, relevance and suggestion type for one keyword

On this page

You have 12 seed keywords for a product page and need to see which Google autocomplete phrases appear first in US English results. Each call returns the suggestion list in the order Google displays it, with rank, relevance and suggestionType attached to each phrase, so the 12 lists can be lined up in one table and the phrasing for page titles and meta descriptions picked from a recorded order rather than from memory

No call has been run for this article. The tables below are a design, and values in them are placeholders showing the shape

The deliverable table

One row per suggestion, eight columns: keyword, locationCode, languageCode, checkedAt, rank, suggestion, relevance, suggestionType. Repeating the request fields on each row looks wasteful until two batches taken on different dates get merged, and then checkedAt is the column that tells them apart

Example seed phrases for a standing desk product page, invented for this walkthough: standing desk, standing desk mat, adjustable standing desk, standing desk converter, electric standing desk, standing desk with drawers, corner standing desk, standing desk height, standing desk chair, standing desk for two people, standing desk frame, standing desk reviews

keywordlocationCodelanguageCodecheckedAtranksuggestionrelevancesuggestionType
standing desk2840en(timestamp)1(phrase)(integer)(string or null)
standing desk2840en(timestamp)2(phrase)(integer)(string or null)
standing desk mat2840en(timestamp)1(phrase)(integer)(string or null)

What one call takes

The call is POST /v1/runs with toolId dataforseo.serp.google_autocomplete. keyword is required, between 1 and 700 characters, and holds a single phrase. Twelve seeds therefore mean twelve calls, one per seed

language_code is optional and defaults to en. The contract's pattern is two lowercase letters plus an optional region of two to four characters, so en and zh-TW both fit. location_code is optional and defaults to 2840, which the contract describes as the United States. Other market codes come from DataForSEO's location code list

Reading the fields that drive the decision

rank is the position in the ordered list, so rank 1 is the phrase Google shows first for that seed. suggestion is the phrase itself. relevance is typed as an integer and the contract gives no scale for it, so compare it inside one keyword's list rather than treating it as a score that travels across seeds. suggestionType is a nullable string, and the contract does not list its possible values, so group by it rather than assuming a fixed vocabulary

checkedAt, keyword, locationCode and languageCode echo the request and the run time. Stamp checkedAt on each row so a later rerun can be compared against the same seed on a known date

The four item fields are typed as nullable, so guard the sort: a null rank belongs at the end, or gets filtered before you read the top of the list. One workable rule for 12 seeds is to take the rank 1 to 3 phrases per seed as title candidates, then use relevance to break ties within a seed

The 50-suggestion cap

This limit lands on the run step, before any reading happens. suggestions has maxItems: 50, so a single call cannot return more than 50 rows for one keyword, and the contract describes no paging parameter. A seed with a long tail of phrases stops at rank 50, and the phrases past that point cannot be fetched with another call to this tool. Choose seeds whose lists you expect to fit inside the cap

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to pull Google
autocomplete suggestions for the 12 seed phrases below in US English.
Check the current inputs and price of dataforseo.serp.google_autocomplete
before running anything. Call the tool once per seed with language_code
en and location_code 2840. Return one table with the columns keyword,
locationCode, languageCode, checkedAt, rank, suggestion, relevance and
suggestionType, one row per suggestion, sorted by keyword and then rank.
Keep the per-seed lists separate, leave missing values empty instead of
filling them, and do not add rows past what the tool returns.

standing desk
standing desk mat
adjustable standing desk
standing desk converter
electric standing desk
standing desk with drawers
corner standing desk
standing desk height
standing desk chair
standing desk for two people
standing desk frame
standing desk reviews

Swap the twelve lines for your own seeds. Run one seed first and confirm the returned table carries the eight columns before spending the remaining 11 calls. For a wider harvest of phrases beyond these seeds, see how to collect Google search autocomplete keywords

Estimated tool cost

Prices read from the Purrkey catalog on November 22, 2026. The unit is max_call, described there as "Maximum per call. Successful runs settle at DataForSEO's actual charge, with no markup", so the totals below are ceilings. Agent model fees are not counted

StepFormulaUnit pricePlanned quantityTotal
Single keyword checkcalls x max priceup to $0.004 per call1$0.004
12 seed keywordscalls x max priceup to $0.004 per call12$0.048
Plan total12$0.048

The trial call is up to $0.004 and the full set of 12 is up to $0.048

Next step

Start with the single seed standing desk to see the real shape of the suggestions array, then run the other 11. The tool page with its current input schema and price is dataforseo.serp.google_autocomplete

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with DataForSEO.
Explore DataForSEO tools and pricing

FAQ

How do I check Google autocomplete order for a keyword?

Run one call to dataforseo.serp.google_autocomplete per keyword. The suggestions come back in the order Google displays them, and rank 1 is the phrase shown first.

What inputs does dataforseo.serp.google_autocomplete take?

keyword is required, between 1 and 700 characters. language_code is optional and defaults to en, and location_code is optional and defaults to 2840, the United States.

What does the relevance field mean?

relevance is typed as an integer and the contract gives no scale for it, so compare it inside one keyword's list rather than across seeds.

How many suggestions does one call return?

The suggestions array has maxItems 50, so one call returns at most 50 suggestions for a keyword. The contract describes no paging parameter for going past that.

How much does it cost to check 12 seed keywords?

Each call is up to $0.004 at the max_call price, so 12 calls come to at most $0.048. Successful runs settle at DataForSEO's actual charge.

Does location_code 2840 mean the United States?

Yes. 2840 is the default location code and the contract describes it as the United States. Other market codes come from DataForSEO's location code list.

Can I get suggestions in a language other than English?

Yes. language_code defaults to en and follows a pattern of two lowercase letters plus an optional region of two to four characters, which covers values such as en and zh-TW.

Next step

Try this with DataForSEO

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See DataForSEO tools

Share this article