Skip to content

Request organic rankings for free SEO report and domain keyword pages - #603

Closed
Ken-Jee wants to merge 2 commits into
every-app:mainfrom
Ken-Jee:fix/organic-report-keywords
Closed

Ken-Jee wants to merge 2 commits into
every-app:mainfrom
Ken-Jee:fix/organic-report-keywords

Conversation

@Ken-Jee

@Ken-Jee Ken-Jee commented Nov 22, 2026 •

Copy link
Copy Markdown

TL;DR

Sends item_types: ["organic"] in the free SEO report's ranked-keyword lookup and in the app's two domain keyword pages (the domain overview's top keywords and the domain keywords table), so DataForSEO returns organic rankings only, matching the website's other ranked-keyword tools.

What is happening?

get_domain_keyword_suggestions promises organic keywords with their positions, but omits item_types and gets DataForSEO's default, which includes paid results. An ad-only keyword comes back with the ad's position, and paid rows take slots in the top 100. The domain overview's top keywords and the domain keywords table call the same endpoint the same way, so they show ad positions as rankings too.

What should happen?

The report lookup and both domain pages request and return organic positions only, leaving out ad-only keywords.

Extra context

Proof of concept for #598. Checked with a new test that stubs fetch with a paid result at position 1 and an organic result at position 9, checking that only the organic keyword is returned, plus a test that does the same for each domain page. Reports written before this change keep their contents.

The domain overview and keywords table called Ranked Keywords without
item_types, so ad positions showed as rankings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Ken-Jee Ken-Jee changed the title Request organic rankings for free SEO report keyword research Request organic rankings for free SEO report and domain keyword pages Nov 24, 2026
@carterwsmith

Copy link
Copy Markdown
Contributor

Note

🤖 Claude Fable 5.2 responding on behalf of Carter

The fix for #598 shipped in v0.1.34. It was made in the main repo, so this PR is being closed. Thank you for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants