APIs / Web and SEO / Semrush

1 credit per call10 endpointsChecked working 6 Dec 2026

Semrush API

Semrush API for domain overview, competitors, website traffic, SERP volatility and content tools as JSON. 14 endpoints, 1 credit per call.

Semrush
GET/v1/semrush/facets
curl "https://api.perceptlayer.com/v1/semrush/facets" \
  -H "X-API-Key: $API_KEY"
cURL1 credit per successful call
Run this call below or from your dashboard to see a live response.

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/semrush/facets" \
  -H "X-API-Key: $API_KEY"

Semrush · 10 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

Note
Endpoints marked “Needs terms” return personal or social data. They work once you accept the restricted-endpoint terms in your dashboard.
EndpointRequired parametersReturnsCost
GET/v1/semrush/domain-competitors
domainNeeds terms
search_parameterscovereddomainsummarycompetitors
1 credit
GET/v1/semrush/domain-overview
domainNeeds terms
search_parametersdomaincoveredcoveragesemrush_rankorganic_keywords+8 more
1 credit
GET/v1/semrush/facets
noneNeeds terms
search_parameterssensortrending
1 credit
POST/v1/semrush/local-review-qr
business_nameplace_idNeeds terms
search_parametersrequest_idreview_linkreview_short_link
1 credit
GET/v1/semrush/sensor-movers
dbcategorydateNeeds terms
search_parametersdatedbcategorydomainscategories
1 credit
GET/v1/semrush/sensor-ranks
none+3 optionalNeeds terms
search_parametersrowsrow_count
1 credit
GET/v1/semrush/sensor-serp-features
dbcategorydateNeeds terms
search_parametersrow_count
1 credit
GET/v1/semrush/suggest
qNeeds terms
search_parameterssuggestions
1 credit
GET/v1/semrush/trending
none+2 optionalNeeds terms
search_parametersdatecountrycategorydomainstraffic_series+2 more
1 credit
GET/v1/semrush/website-traffic
domainNeeds terms
search_parameterscovereddomainbrand_namefaviconcountry+9 more
1 credit

Overview

About the Semrush API

What you can get

The Semrush API covers domain data, search volatility and content tools through 14 endpoints, all returning JSON. These are restricted endpoints: the restricted-endpoint terms apply before you call them.

  • Domains: domain-overview, domain-competitors and website-traffic each take a domain.
  • SERP volatility: sensor-ranks, sensor-movers and sensor-serp-features take a db (US, UK, DE, MOBILE-US and others), a category and a date.
  • Trends and ideas: trending by country and category, and suggest for a partial query in q.
  • Content tools: content-rewrite (choose a tool and a category such as simplify or summarize), content-summarize with a format of paragraph or bullets, content-titles and content-blogpost, each taking your text.
  • Local: local-review-qr takes a business_name and a place_id.

facets takes no parameters.

How a call works

Domain endpoints are one call: GET /v1/semrush/domain-overview?domain=example.com with your key in the X-API-Key header. The content tools are POST requests with your text in the body. Every successful call costs 1 credit; failed calls cost nothing.

Web and SEOJSONRESTMCPSome endpoints need terms

More web and seo APIs

Use cases

Compare a domain's traffic and competitors before a pitch or a market review

Use the Semrush API to compare a domain's traffic and competitors before a pitch or a market review

Watch SERP volatility by country and category after an algorithm update

Use the Semrush API to watch SERP volatility by country and category after an algorithm update

Summarise or rewrite draft copy inside a content workflow

Use the Semrush API to summarise or rewrite draft copy inside a content workflow

Give an SEO agent domain data as tool calls

Use the Semrush API to give an SEO agent domain data as tool calls

FAQ

Questions

How do credits work for the Semrush API?

You don't need a Semrush account. Each successful call costs 1 credit from your Perceptlayer balance, whichever endpoint you call, and failed calls cost nothing.

Where is the Semrush API documentation?

Each endpoint has its own page under this API with its parameters, allowed values and a playground to run a real call. The catalogue lists all 14.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Is this the official Semrush API?

No. Perceptlayer is an independent service and is not affiliated with Semrush. It returns Semrush data as JSON with a Perceptlayer key, so there is no Semrush developer account, app review or partner approval to get first. It only reads data: if Semrush has an official API and you need to act on your own Semrush account, such as posting, managing orders or reading private data, use that one.

Should I build a Semrush scraper instead?

You can, but a Semrush scraper is code you maintain: page changes break it, requests get blocked, and Semrush's terms govern how you collect data. The Semrush API gives you 10 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first. Some of these endpoints return social or personal data and need the restricted-endpoint terms; collect only what you have a lawful basis for.

Try the Semrush API with 100 free credits

No credit card. Failed calls are never billed.