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.
How to run it
Step 1Set up
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.md
Show me how to use the Semrush endpoint /apis/v4/keywords/v1/metrics on Glasser.glasser run -p semrush -e '/apis/v4/keywords/v1/metrics' -i '{"country":"US","keyword":"espresso machine"}' --endpoint-version 5Uses endpoint version 5. Inspect the current price before running. 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. Uses endpoint version 5; inspect the current price before running.
Step 2Try a specific example task
When you need to prioritize a keyword shortlist, you might compare search-volume metrics to understand demand for the topics you are considering.
Copy this prompt into your agent to review search demand for your keyword shortlist.
Use semrush:/apis/v4/keywords/v1/metrics on Glasser.
Check demand for my keyword shortlist using the search-volume metrics actually returned.Endpoint structure
{
"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 pricing works
| Data returned | Charged only when data is returned. | $0.0011 |
|---|---|---|
| Provider error | The Provider failed to answer. | $0.00 |
| Timed out | The Run exceeded its time limit. | $0.00 |
| Internal failure | An internal error prevented completion. | $0.00 |