Semrush Keyword Difficulty

Docs ↗
https://api.sandbase.ai/v1/api/semrush/keyword-difficulty

Keyword difficulty score (0-100) for a phrase in a regional Semrush database.

Price
$0.005USD / call
Method
POST
Response
JSON
Parameters
2 required · 0 optional

Playground

Input
Regional Semrush database, e.g. "us", "uk", "de".
Keyword to analyze, e.g. "running shoes".
OutputReady

Your output will appear here

Complete the inputs, then click Run.

API README

Semrush Keyword Difficulty API

Keyword difficulty score (0-100) for a phrase in a regional Semrush database.

The result is returned in outputs[0].data as the official Semrush API response, unchanged.

Request

curl -X POST "https://api.sandbase.ai/v1/api/semrush/keyword-difficulty" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"phrase": "running shoes", "database": "us"}'

Parameters

NameTypeRequiredDescription
databasestringNoRegional Semrush database, e.g. "us", "uk", "de".
phrasestringYesKeyword to analyze, e.g. "running shoes".

Pricing

Billed at the actual cost of each call, about $0.005 for a typical request; the cost grows with the number of rows returned. Searches with no results are billed at their actual cost. Failed calls are not charged.

Explore more

Related APIs

All APIs
APIPriceResponse
SemrushFrom $0.005 per callJSON
SemrushFrom $0.08 per callJSON
SemrushFrom $0.08 per callJSON
SemrushFrom $0.08 per callJSON
Semrush$0.004 per callJSON
SemrushFrom $0.04 per callJSON

Questions

FAQ

How do I use the Semrush Keyword Difficulty API?

Send a POST request to https://api.sandbase.ai/v1/api/semrush/keyword-difficulty with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Semrush Keyword Difficulty API cost?

From $0.005 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the Semrush Keyword Difficulty API accept?

Required: database (string) and phrase (string). The Parameters table and the Playground on this page list every field.

What does the Semrush Keyword Difficulty API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Semrush developer account or API key?

No. Semrush Keyword Difficulty runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Semrush API access separately.