APIs / Web and SEO / Semrush

1 credit per call14 endpoints

Semrush API

Get Semrush data as structured JSON with one API key: content blogpost, content rewrite, content summarize and content titles. Free credits every month.

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 · 14 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters 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 parametersCost
POST/v1/semrush/content-blogpost
textNeeds terms
1 credit
POST/v1/semrush/content-rewrite
toolcategorytextNeeds terms
1 credit
POST/v1/semrush/content-summarize
text+2 optionalNeeds terms
1 credit
POST/v1/semrush/content-titles
textNeeds terms
1 credit
GET/v1/semrush/domain-competitors
domainNeeds terms
1 credit
GET/v1/semrush/domain-overview
domainNeeds terms
1 credit
GET/v1/semrush/facets
noneNeeds terms
1 credit
POST/v1/semrush/local-review-qr
business_nameplace_idNeeds terms
1 credit
GET/v1/semrush/sensor-movers
dbcategorydateNeeds terms
1 credit
GET/v1/semrush/sensor-ranks
none+3 optionalNeeds terms
1 credit
GET/v1/semrush/sensor-serp-features
dbcategorydateNeeds terms
1 credit
GET/v1/semrush/suggest
qNeeds terms
1 credit
GET/v1/semrush/trending
none+2 optionalNeeds terms
1 credit
GET/v1/semrush/website-traffic
domainNeeds terms
1 credit

Overview

About the Semrush API

What you can get

The Semrush API returns content blogpost, content rewrite, content summarize and content titles as clean JSON. Each successful call costs one credit, and calls that fail are free.

Web and SEOJSONRESTMCPSome endpoints need terms

More web and seo APIs

Use cases

Research traffic and keywords for any domain

Use the Semrush API to research traffic and keywords for any domain

Check sites at scale

Use the Semrush API to check sites at scale

Enrich company and domain data

Use the Semrush API to enrich company and domain data

FAQ

Questions

How much does the Semrush API cost?

Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.

What format are responses in?

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

Do I need a separate key for Semrush?

No. One key works for every API in the catalogue.

Try the Semrush API with 1,000 free credits

No credit card. Failed calls are never billed.