Provided by Semrush
Look Up Volume, Difficulty and Intent for One Keyword (Semrush)
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.
Contract snapshot: 2026-09-29. Inspect in Glasser for current terms.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"keyword",
"country"
],
"properties": {
"month": {
"type": "string",
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
},
"country": {
"enum": [
"AF",
"AL",
"DZ",
"AO",
"AR",
"AM",
"AU",
"AT",
"AZ",
"BS",
"BH",
"BD",
"BY",
"BE",
"BZ",
"BO",
"BA",
"BW",
"BR",
"BN",
"BG",
"KH",
"CM",
"CA",
"CV",
"CL",
"CO",
"CR",
"HR",
"CY",
"CZ",
"CD",
"DK",
"DO",
"EC",
"EG",
"SV",
"EE",
"ET",
"FI",
"FR",
"GE",
"DE",
"GH",
"GR",
"GT",
"GY",
"HT",
"HN",
"HK",
"HU",
"IS",
"IN",
"ID",
"IE",
"IL",
"IT",
"JM",
"JP",
"JO",
"KZ",
"KW",
"LV",
"LB",
"LY",
"LT",
"LU",
"MG",
"MY",
"MT",
"MU",
"MX",
"MD",
"MN",
"ME",
"MA",
"MZ",
"NA",
"NP",
"NL",
"NZ",
"NI",
"NG",
"NO",
"OM",
"PK",
"PA",
"PY",
"PE",
"PH",
"PL",
"PT",
"QA",
"RO",
"RU",
"SA",
"SN",
"RS",
"SG",
"SK",
"SI",
"ZA",
"KR",
"ES",
"LK",
"SE",
"CH",
"TW",
"TH",
"TT",
"TN",
"TR",
"UA",
"AE",
"UK",
"US",
"UY",
"VE",
"VN",
"ZM",
"ZW",
"GB"
],
"type": "string",
"description": "Upper-case two-letter code from Semrush's supported list (https://developer.semrush.com/api/v4/seo/keyword-reports/), e.g. \"US\", \"UK\", \"DE\", \"FR\", \"JP\". Semrush writes the United Kingdom as \"UK\"; \"GB\" is accepted and sent as \"UK\"."
},
"keyword": {
"type": "string",
"maxLength": 255,
"minLength": 1
}
},
"additionalProperties": false
}{
"country": "US",
"keyword": "espresso machine"
}This Endpoint publishes no output schema. You get the Provider's own response body, unchanged — we do not warrant a shape we cannot guarantee.
How to run it
Two fields identify it: the Provider and the endpoint key. The key looks like a path because it usually mirrors the Provider's own, but it is an opaque identifier — not a URL you can open. The same provider:endpoint pair is what your Policy lists.
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.
set up https://glasser.ai/SKILL.mdThen ask for this Endpoint:
Run the Semrush Endpoint /apis/v4/keywords/v1/metrics on Glasser with input {"country":"US","keyword":"espresso machine"}glasser run -p semrush -e '/apis/v4/keywords/v1/metrics' -i '{"country":"US","keyword":"espresso machine"}' --endpoint-version 5Pinned to version 5, the one this page shows: if a newer version is published first, the Run is refused instead of charged under new terms. Install and log in first on Get Started.
Once per Run:
IDEMPOTENCY_KEY=$(uuidgen)Run it, and copy this same block to send it again:
curl -X POST https://api.glasser.ai/v1/runs \
-H "Authorization: Bearer gl_..." \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"semrush","endpoint":"/apis/v4/keywords/v1/metrics","input":{"country":"US","keyword":"espresso machine"},"endpoint_version":5}'Reuse the same Idempotency-Key to send it again: the second send is a read of the first Run. A new key is a new Run and a new Charge. Pinned to version 5 for the same reason as the CLI.
What each outcome charges
| No result | The Provider answered: nothing matched. | $0.00 |
|---|---|---|
| Provider error | The Provider failed to answer. | $0.00 |
| Timed out | The deadline won. | $0.00 |
| Internal failure | Our defect. | $0.00 |