Back to Autogpt

Dataforseo Related Keywords

docs/integrations/block-integrations/dataforseo/related_keywords.md

0.6.443.8 KB
Original Source

Dataforseo Related Keywords

<!-- MANUAL: file_description -->

Blocks for finding semantically related keywords using the DataForSEO Labs API.

<!-- END MANUAL -->

What it is

Get related keywords from DataForSEO Labs Google API

How it works

<!-- MANUAL: how_it_works -->

This block uses the DataForSEO Labs Google Related Keywords API to find semantically related keywords based on a seed keyword. It returns keywords that share similar search intent or topic relevance.

The depth parameter controls the breadth of the search, with higher values returning exponentially more related keywords. Results include search metrics, competition data, and optional SERP/clickstream information.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
keywordSeed keyword to find related keywords forstrYes
location_codeLocation code for targeting (e.g., 2840 for USA)intNo
language_codeLanguage code (e.g., 'en' for English)strNo
include_seed_keywordInclude the seed keyword in resultsboolNo
include_serp_infoInclude SERP informationboolNo
include_clickstream_dataInclude clickstream metricsboolNo
limitMaximum number of results (up to 3000)intNo
depthKeyword search depth (0-4). Controls the number of returned keywords: 0=1 keyword, 1=~8 keywords, 2=~72 keywords, 3=~584 keywords, 4=~4680 keywordsintNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
related_keywordsList of related keywords with metricsList[RelatedKeyword]
related_keywordA related keyword with metricsRelatedKeyword
total_countTotal number of related keywords returnedint
seed_keywordThe seed keyword used for the querystr

Possible use case

<!-- MANUAL: use_case -->

Topic Clustering: Group related keywords to build comprehensive content clusters around a topic.

Semantic SEO: Discover LSI (latent semantic indexing) keywords to improve content relevance.

Keyword Expansion: Expand targeting beyond exact match to capture related search traffic.

<!-- END MANUAL -->

What it is

Extract individual fields from a RelatedKeyword object

How it works

<!-- MANUAL: how_it_works -->

This block extracts individual fields from a RelatedKeyword object returned by the Related Keywords block. It separates the compound object into distinct outputs for workflow integration.

Outputs include the keyword text, search volume, competition score, CPC, keyword difficulty, and any SERP or clickstream data that was requested in the original search.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
related_keywordThe related keyword object to extract fields fromRelatedKeywordYes

Outputs

OutputDescriptionType
errorError message if the operation failedstr
keywordThe related keywordstr
search_volumeMonthly search volumeint
competitionCompetition level (0-1)float
cpcCost per click in USDfloat
keyword_difficultyKeyword difficulty scoreint
serp_infoSERP data for the keywordDict[str, Any]
clickstream_dataClickstream data metricsDict[str, Any]

Possible use case

<!-- MANUAL: use_case -->

Keyword Prioritization: Extract metrics to rank related keywords by opportunity score.

Content Optimization: Access keyword difficulty and search volume for content planning decisions.

Competitive Analysis: Pull competition and CPC data to assess keyword viability.

<!-- END MANUAL -->