Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
openclaudia avatar

Semrush Research

  • 370 installs
  • 614 repo stars
  • Updated August 5, 2026
  • openclaudia/openclaudia-skills

semrush-research is a Claude agent skill that queries the SemRush API for keyword, competitor, backlink, and traffic intelligence for developers and growth engineers prioritizing SEO fixes before or during site launch.

About

semrush-research is an agent skill from openclaudia/openclaudia-skills that wraps the SemRush API for live SEO and competitive intelligence. It requires a SEMRUSH_API_KEY in .env, .env.local, or ~/.claude/.env.global and calls https://api.semrush.com/ endpoints returning semicolon-delimited CSV. Documented workflows cover domain overview ranks, keyword volume and CPC via phrase_all, related keyword discovery, keyword difficulty scoring on a 0-100 scale, domain organic keyword rankings, backlink overview analytics, organic competitor discovery, and traffic analytics summaries. A full competitive analysis sequence compares target and competitor domains, then highlights keyword gaps, quick-win positions 5-20, content gaps, and backlink opportunities. Supported regional databases include us, uk, ca, au, de, fr, es, it, br, in, and jp. Developers reach for it when trigger phrases like competitor analysis, keyword research, backlink check, or traffic estimate appear during pre-launch SEO planning or ongoing content prioritization.

  • Keyword volume and intent clustering
  • Competitor domain comparisons
  • Content gap identification
  • SERP feature opportunity mapping
  • Priority backlog for new sites

Semrush Research by the numbers

  • 370 all-time installs (skills.sh)
  • +16 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #818 of 1,879 Marketing & SEO skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/openclaudia/openclaudia-skills --skill semrush-research

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs370
repo stars614
Last updatedAugust 5, 2026
Repositoryopenclaudia/openclaudia-skills

How do you run SemRush keyword competitor analysis?

Run SEMrush-backed keyword, competitor, and gap analysis to prioritize pages, content clusters, and technical SEO fixes before or during public launch.

Who is it for?

Developers and growth engineers with a SemRush API key who need programmatic competitor, keyword, and backlink research during site launch planning.

Skip if: Teams without a SemRush API subscription or projects needing on-page technical Lighthouse audits instead of search-intelligence data.

When should I use this skill?

A developer asks for competitor analysis, keyword research, backlink checks, traffic estimates, or SemRush-backed SEO intelligence.

What you get

Domain comparison tables, keyword gap lists, backlink profiles, keyword difficulty scores, and prioritized SEO fix recommendations.

  • Competitor comparison table
  • Keyword gap and quick-win lists
  • Backlink profile summary

By the numbers

  • Documents eight SemRush API workflow endpoints
  • Supports 11 regional keyword databases (us, uk, ca, au, de, fr, es, it, br, in, jp)

Files

SKILL.mdMarkdownGitHub ↗

SemRush Research

Pull live SEO and competitive intelligence data from the SemRush API.

Prerequisites

Requires SEMRUSH_API_KEY set in .env, .env.local, or ~/.claude/.env.global.

# Verify the key is available
echo "SEMRUSH_API_KEY is ${SEMRUSH_API_KEY:+set}"

If the key is not set, instruct the user:

You need a SemRush API key. Get one at https://www.semrush.com/api/
Then add SEMRUSH_API_KEY=your_key to your .env file.

API Base

All requests go to https://api.semrush.com/ with the API key passed as &key={SEMRUSH_API_KEY}.

Responses are semicolon-delimited CSV. The first line is the header row. Parse accordingly.

---

1. Domain Overview

Get a high-level snapshot of any domain's organic and paid search performance.

Endpoint

https://api.semrush.com/?type=domain_ranks&key={KEY}&export_columns=Dn,Rk,Or,Ot,Oc,Ad,At,Ac&domain={domain}

Export Columns

ColumnMeaning
DnDomain
RkSemRush Rank
OrOrganic keywords count
OtOrganic traffic estimate
OcOrganic traffic cost ($)
AdPaid keywords count
AtPaid traffic estimate
AcPaid traffic cost ($)

Example curl

curl -s "https://api.semrush.com/?type=domain_ranks&key=${SEMRUSH_API_KEY}&export_columns=Dn,Rk,Or,Ot,Oc,Ad,At,Ac&domain=example.com"

Parsing the Response

# Response format (semicolon-delimited):
# Dn;Rk;Or;Ot;Oc;Ad;At;Ac
# example.com;12345;8234;145000;234500;120;3400;5600

# Parse with awk
curl -s "..." | awk -F';' 'NR==2 {
  printf "Domain: %s\nSemRush Rank: %s\nOrganic Keywords: %s\nOrganic Traffic: %s\nOrganic Traffic Cost: $%s\nPaid Keywords: %s\nPaid Traffic: %s\nPaid Traffic Cost: $%s\n",
  $1,$2,$3,$4,$5,$6,$7,$8
}'

---

2. Keyword Overview

Get search volume, CPC, competition, and SERP features for a keyword.

Endpoint

https://api.semrush.com/?type=phrase_all&key={KEY}&phrase={keyword}&database=us&export_columns=Ph,Nq,Cp,Co,Nr,Td

Export Columns

ColumnMeaning
PhKeyword phrase
NqSearch volume (monthly)
CpCPC (USD)
CoCompetition (0-1)
NrNumber of results
TdTrend (12 months, comma-separated)

Example curl

curl -s "https://api.semrush.com/?type=phrase_all&key=${SEMRUSH_API_KEY}&phrase=content+marketing&database=us&export_columns=Ph,Nq,Cp,Co,Nr,Td"

Supported Databases

Use &database=XX where XX is: us, uk, ca, au, de, fr, es, it, br, in, jp.

---

3. Related Keywords

Find semantically related keywords for content planning and gap analysis.

Endpoint

https://api.semrush.com/?type=phrase_related&key={KEY}&phrase={keyword}&database=us&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=20

Example curl

curl -s "https://api.semrush.com/?type=phrase_related&key=${SEMRUSH_API_KEY}&phrase=project+management&database=us&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=20"

Parsing Multiple Rows

curl -s "..." | awk -F';' 'NR>1 { printf "%-40s Vol: %-8s CPC: $%-6s Comp: %s\n", $1, $2, $3, $4 }'

---

4. Keyword Difficulty

Estimate how hard it is to rank for a keyword.

Endpoint

https://api.semrush.com/?type=phrase_kdi&key={KEY}&phrase={keyword}&database=us&export_columns=Ph,Kd
ColumnMeaning
PhKeyword
KdKeyword difficulty (0-100)

Interpretation:

  • 0-29: Easy - achievable with quality content
  • 30-49: Moderate - needs solid content + some backlinks
  • 50-69: Hard - needs strong domain authority + backlinks
  • 70-84: Very hard - requires established authority
  • 85-100: Extremely hard - dominated by top-tier domains

---

5. Domain Organic Keywords

See which keywords a domain ranks for organically.

Endpoint

https://api.semrush.com/?type=domain_organic&key={KEY}&domain={domain}&database=us&export_columns=Ph,Po,Nq,Cp,Url,Tr,Tc&display_limit=50&display_sort=tr_desc
ColumnMeaning
PhKeyword
PoPosition
NqSearch volume
CpCPC
UrlRanking URL
TrTraffic (%)
TcTraffic cost

Example curl

curl -s "https://api.semrush.com/?type=domain_organic&key=${SEMRUSH_API_KEY}&domain=hubspot.com&database=us&export_columns=Ph,Po,Nq,Cp,Url,Tr,Tc&display_limit=20&display_sort=tr_desc"

---

6. Backlink Overview

Get a summary of a domain's backlink profile.

Endpoint

https://api.semrush.com/analytics/v1/?key={KEY}&type=backlinks_overview&target={domain}&target_type=root_domain&export_columns=total,domains_num,urls_num,ips_num,follows_num,nofollows_num,texts_num,images_num

Example curl

curl -s "https://api.semrush.com/analytics/v1/?key=${SEMRUSH_API_KEY}&type=backlinks_overview&target=example.com&target_type=root_domain&export_columns=total,domains_num,urls_num,ips_num,follows_num,nofollows_num,texts_num,images_num"

---

7. Competitor Discovery

Find domains competing for the same organic keywords.

Endpoint

https://api.semrush.com/?type=domain_organic_organic&key={KEY}&domain={domain}&database=us&export_columns=Dn,Cr,Np,Or,Ot,Oc,Ad&display_limit=10
ColumnMeaning
DnCompetitor domain
CrCompetition level
NpCommon keywords
OrOrganic keywords
OtOrganic traffic
OcOrganic traffic cost
AdPaid keywords

Example curl

curl -s "https://api.semrush.com/?type=domain_organic_organic&key=${SEMRUSH_API_KEY}&domain=notion.so&database=us&export_columns=Dn,Cr,Np,Or,Ot,Oc,Ad&display_limit=10"

---

8. Traffic Analytics (Estimates)

Estimate a domain's overall traffic sources and engagement.

Endpoint

https://api.semrush.com/analytics/ta/api/v3/summary?key={KEY}&targets={domain}&display_date=2024-01-01&country=us&export_columns=target,visits,users,bounce_rate,pages_per_visit,avg_visit_duration

---

Workflow: Full Competitive Analysis

When the user asks for a full competitive analysis, run these steps in order:

1. Domain Overview - Get the target domain's metrics 2. Competitor Discovery - Find top 5-10 competitors 3. Domain Overview for each competitor - Compare metrics 4. Top Keywords for each domain - Find keyword gaps 5. Backlink Overview for each domain - Compare link profiles

Output Format

Present results as a comparison table:

| Metric              | target.com | competitor1.com | competitor2.com |
|---------------------|-----------|-----------------|-----------------|
| SemRush Rank        | ...       | ...             | ...             |
| Organic Keywords    | ...       | ...             | ...             |
| Organic Traffic     | ...       | ...             | ...             |
| Traffic Cost        | ...       | ...             | ...             |
| Backlinks           | ...       | ...             | ...             |
| Referring Domains   | ...       | ...             | ...             |

Then highlight:

  • Keyword gaps: Keywords competitors rank for but target does not
  • Quick wins: Keywords where target ranks positions 5-20 (improvement opportunities)
  • Content gaps: Topics competitors cover but target does not
  • Backlink opportunities: Sites linking to competitors but not target

Rate Limits and Costs

  • Each API call costs API units (check your plan)
  • Use &display_limit= to control result count (default varies by endpoint)
  • Cache results locally when doing multi-step analysis to avoid redundant calls
  • Domain overview calls are cheapest; backlink and traffic analytics cost more

Error Handling

ErrorMeaning
ERROR 50 :: NOTHING FOUNDNo data for this query
ERROR 120 :: WRONG KEYInvalid API key
ERROR 130 :: LIMIT EXCEEDEDAPI unit limit reached
Empty responseUsually means no data available for the query parameters

When you get "NOTHING FOUND", try:

  • Different database (e.g., uk instead of us)
  • Root domain instead of subdomain
  • Broader keyword phrase

Related skills

How it compares

Pick semrush-research over generic SEO copy skills when you need live SemRush API data for keywords, backlinks, and competitor gaps rather than on-page content writing alone.

FAQ

What API key does semrush-research require?

semrush-research requires SEMRUSH_API_KEY set in .env, .env.local, or ~/.claude/.env.global. Without the key, the skill instructs developers to obtain one from semrush.com/api before making requests.

How many SemRush API workflows does the skill document?

semrush-research documents eight workflows: domain overview, keyword overview, related keywords, keyword difficulty, domain organic keywords, backlink overview, competitor discovery, and traffic analytics estimates.

What format do SemRush API responses use?

SemRush API responses are semicolon-delimited CSV with a header row on the first line. semrush-research includes curl examples and awk parsing snippets for domain ranks, organic keywords, and related keyword tables.

Marketing & SEOseocontent

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.