Push the boundaries of what DataForSEO can do
Learn about the latest updates

Subscribe To Our Newsletter

Back

Word Count Filtering in DataForSEO Labs API

November,25 2025 19:00:41

DataForSEO Labs API
Improvement
Word Count Filtering in DataForSEO Labs API

Refining the keywords you retrieve by word count is now faster and easier than ever. We’ve added a simple numeric filter that makes keyword analysis with DataForSEO Labs API much more efficient.

What’s new

You can now filter keywords by the number of words across these DataForSEO Labs API endpoints:

The new filtering option can be found in the list of available filters as: "keyword_properties.words_count": "num".

How it works

To filter the keywords you get in the results by word count, specify the the desired number using the following filter directly in your API request:

"filters": ["keyword_properties.words_count", "=", 5]

This filter will quickly scan the values in a new words_count field for each keyword to deliver you only those matching your needs.

Each keyword returned in the supported endpoints will also show its words_count within the keyword_properties object.

Why it matters

Using the numeric filter helps you avoid heavy long-running tasks with like operator.

For instance, instead of "filters": ["keyword", "like", "% % %"], you can use "filters": ["keyword_properties.words_count", "=", 3].

The new option significantly reduces system load when processing large keyword sets, so you can expect faster query execution and improved performance.

Get started

Check the updated docs for relevant DataForSEO Labs API endpoints and start using words_count filter to power faster and more precise keyword research workflows.

Embed DataForSeo widget on your website


Embed code:
Preview: