Documentación para desarrolladores

Ignore a keyword, or undo it

POST/sites/{siteId}/keywords/ignore
Permiso
actions:write
Herramienta MCP
ignore_keyword

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.

Las descripciones vienen del documento OpenAPI y están en inglés.

Parámetros

NombreDóndeDetalles
siteIdObligatoriorutastringWebsite id, from GET /sites.

Cuerpo de la petición

CampoDetalles
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"
}

Respuesta

200 · application/json

CampoDetalles
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

Errores

EstadoSignificado
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.

Petición de ejemplo

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"

Respuesta de ejemplo

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

El servidor MCP hace lo mismo con la herramienta ignore_keyword.