Web research5 min readBy Purrkey team

How to classify search intent for 100 keywords with DataForSEO

Classify up to 100 keywords by main intent and probability before assigning content formats

On this page

You have 80 keywords pulled from a content backlog and need each one sorted by search intent before anyone writes a brief. A single call to dataforseo.labs.search_intent returns a main intent and a probability for each keyword, which is enough to route a keyword toward an informational guide or a commercial comparison page

The table below is the deliverable. Nothing in this guide has been run, so the second table holds placeholders showing the shape rather than results

Example backlog and the worksheet design

Five invented keywords, kept to one topic so the routing is easy to follow

Keyword
trail running shoes
trail running shoes review
buy trail running shoes
trail running shoes sale
how to clean trail running shoes

One row per keyword, four returned fields and one column you fill yourself

keywordintentprobabilitysecondaryIntentspage format
trail running shoesone of four intents0.00list or nullinformational guide
buy trail running shoesone of four intents0.00list or nullcommercial comparison

The intent field holds informational, navigational, commercial or transactional. probability is a number from 0 to 1. secondaryIntents is a list of up to 50 strings, or null. The page format column is your editorial call, not a tool output

What the call takes

keywords is required: an array of 1 to 100 unique strings, each 1 to 80 characters, copied from the backlog. language_code is optional and defaults to en; set it when the list is not English

The limit belongs to this step: up to 100 unique keywords per call, each 1 to 80 characters. An 80 keyword backlog fits in one call. A backlog of 250 keywords needs three calls. The schema marks items as unique, so dedupe the list before sending it, and trim any keyword longer than 80 characters before it fails validation

Send the keywords as one array per call, and keep the backlog order so the returned rows line up with your spreadsheet

Reading the fields that decide the page format

Sort by intent first. The four labels are the routing signal. The contract names them and does not define them, so your own editorial policy decides what each one maps to. A workable policy, written as a design

  • informational: brief for a guide
  • commercial: brief for a comparison page
  • transactional: brief for a product or pricing page
  • navigational: hold the keyword and check it by hand

probability decides how much to trust the label, because it is the confidence of the main intent, from 0 to 1. Set a cutoff, 0.60 for example, and send rows below it to a person instead of straight into a brief queue. The cutoff is your choice; the field only reports the number

secondaryIntents decides whether one page can serve the keyword. A row with a second intent listed may support a section inside the same brief rather than a page of its own

Nulls need a rule too. The contract allows intent, keyword, probability and secondaryIntents to be null, so agree on what happens then before the first batch runs. The simple rule is a review pile, an empty page format and no brief

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to classify search
intent. Before running anything, check the current inputs and price of
dataforseo.labs.search_intent in the Purrkey catalog.

Send the keyword list below as one array in a single call to
dataforseo.labs.search_intent. Set language_code only if the list is not
English. Return a GFM table with the columns keyword, intent, probability,
secondaryIntents and page format. Fill page format from these rules:
informational to guide, commercial to comparison page, transactional to
product or pricing page, navigational to manual check. Leave page format
empty and mark the row for review when intent is null or probability is
below 0.60. Keep the original keyword order. Do not add keywords and do
not rewrite them.

trail running shoes
trail running shoes review
buy trail running shoes
trail running shoes sale
how to clean trail running shoes

Those five keywords are examples; replace them with your backlog. The short list keeps the prompt at one call, and the 80 keyword list also fits in one call

Estimated tool cost

Catalog price for dataforseo.labs.search_intent, read on November 22, 2026: up to $0.03 per call, unit max_call. The catalog explains the unit as "Maximum per call. Successful runs settle at DataForSEO's actual charge, with no markup." The totals below are ceilings, not settled charges

StepFormulaUnit pricePlanned quantityTotal
One 80 keyword batchcalls x max priceup to $0.03 per call1 call$0.03
Ten 80 keyword batchescalls x max priceup to $0.03 per call10 calls$0.30

Ten batches cover 800 keywords if each one is filled to the cap. Agent model fees are not counted in these figures

Next action

Run one 80 keyword batch from your backlog and check how many rows come back with a null intent before you commit the rest. The tool page is at dataforseo.labs.search_intent; to call it directly, send a POST to /v1/runs with the toolId for dataforseo.labs.search_intent. If you still need keywords to classify, the companion guide on keyword ideas by seed covers the step before this one

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 classify search intent for a list of keywords?

Send the list as the keywords array in one call to dataforseo.labs.search_intent. The response gives each keyword a main intent, a probability and a list of secondary intents.

How many keywords can one call take?

One call takes 1 to 100 unique keywords, each 1 to 80 characters long. An 80 keyword backlog fits in a single call, and a longer backlog needs splitting into batches.

What does the probability field mean?

The contract describes probability as the confidence of the main intent, from 0 to 1. A low value marks a keyword whose label deserves a manual read before a brief is written.

What is secondaryIntents in the response?

It is a list of up to 50 strings per keyword holding the intents that came after the main one. The field can be null.

How much does it cost to classify 800 keywords?

Ten batches of 80 keywords mean ten calls at up to $0.03 each, so at most $0.30. The catalog price is a ceiling and successful runs settle at DataForSEO's actual charge.

Can the tool classify keywords in another language?

Yes. language_code is optional and defaults to en, and it accepts a code such as en or zh-TW. Set it when the keyword list is not English.

What happens when a keyword comes back with a null intent?

The contract allows null for intent, keyword, probability and secondaryIntents. Put those rows in a review pile, leave the page format empty and do not route them into a brief queue.

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