Developer docs

Ignore a keyword, or undo it

POST/sites/{siteId}/keywords/ignore
Scope
actions:write

Ignore a keyword, or undo it Hides the keyword from Keywords, Keyword gaps, content ideas and the opportunity counts. Kept by the keyword text, so it stays hidden after keyword and gap refreshes, and a gap keyword not in the list can be ignored too. on false undoes it. The same call twice changes nothing (changed false). Ignoring stops daily checks of the keyword. Recorded in the website's Activity as the key owner.

Parameters

NameInDetails
siteIdRequiredpathstringWebsite id, from GET /sites.

Request body

FieldDetails
keywordstring · at most 120 characters; The keyword text
keyword_idstring · Or the keyword id, from GET /keywords
ontrue or false · Default true; false undoes it
reasonstring · at most 300 characters; Why, kept with it (at most 300 characters)
{
  "keyword": "bike shop login",
  "reason": "A competitor brand"
}

Response

200 · application/json

FieldDetails
keywordstring · required; The keyword text, normalised
ignoredtrue or false · required; Hidden now
changedtrue or false · required; False when it already was in that state
untrackedtrue or false · required; True when ignoring stopped its daily checks
linkaddress (URL) · required; The Keywords screen in the app

Errors

StatusMeaning
400Bad request. Codes: missing_keyword, bad_keyword, bad_on, bad_reason, reason_too_long.
401Missing, unknown or revoked key. Codes: missing_key, invalid_key.
403The key lacks the scope, covers another website, or its owner lost access. Codes: missing_scope, other_site, owner_left, no_owner, forbidden.
404Not found. Codes: not_found, keyword_not_found.
429Too many requests this hour for this key. Codes: rate_limited.

Example request

curl -X POST \
  -H "Authorization: Bearer mr_ws_…" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"bike shop login","reason":"A competitor brand"}' \
  "https://app.monoranks.com/api/v1/sites/SITE_ID/keywords/ignore"

Example response

{
  "keyword": "bike shop login",
  "ignored": true,
  "changed": true,
  "untracked": false,
  "link": "https://app.monoranks.com/sites/3f6c2a1e-8b4d-4c7a-9e21-5d0b7a6f4c13/keywords"
}

The MCP server does the same with the tool ignore_keyword.