Keyword Difficulty
Semrush API
Keyword Difficulty
Keyword Difficulty Index (0-100) for one or more keywords.
GET
Keyword Difficulty
Keyword Difficulty Index (0-100) for one or more keywords.
Billing is per returned data row, $0.45 per row (up to 20 rows). A broad seed returns more rows, so the input size decides the cost — start narrow.
⚠️ The response is semicolon-delimited text, not JSON — parse it as CSV-style rows.
Related:
get_semrush-keyword-overview.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
One or more keywords separated by ; (up to 20).
Example:
"seo tools;ahrefs"
Regional database / country code. Defaults to us.
Response
200 - text/plain
Semicolon-delimited rows. Header: Keyword;Keyword Difficulty Index.
The response is of type string.