The playbook
Find the keywords that already bring competitors readers and that this blog doesn't rank for, then say how to beat each competitor page.
If the plan has several workspaces, call workspaces_list first and ask which one, then pass workspace=<id> to every tool below.
Data rule
Rankings, volume, difficulty and estimated traffic come from Google data through seo_domain_keywords (about 1 to 3 cents a call). est_traffic is an estimate from position and volume: call it "estimated visits". The SEO tools are capped at 300 calls a day per workspace (error daily_limit): one call per domain is usually enough. Pass country if the market isn't the US.
1. Who to compare against
smarty_get: itscompetitors, offers, audiences and topics to avoid.- Ask the user for any others, or use the competitors from
/seo-setup. Aim for 3 to 5. Prefer sites of a similar size: a giant publisher ranks on authority, not content, and is a poor model. Theirseo_domain_keywordstotals tell you their size.
2. What the user already has
seo_domain_keywordson the user's domain (limit200): every keyword it ranks for, with position and URL, plustotal_keywords,positionsandest_monthly_traffic(its strength).blog_list_sites, thenblog_list_articles(limit50, followcursor): the articles, so you also catch topics that are written but don't rank yet.
3. What the competitors rank for
seo_domain_keywords on each competitor (limit 100 to 200; one more page with offset only for a close match in size). If a competitor's blog lives under a path, pass that URL instead of the domain. Note the topics they rank for repeatedly (a cluster they invest in).
4. Find the gaps
A gap keyword:
- a competitor ranks top 20 for it,
- the user's domain doesn't rank for it (or only past 20),
- fits the user's offers and audience (skip anything in Smarty's topics to avoid, and transactional keywords for products the user doesn't sell),
- has a difficulty the site can reach: judge from its own totals (few keywords ranked = under about 20, dozens in the top 10 = up to about 35, hundreds = 50 and up).
Merge near-duplicate keywords into one topic. For the top 10 gaps, open the competitor's ranking URL and note what it misses: outdated info, no examples, no steps, no visuals, no FAQ, a weak answer, no first-hand experience.
5. Rank
Order by: fit with an offer, then volume, then how doable the difficulty is, then how many competitors rank for it (several = proven demand).
6. Report
One line comparing strength (keywords ranked, top 10 count, estimated monthly traffic: user vs each competitor). Then a table: keyword, volume, difficulty, intent, competitor and position, page to beat (link), what it misses, our angle, offer it leads to. Then the top 3 to write first.
Also list keywords where the user ranks 11 to 30 and a competitor holds the top 10, or topics with a thin article that doesn't rank: those go to /refresh-article.
Offer /content-plan to schedule the gaps or /write-article on the first one.