Glasser

Semrush API for keyword metrics and backlink research

Copy and paste into your agent to get started.

set up https://glasser.ai/SKILL.md
21 published endpointsPay as you goView Semrush endpoints ↓

Data provided by Semrush. Access and billing through Glasser.

Choose keyword metrics, link totals or individual links

Need volume, difficulty and intent for a keyword?

The keyword metrics operation accepts one keyword and country. It returns search volume, CPC, difficulty, intent and related metrics. Several keywords require several calls.

View endpoint →

Need the size and strength of a link profile?

Backlink Overview returns Authority Score and aggregate backlink and referring-domain totals. Set the target scope to match a domain, subdomain or URL.

View endpoint →

Need to inspect the actual backlinks?

The links report returns source pages, anchors, targets and link flags, with up to 20 rows and no further-page cursor. Referring Domains returns domain rows instead of individual links.

View endpoint →

How to test the Semrush API

Prepare your input

Review the selected endpoint’s required fields, sample input and limits. Replace the sample values with a keyword, domain or record you can verify. Reading the schema helps you prepare a request; it does not retrieve provider data.

View inputs →

Try a paid data call

Start with one request through your Glasser account. Check the current price and charge conditions, then compare the returned fields with the information you need. Review the result and actual charge before increasing your request volume.

$0.0011 per call
Current catalog price for the example below

View example →

Semrush API example:
One keyword, one country

Look up the Semrush metrics of a single keyword in one country: its monthly search volume, CPC, keyword difficulty, competitive density, search intents, a twelve-month volume trend and the SERP features present. Supply one keyword and a two-letter country code such as US, plus an optional YYYY-MM month. One keyword per call, so several keywords mean several calls.

Endpoint
/apis/v4/keywords/v1/metrics
Required inputs
keyword, country
Source
Published contract · 2026-10-24 · version 5
View endpoint →

Provider docs ↗

Start with this sample input

Sample input
{
  "country": "US",
  "keyword": "espresso machine"
}

This published input defines the request. Run it in Glasser to inspect the provider’s actual response.

Read the result

Compare keyword metrics within the same country and month. Search volume is a demand estimate; it does not measure the impressions received by your website.

Run this example

Once: paste this into your agent's chat. The Skill installs the CLI and logs in by itself. For an agent that cannot use a shell, connect it over MCP instead.

Setup prompt
set up https://glasser.ai/SKILL.md

Then ask for this Endpoint:

Agent prompt
Run the Semrush Endpoint /apis/v4/keywords/v1/metrics on Glasser with input {"country":"US","keyword":"espresso machine"}

For the contract version above, an empty result costs $0.00; provider errors cost $0.00 and timeouts cost $0.00. Check the current contract before running. This page describes published inputs and does not report a completed data-quality test.

Run example ↗
Another example: Individual backlinks with target scope
Sample input
{
  "url": "stripe.com",
  "limit": 10,
  "scope": "ROOT_DOMAIN"
}

Published input · 2026-10-24.

Read the result

Inspect the source URL, target URL and link attributes. Twenty returned links are a bounded report, so do not interpret the response as a complete export of a large backlink profile.

Price: $0.002475 per result, capped at $0.10 per run.

View endpoint →

Semrush API endpoints and pricing

12 of 21 matching endpoints · 21 totalCurrent catalog prices

Compare a Domain's Search Traffic Across Every Country (Semrush)

/?type=domain_ranks

Get one domain's search overview in every Semrush database at once: one row per country (and per mobile database) with the Semrush rank, organic keywords, traffic and its value, and Google Ads keywords, traffic and cost. Supply a bare domain. A domain present everywhere returns about 140 rows; one charge per row, and the row limit caps the bill.

$0.00055per resultmax $0.0825 per runView details ↗

Find a Domain's Organic Search Competitors (Semrush)

/?type=domain_organic_organic

Find the domains that compete with a domain in Google's organic results of one country: every row carries the competitor, its relevance, the number of keywords both rank for, and the competitor's organic keywords, traffic, traffic cost and Google Ads keywords. Supply a bare domain and a Semrush database. 10 competitors unless you ask for up to 100; one charge per row.

$0.0022per resultmax $0.22 per runView details ↗

Find Broad-Match Keywords That Contain a Keyword (Semrush)

/?type=phrase_fullsearch

Find the keywords that contain one keyword in any order or form (broad match) in one country: every row carries the keyword, the number of results, CPC, competition, monthly search volume and a 12-month trend. Supply the keyword and a Semrush database. 10 rows unless you ask for up to 100; one charge per row.

$0.0011per resultmax $0.11 per runView details ↗

Find Domains with a Similar Backlink Profile (Semrush)

/analytics/v1/?type=backlinks_competitors

Find the domains whose backlink profile overlaps a root domain, hostname or URL: every row carries the competitor, its authority score, the similarity, the number of referring domains in common, and the competitor's referring domains and backlinks. Supply the target and its type. 10 competitors unless you ask for up to 100; one charge per row.

$0.0022per resultmax $0.22 per runView details ↗

Find Keywords Related to a Keyword, with Volume and CPC (Semrush)

/?type=phrase_related

Find keywords related to one keyword in one country, ordered by relevance: every row carries the related keyword, the number of results, CPC, competition, monthly search volume, a 12-month trend and its relevance score. Supply the keyword and a Semrush database. 10 rows unless you ask for up to 100; one charge per row.

$0.0022per resultmax $0.22 per runView details ↗

Find the Keyword Gap Between Two to Five Domains in Google (Semrush)

/?type=domain_domains

Line up two to five domains keyword by keyword in one country's Google organic results: every row is a keyword with each domain's position, search volume, CPC, keyword difficulty, competition, the number of results and a 12-month trend. Supply the domains and a Semrush database; the rows are the keywords any of them ranks for. 10 rows unless you ask for up to 100; one charge per row.

$0.0044per resultmax $0.44 per runView details ↗

Find the Questions People Search About a Keyword (Semrush)

/?type=phrase_questions

Find question-form searches that contain one keyword in one country (what, how, why …): every row carries the question, the number of results, CPC, competition, monthly search volume and a 12-month trend. Supply the keyword and a Semrush database. 10 questions unless you ask for up to 100; one charge per row.

$0.0022per resultmax $0.22 per runView details ↗

Get a Domain's Monthly Search Traffic History (Semrush)

/?type=domain_rank_history

Get one domain's month-by-month search history in one country, newest month first: every row carries the date, the Semrush rank, organic keywords, traffic and its value, and Google Ads keywords, traffic and cost. Supply a bare domain and a Semrush database. 12 months unless you ask for up to 200; one charge per month.

$0.00055per resultmax $0.11 per runView details ↗

Get a Domain's Organic and Paid Search Overview in One Country (Semrush)

/?type=domain_rank

Get one domain's search overview in one country: the Semrush rank, the number of organic keywords, organic traffic and its value, and the number of Google Ads keywords, paid traffic and its cost. Supply a bare domain and a Semrush database. One row per call.

$0.00055per resultmax $0.00055 per runView details ↗

Get Authority Score and Backlink Totals for a Domain, Subdomain or URL (Semrush)

/apis/v4/backlinks/v1/overview

Get the link profile totals of a root domain, a subdomain or a single URL: the Semrush Authority Score, the backlink and referring domain counts, the follow and nofollow split, the new and lost links of the last period, and the number of referring IPs. Supply the target and the scope that says how to read it. Totals for the whole profile, one set of figures per call.

$0.002475per callView details ↗

List a Domain's Most-Linked Pages (Semrush)

/analytics/v1/?type=backlinks_pages

List the pages of a root domain, hostname or URL that attract the most backlinks: every row carries the page URL and title, its HTTP status, the number of backlinks and linking domains, the last seen date and its outbound external and internal link counts. Supply the target and its type. 10 pages unless you ask for up to 100; one charge per row.

$0.0022per resultmax $0.22 per runView details ↗

List Inbound Links and Their Anchor Text for a Domain, Subdomain or URL (Semrush)

/apis/v4/backlinks/v1/links

List the inbound links that point at a root domain, a subdomain or a single URL: every row carries the source page and its title, the anchor text, the target URL, the page and domain scores, the nofollow, sponsored and UGC flags, and the first and last seen dates. Supply the target, its scope and a row limit. One row per link and at most 20 links per call, with no cursor for a further page.

$0.002475per resultmax $0.10 per runView details ↗

Access, pricing and data questions

How much does the Semrush API cost through Glasser?

Each listed operation shows its current Glasser price and billing unit. For a per-call operation, multiply the displayed rate by the number of billable calls; for a per-result operation, use returned billable rows and inspect the cap and charge conditions.

Are Semrush API units the same as Glasser pricing?

Semrush’s direct API documentation describes its access plans and API units. Glasser publishes a separate dollar-denominated endpoint price. Use the pricing system for the access route you choose; API unit packages do not describe a Glasser run’s charge.

Where do I find authentication and request parameters?

Use the Glasser endpoint detail and Glasser documentation for a call through this catalog. Semrush’s official documentation applies to direct Semrush access and explains the upstream report semantics.

Can I use this page for email verification?

The Semrush operations listed here cover keyword and backlink research. Choose a dedicated email-data provider for an email verification workflow.

Connect your agent
to Semrush.

Setup prompt
set up https://glasser.ai/SKILL.md