Semrush API
Backlinks, Domain authority, Keyword research and 3 more capabilities. 17 documented operations.
API capabilities
6 tasks covered in the catalog.
Documented operations
Provider routes and credentials are separate from All Them APIs.
Backlinks (v3)BacklinksGET /analytics/v1/
- Inputs
- type "backlinks", target, target_type; export_columns, display_sort, display_limit, display_offset, display_filter
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
page scoresource page titlesource URLtarget URLanchor textexternal links countinternal links countfirst seenlast seenresponse codesource sizeredirect URLimage URLtarget titleimage altis nofollowis formis frameis imageis sitewideis newis lost
Backlinks (v4)BacklinksGET /apis/v4/backlinks/v1/links
- Inputs
- url, scope; fields, order_by, direction, limit, offset, filter
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
anchor textsource domain scoreexternal links countfirst seenimage altimage URLinternal links countsource IP addressis formis frameis imageis lostis newis nofollowis sitewide mainis sponsoredis UGCsource page languagelast seenpage scoreredirect URLresponse codesource domainsource size
Backlinks overview (v3)Domain authorityGET /analytics/v1/
- Inputs
- type "backlinks_overview", target, target_type, export_columns
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
authority scorebacklinksreferring domainsreferring pagesreferring IPsreferring IP class C subnetsfollow backlinksnofollow backlinkssponsored backlinksUGC backlinkstext backlinksimage backlinksform backlinksframe backlinks
Backlinks overview (v4)Domain authorityGET /apis/v4/backlinks/v1/overview
- Inputs
- url, scope; fields
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
authority scorebacklinksreferring domainsreferring pagesreferring IPsreferring IP class C subnetsfollow backlinksnofollow backlinkssponsored backlinksUGC backlinkstext backlinksimage backlinksform backlinksframe backlinksnew backlinkslost backlinks
Batch Keyword Overview (one database)Keyword researchGET /
- Inputs
- type "phrase_these", phrase, database; display_date, export_columns
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
keywordsearch volumecost per clickcompetitionsearch results countsearch trendintentskeyword difficulty
Get Keyword MetricsKeyword researchGET /apis/v4/keywords/v1/metrics
- Inputs
- keyword, country; month
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
competitioncost per clickintentskeyword difficultysearch results countsearch volumeSERP featuressearch trend
Keyword Overview (one database)Keyword researchGET /
- Inputs
- type "phrase_this", phrase, database; display_date, export_columns
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
keywordsearch volumecost per clickcompetitionsearch results countsearch trendintentskeyword difficulty
Domain Organic Search KeywordsRanked keywordsGET /
- Inputs
- type "domain_organic", domain, database; display_limit, display_offset, display_date, display_daily, export_columns, display_sort, display_positions, display_filter, display_positions_type
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
keywordpositionprevious positionposition differencesearch volumecost per clickranking URLorganic traffictraffic share percentagetraffic cost share percentagecompetitionsearch results countsearch trendkeyword difficultySERP features ranked inSERP featurestimestampintentsposition type
Broad Match KeywordRelated keywordsGET /
- Inputs
- type "phrase_fullsearch", phrase, database; display_limit, display_offset, export_columns, display_sort, display_filter
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
keywordsearch volumecost per clickcompetitionsearch results countsearch trendSERP featuresintentskeyword difficulty
Phrase questionsRelated keywordsGET /
- Inputs
- type "phrase_questions", phrase, database; display_limit, display_offset, export_columns, display_sort, display_filter
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
keywordsearch volumecost per clickcompetitionsearch results countsearch trendintentskeyword difficulty
Related KeywordsGET /
- Inputs
- type "phrase_related", phrase, database; display_limit, display_offset, export_columns, display_sort, display_filter
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
keywordsearch volumecost per clickcompetitionsearch results countsearch trendrelated relevanceSERP featuresintentskeyword difficulty
Daily TrafficWebsite trafficGET /analytics/ta/api/v3/summary_by_day
- Inputs
- target; display_date, target_type, device_type, country, include_forecasted_items, export_columns
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
datecountrydevice typedomaintraffic rankvisitsunique visitorspage viewsdirect visitsorganic search visitspaid search visitsorganic social visitspaid social visitsreferral visitsemail visitsdisplay ad visitsAI assistant visitsaverage visit durationpages per visitbounce ratedesktop sharemobile shareis forecasted
Geo DistributionWebsite trafficGET /analytics/ta/api/v3/geo
- Inputs
- target; target_type, display_date, device_type, display_limit, display_offset, geo_type, export_columns, sort_order
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
domaindatedevice typecountry or regiontrafficglobal traffictraffic shareunique visitorsaverage visit durationbounce ratepages per visitdesktop sharemobile share
SubdomainsWebsite trafficGET /analytics/ta/api/v3/subdomains
- Inputs
- target; target_type, display_date, device_type, display_limit, display_offset, country, export_columns, sort_order
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
domaindatecountrydevice typetarget typesubdomaintraffic sharedesktop sharemobile sharevisitsdesktop visitsmobile visitsunique visitorsdesktop unique visitorsmobile unique visitorspage viewsdesktop page viewsmobile page views
Traffic SourcesWebsite trafficGET /analytics/ta/api/v3/sources
- Inputs
- target; display_date, device_type, display_limit, display_offset, traffic_channel, traffic_type, sort_order, country, export_columns
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
domainsource domaindatecountrydevice typetraffic sharetraffic changetrafficchanneltraffic typesearch engineprevious trafficcategories
Traffic SummaryWebsite trafficGET /analytics/ta/api/v3/summary
- Inputs
- targets; display_date, device_type, country, export_columns
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
domaintraffic rankvisitscategoriesdesktop visitsmobile visitsunique visitorsdesktop unique visitorsmobile unique visitorsdirect visitsreferral visitssocial visitssearch visitspaid visitsorganic search visitspaid search visitsorganic social visitspaid social visitsemail visitsdisplay ad visitsAI assistant visitsunknown channel visitsaverage visit durationdesktop average visit duration
Weekly TrafficWebsite trafficGET /analytics/ta/api/v3/summary_by_week
- Inputs
- target; display_date, target_type, device_type, country, include_forecasted_items, export_columns
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
datecountrydevice typedomaintraffic rankvisitsunique visitorspage viewsdirect visitsorganic search visitspaid search visitsorganic social visitspaid social visitsreferral visitsemail visitsdisplay ad visitsAI assistant visitsaverage visit durationpages per visitbounce ratedesktop sharemobile shareis forecasted
Plans & pricing references
Listed fees retain the source billing period and currency. Check the provider for allowances, overages and current terms.
| Plan | Billing | Listed fee | Coverage |
|---|---|---|---|
| Advanced, 10,000,000 API units | contact | See pricing | Backlinks, Keyword research, Ranked keywords and 2 more |
| Advanced, 2,000,000 API units | contact | See pricing | Backlinks, Keyword research, Ranked keywords and 2 more |
| Advanced, 20,000,000 API units | contact | See pricing | Backlinks, Keyword research, Ranked keywords and 2 more |
| Advanced, 5,000,000 API units | contact | See pricing | Backlinks, Keyword research, Ranked keywords and 2 more |
| Trends Basic API | contact | See pricing | Website traffic |
| Trends Premium API | contact | See pricing | Website traffic |
Matching plan fees are grouped across operations. Included credits, metered rates and allowances can differ by operation; consult the official pricing reference.
Coding agent prompt
Prepare the adapter with the provider's documentation and your own account.
Build a server-side integration for Semrush.
Read the official provider documentation before choosing authentication, request fields or a plan:
https://developer.semrush.com/api/v3/seo/backlinks/
https://developer.semrush.com/api/v3/seo/domain-reports/
https://developer.semrush.com/api/v3/seo/keyword-reports/
Catalog operations to verify against the current documentation:
- Backlinks (v3): GET /analytics/v1/; inputs: type "backlinks", target, target_type; export_columns, display_sort, display_limit, display_offset, display_filter
- Backlinks (v4): GET /apis/v4/backlinks/v1/links; inputs: url, scope; fields, order_by, direction, limit, offset, filter
- Backlinks overview (v3): GET /analytics/v1/; inputs: type "backlinks_overview", target, target_type, export_columns
- Backlinks overview (v4): GET /apis/v4/backlinks/v1/overview; inputs: url, scope; fields
Read credentials from a server-only environment variable such as PROVIDER_SEMRUSH_API_KEY; confirm the actual authentication scheme in the provider docs. Never expose credentials in browser code, URLs or logs.
Add bounded timeouts, explicit 401/403/429 handling, input validation and fixture-based tests. Preserve missing values and provider identifiers. Do not run paid or personal-data queries without approval. This is the provider's interface, not an All Them APIs execution endpoint.
If an endpoint, field, account permission or rate limit cannot be confirmed, list the missing requirement instead of inventing a working request. Return the adapter, tests and exact verification steps.Sources & integration checks
- Public source check
- Official source fetched · Nov 25, 2026
- Catalog source date
- Nov 12, 2026
- Authentication reference
- See each operation and confirm the provider's current access requirements.
- Before using in production
- Verify coverage, accepted-result billing, rate limits, data freshness and permitted use for your workload.
Catalog data: Datacircle, CC BY 4.0. Provider sources and check dates are recorded separately. Catalog prices and operations are references, not an Agent Bench result.