Semrush
Overview
SLUG: SEMRUSH
Description
Semrush is a popular SEO tool suite that specializes in keyword research, competitor analysis, and Google Ad campaign optimization.
Authentication Details
API Key
Connecting to Semrush
Create an auth config
Use the dashboard to create an auth config for the Semrush toolkit. This allows you to connect multiple Semrush accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Integration”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Semrush toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
SEMRUSH_KEYWORD_DIFFICULTY
Tool Name: Get keyword difficulty
Description
Action Parameters
Action Response
SEMRUSH_ADS_COPIES
Tool Name: Get ad copies
Description
Action Parameters
Action Response
SEMRUSH_ANCHORS
Tool Name: Get anchor texts
Description
Action Parameters
Action Response
SEMRUSH_AUTHORITY_SCORE_PROFILE
Tool Name: Get authority score profile
Description
Action Parameters
Action Response
SEMRUSH_BACKLINKS
Tool Name: Get backlinks
Description
Action Parameters
Action Response
SEMRUSH_BACKLINKS_OVERVIEW
Tool Name: Backlinks overview
Description
Action Parameters
Action Response
SEMRUSH_BATCH_COMPARISON
Tool Name: Batch comparison
Description
Action Parameters
Action Response
SEMRUSH_BATCH_KEYWORD_OVERVIEW
Tool Name: Batch keyword overview
Description
Action Parameters
Action Response
SEMRUSH_BROAD_MATCH_KEYWORD
Tool Name: Broad match keyword
Description
Action Parameters
Action Response
SEMRUSH_CATEGORIES
Tool Name: Get categories
Description
Action Parameters
Action Response
SEMRUSH_CATEGORIES_PROFILE
Tool Name: Get categories profile
Description
Action Parameters
Action Response
SEMRUSH_COMPETITORS
Tool Name: Get competitor data
Description
Action Parameters
Action Response
SEMRUSH_COMPETITORS_IN_ORGANIC_SEARCH
Tool Name: Get competitors in organic search
Description
Action Parameters
Action Response
SEMRUSH_COMPETITORS_IN_PAID_SEARCH
Tool Name: Get competitors in paid search
Description
Action Parameters
Action Response
SEMRUSH_DOMAIN_AD_HISTORY
Tool Name: Get domain ad history
Description
Action Parameters
Action Response
SEMRUSH_DOMAIN_ORGANIC_PAGES
Tool Name: Get domain organic pages
Description
Action Parameters
Action Response
SEMRUSH_DOMAIN_ORGANIC_SEARCH_KEYWORDS
Tool Name: Get domain organic search keywords
Description
Action Parameters
Action Response
SEMRUSH_DOMAIN_ORGANIC_SUBDOMAINS
Tool Name: Get domain organic subdomains
Description
Action Parameters
Action Response
SEMRUSH_DOMAIN_PAID_SEARCH_KEYWORDS
Tool Name: Get domain paid search keywords
Description
Action Parameters
Action Response
SEMRUSH_DOMAIN_PLA_SEARCH_KEYWORDS
Tool Name: Get PLA search keywords for a domain
Description
Action Parameters
Action Response
SEMRUSH_DOMAIN_VS_DOMAIN
Tool Name: Compare domains
Description
Action Parameters
Action Response
SEMRUSH_HISTORICAL_DATA
Tool Name: Get historical data
Description
Action Parameters
Action Response
SEMRUSH_INDEXED_PAGES
Tool Name: Get indexed pages
Description
Action Parameters
Action Response
SEMRUSH_KEYWORDS_ADS_HISTORY
Tool Name: Get keywords ads history
Description
Action Parameters
Action Response
SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES
Tool Name: Keyword overview all databases
Description
Action Parameters
Action Response
SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE
Tool Name: Get keyword overview for one database
Description
Action Parameters
Action Response
SEMRUSH_ORGANIC_RESULTS
Tool Name: Get organic results
Description
Action Parameters
Action Response
SEMRUSH_PAID_RESULTS
Tool Name: Get paid search results
Description
Action Parameters
Action Response
SEMRUSH_PHRASE_QUESTIONS
Tool Name: Phrase questions
Description
Action Parameters
Action Response
SEMRUSH_PLA_COMPETITORS
Tool Name: Get PLA competitors
Description
Action Parameters
Action Response
SEMRUSH_PLA_COPIES
Tool Name: Get PLA copies
Description
Action Parameters
Action Response
SEMRUSH_REFERRING_DOMAINS
Tool Name: Get referring domains
Description
Action Parameters
Action Response
SEMRUSH_REFERRING_DOMAINS_BY_COUNTRY
Tool Name: Get referring domains by country
Description
Action Parameters
Action Response
SEMRUSH_REFERRING_I_PS
Tool Name: Referring i ps
Description
Action Parameters
Action Response
SEMRUSH_TLD_DISTRIBUTION
Tool Name: Get TLD distribution
Description
Action Parameters
Action Response