morigraph Start free

Data APIs ยท Semrush

Semrush data APIs for AI agents

morigraph has 2 Semrush data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including domain overview and keyword research. You need no Semrush developer account or API key, only one morigraph connection. A call costs 0.108 credits, about $10.8 for 1,000 calls, paid from one balance.

APIs
2
Price
0.108 credits a call
Call it from
MCP, command line and HTTP API
Needs
One morigraph connection. No Semrush account or API key

Three ways to call it

Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Semrush Domain Overview.

In your assistant (MCP). Connect once, then ask in plain words

claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp

Use morigraph's Semrush Domain Overview data API with {"database":"us","domain":"ahrefs.com"} and summarise what comes back.

From a terminal or script (CLI)

npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"semrush.overview","input":{"database":"us","domain":"ahrefs.com"}}'

From your own code (HTTP API)

curl https://api.morigraph.com/v1/tools/data_api \
  -H "Authorization: Bearer $MORIGRAPH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"semrush.overview","input":{"database":"us","domain":"ahrefs.com"}}'

2 Semrush data APIs

APIIdPrice
Semrush Domain Overviewsemrush.overview0.108 credits a call
Semrush Keyword Researchsemrush.keywords0.108 credits a call

Semrush Domain Overview

semrush.overview0.108 credits a call (about $10.8 for 1,000)

a Semrush SEO overview for any domain: Authority Score, organic and paid traffic, keyword and backlink counts, top country, and the domain's top organic keywords.

ArgumentTypeRequiredWhat it is
databasestringnoTwo-letter Semrush regional database that scopes the metrics (e.g. us, uk, de). Default "us".
domainstringyesThe domain to analyze (e.g. ahrefs.com).
includeMozbooleannoAdd Moz Domain Authority and Spam Score to the response. Default false.

Returns aiVisibility authorityScore backlinks database domain followBacklinks mozDomainAuthority mozSpamScore nofollowBacklinks organicKeywords organicTraffic organicTrafficCostUsd paidKeywords paidTraffic paidTrafficCostUsd referringDomains topCountry topCountryTraffic topKeywords totalTraffic

The call

data_api({"api":"semrush.overview","input":{"database":"us","domain":"ahrefs.com"}})

Semrush Keyword Research

semrush.keywords0.108 credits a call (about $10.8 for 1,000)

Semrush keyword research for any term: monthly search volume, CPC, competition, keyword difficulty, plus related keywords and question keywords.

ArgumentTypeRequiredWhat it is
databasestringnoTwo-letter Semrush regional database that scopes the metrics (e.g. us, uk, de). Default "us".
keywordstringyesThe search term to research (e.g. "best running shoes").

Returns competition cpcUsd database intents keyword keywordDifficulty organicResultsCount questions referringDomainsMedian relatedKeywords searchVolume

The call

data_api({"api":"semrush.keywords","input":{"database":"us","keyword":"best running shoes"}})

Good to know

When to choose something else

Choose a provider that specialises in Semrush data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.

Questions

Do I need a Semrush API key or developer account?

No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 2 APIs on this page.

What does Semrush data cost through morigraph?

0.108 credits a call, where a credit is about 10 cents. That is from about $10.8 for 1,000 calls. You pay per call from one balance, with no separate subscription.

Can Claude, ChatGPT or Cursor get Semrush data?

Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.

Which Semrush data APIs are available?

Semrush Domain Overview and Semrush Keyword Research.

Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.