Rank tracking: live checks silently report no position for anything below ~organic 12, regardless of serpDepth
Summary
On a self-hosted instance, a manual (live) rank check silently reports no position for any domain ranking below roughly organic position 12, regardless of the configured serpDepth. The tracker is configured for depth 100 and the cost estimate bills for ten pages, but results past the first page or so are never seen.
The blank is indistinguishable in the output from "not ranking in the top 100", so a tracker reports a page-2 ranking as no ranking at all.
This is adjacent to #334 but a different failure: that one is about scheduled checks and unretried 40602 polls. This one is reproducible on the live endpoint, on a single keyword, with no errors reported anywhere — errorMessage is null and the run completes.
Reproduction
One keyword, voicebot cena, location 2616 (Poland), language pl, device desktop, serpDepth: 100, schedule manual. Five separate trackers, one per target domain, each with that single keyword. Every run completed with errorMessage: null.
The ground truth comes from get_serp_results on the same keyword, same project, depth: 100, taken minutes apart — it returned all 53 items.
| Tracked domain | Actual organic rank | get_rank_tracker reported |
|---|---|---|
| easycall.pl | 7 | 7 |
| odbierze.ai | 10 | 10 |
| feedyou.ai | 11 | 11 |
| aiadvisors.pl | 13 | null |
| debesis.pl | 15 | null |
The cutoff sits between organic 11 and 13. aiadvisors.pl was checked three times, including once as the only keyword on its tracker, and returned null every time.
What this is not
- Not the batch size.
KEYWORDS_PER_BATCH = 10, and the first tracker had 12 keywords, so batching was the obvious suspect. Reducing that tracker to a single keyword and re-running reproduced the null exactly. - Not domain matching. The same
aiadvisors.plstring resolves correctly in a second tracker on a different market, returning positions 5 and 6 with the rightrankingUrl.normalizeDomainoutput and the SERP item'sdomainfield are identical (aiadvisors.pl, exact match, no subdomain involved). - Not
serpDepthbeing dropped. It flows throughRankTrackingService→RankCheckWorkflow→rankCheckPaths→fetchRankCheckSerp, is clamped to 100, andestimateRankCheckCreditsprices it as ten pages.
Suspected cause
fetchRankCheckSerp in src/server/lib/dataforseo/serp.ts adds stopCrawlOnTarget() to the request:
function stopCrawlOnTarget(targetDomain: string) {
return {
stop_crawl_on_match: [
{ match_value: targetDomain, match_type: "with_subdomains" },
],
find_targets_in: ["organic"],
};
}fetchLiveSerp — the function behind get_serp_results, which returns the full depth-100 result set for the same keyword — does not send those parameters. That is the only difference between the path that works and the path that does not.
The hypothesis is that stop_crawl_on_match sent without max_crawl_pages caps the crawl regardless of whether the target was matched, so a domain outside the crawled range is reported as unranked rather than as unchecked. I have not been able to confirm the API-side behaviour from outside, so this is where I would start rather than a diagnosis.
Impact
Rank tracking is only trustworthy for the first page. Everything a tracker is most useful for — watching a new page climb from nowhere, tracking striking-distance keywords at 11–30 — reads as a flat zero. The cost estimate still charges for the full configured depth.
Requests
- Confirm whether
stop_crawl_on_matchneedsmax_crawl_pagesalongside it, and send both if so. - Distinguish "not found in the crawled range" from "not in the top N" in storage and in the output, so a null cannot be read as a ranking loss. This is the same ask as point 1 of #334.
- If the crawl range is capped for cost reasons, surface the range that was actually crawled next to the result.
Source: every-app/open-seo