# RankSpot

> Use the RankSpot Articles API to programmatically generate, schedule, and publish SEO-optimized blog articles to your connected website.

- [Introduction](https://rankspot.ai/docs/index.md): Welcome to your project
- [MCP server](https://rankspot.ai/docs/mcp-server.md): Connect Claude, Cursor, VS Code, Codex, or any MCP client to your RankSpot workspace and do SEO research, planning, and writing in plain English.
- [Get the workspace](https://rankspot.ai/docs/api-reference/workspace/get-the-workspace.md): Returns the brand and business context for the workspace your API key belongs to: brand name, domain, what the business does, who it sells to, tone of voice, industry, and the country and language it targets.
- [List keywords](https://rankspot.ai/docs/api-reference/keywords/list-keywords.md): Returns a paginated list of keywords. Defaults to the worklist: keywords with no article planned and none written (`type=new`), the same default the searches list uses. State is derived from the actions and articles linked to the keyword, so it moves on its own. Pass `type=planned`, `type=processed`…
- [Add keywords](https://rankspot.ai/docs/api-reference/keywords/add-keywords.md): Adds one or more keywords to your workspace. Duplicates are silently skipped. Returns the count of newly inserted keywords.
- [Archive a keyword](https://rankspot.ai/docs/api-reference/keywords/archive-a-keyword.md): Soft-deletes a keyword by setting its archived date. Archived keywords are excluded from the default list but can be retrieved with `type=archived`. Use `/unarchive` to restore.
- [Unarchive a keyword](https://rankspot.ai/docs/api-reference/keywords/unarchive-a-keyword.md): Restores a previously archived keyword so it appears in the default list again.
- [Get cluster keywords](https://rankspot.ai/docs/api-reference/keywords/get-cluster-keywords.md): Returns keywords that are semantically similar to the given seed keyword. Useful for grouping related keywords under a single content topic. Returns an empty array if the seed keyword has not been semantically indexed yet.
- [List competitors](https://rankspot.ai/docs/api-reference/competitors/list-competitors.md): Returns a paginated list of competitor domains in your workspace. `scope=tracked` (the default) is ordered by creation date descending; `discovered` and `all` are ordered by mention count descending.
- [Add a competitor](https://rankspot.ai/docs/api-reference/competitors/add-a-competitor.md): Adds a competitor domain to your workspace. After adding, RankSpot will begin discovering keywords and backlinks for this competitor on the next background sync — results will not appear immediately.
- [Remove a competitor](https://rankspot.ai/docs/api-reference/competitors/remove-a-competitor.md): Removes a competitor from your workspace: it stops being tracked and no longer appears in any list, at any scope. The AI answers already attributed to it are kept, so past visibility scores do not change — deleting the row would take them with it. Adding the same domain again restores it. Associated…
- [List forum opportunities](https://rankspot.ai/docs/api-reference/forum-opportunities/list-forum-opportunities.md): Returns a paginated list of forum opportunities. Archived items are never included. Filter by `status` (comma-separated or repeated: `?status=new,processed`) or by `competitorId`.
- [Create a forum opportunity](https://rankspot.ai/docs/api-reference/forum-opportunities/create-a-forum-opportunity.md): Adds a forum thread or community post as a link-building opportunity. The `url` must be unique per workspace — if the same URL is submitted again, the existing record is returned unchanged (idempotent). Optionally associate the opportunity with a tracked competitor via `competitorId`.
- [Archive a forum opportunity](https://rankspot.ai/docs/api-reference/forum-opportunities/archive-a-forum-opportunity.md): Soft-deletes the forum opportunity by setting its archived date. Archived items are excluded from the list endpoint.
- [Update a forum opportunity](https://rankspot.ai/docs/api-reference/forum-opportunities/update-a-forum-opportunity.md): Updates the `status` of a forum opportunity. Set to `processed` once you have engaged with the thread, or back to `new` to requeue it.
- [List questions](https://rankspot.ai/docs/api-reference/people-also-ask/list-questions.md): Returns a paginated list of "People also ask" questions discovered from search results for your tracked keywords. Questions are auto-populated by RankSpot — they cannot be created via the API. Archived questions are never returned. Filter by `status` to separate new from already-processed questions.
- [Archive a question](https://rankspot.ai/docs/api-reference/people-also-ask/archive-a-question.md): Soft-deletes the question by setting its archived date. Archived questions are excluded from the list endpoint.
- [Update a question](https://rankspot.ai/docs/api-reference/people-also-ask/update-a-question.md): Updates the `status` of a question. Mark it `processed` once you have used or addressed the question (e.g. added it as an FAQ in an article), or set it back to `new` to reconsider it.
- [List backlinks](https://rankspot.ai/docs/api-reference/backlinks/list-backlinks.md): Returns a paginated list of backlinks. Use `type` to switch between competitor backlinks (default), your own backlinks, or archived ones. Combine `type=competitors` with `competitorId` to scope results to a single competitor. Filter by `domainFrom` substring to search for a specific linking domain.
- [Archive a backlink](https://rankspot.ai/docs/api-reference/backlinks/archive-a-backlink.md): Soft-deletes a backlink by setting its archived date. Archived backlinks are excluded from the default list but can be retrieved with `type=archived`. Use `/unarchive` to restore.
- [Unarchive a backlink](https://rankspot.ai/docs/api-reference/backlinks/unarchive-a-backlink.md): Restores a previously archived backlink so it appears in the default list again.
- [Update backlink status](https://rankspot.ai/docs/api-reference/backlinks/update-backlink-status.md): Mark a backlink as processed or new. Use this to track which competitor backlink opportunities you have already acted on.
- [List actions](https://rankspot.ai/docs/api-reference/actions/list-actions.md): Returns a paginated list of actions ordered by position then creation date. Filter by `status` and `types`, both of which accept comma-separated or repeated values, or a `search` substring matching the title or description. Archived actions are never returned.
- [Create an action](https://rankspot.ai/docs/api-reference/actions/create-an-action.md): `type` is required and has no default, and it decides which other fields apply:
- [Get an action](https://rankspot.ai/docs/api-reference/actions/get-an-action.md): Returns a single action by ID, including its linked keywords and the ID of the generated article (if one exists).
- [Delete an action](https://rankspot.ai/docs/api-reference/actions/delete-an-action.md): Permanently deletes an action. This is a hard delete and cannot be undone. If an article was generated from it, the article is preserved and only the link is removed.
- [Update an action](https://rankspot.ai/docs/api-reference/actions/update-an-action.md): Edits an action's content — `title`, `slug`, `shortDescription`, `description`, `additionalInstructions`, `categoryId`, `keywordIds` — or its bookkeeping: `status` and `archived`. Passing `keywordIds` replaces the full set of linked keywords.
- [Generate an article for an action](https://rankspot.ai/docs/api-reference/actions/generate-an-article-for-an-action.md): Triggers AI article generation. The action must be `type: "write_article"` with `status: "new"`. Generation is asynchronous and takes ~5-10 minutes: this returns `{ "success": true }` immediately, then poll `GET /actions/:id` until `status` is `processed` (or watch `GET /articles`) to pick up the `a…
- [List categories](https://rankspot.ai/docs/api-reference/categories/list-categories.md): Returns a paginated list of all categories in your workspace, ordered by creation date descending.
- [Create a category](https://rankspot.ai/docs/api-reference/categories/create-a-category.md): Creates a new category in your workspace. Category names must be unique within a workspace. A default color is assigned automatically.
- [Delete a category](https://rankspot.ai/docs/api-reference/categories/delete-a-category.md): Permanently deletes a category. Actions and articles that were assigned to this category will have their `categoryId` set to null.
- [Update a category](https://rankspot.ai/docs/api-reference/categories/update-a-category.md): Rename a category. The new name must be unique within the workspace.
- [List articles](https://rankspot.ai/docs/api-reference/articles/list-articles.md): Returns a paginated list of articles in your workspace. Filter by `search` (title or description substring), `slug` (slug substring, which resolves a published URL back to its article), `status` or `categoryId`. The `contentHtml` field is omitted from list responses to keep payloads small — fetch a…
- [Get an article](https://rankspot.ai/docs/api-reference/articles/get-an-article.md): Returns a single article including its full `contentHtml`. Articles are identified by UUID.
- [Delete an article](https://rankspot.ai/docs/api-reference/articles/delete-an-article.md): Permanently deletes an article. This action cannot be undone. Associated action and keyword links are preserved.
- [Update an article](https://rankspot.ai/docs/api-reference/articles/update-an-article.md): Update metadata such as `title`, `description`, `slug`, `coverImageUrl`, or `categoryId`. The `slug` must be unique within your workspace. Article content and status are managed by RankSpot and cannot be changed via the API.
- [List tracked prompts](https://rankspot.ai/docs/api-reference/ai-visibility/list-tracked-prompts.md): Returns the prompts asked on every AI visibility run. Archived prompts are excluded by default; pass `type=archived` for those instead.
- [Track a new prompt](https://rankspot.ai/docs/api-reference/ai-visibility/track-a-new-prompt.md): Adds a prompt to the daily run. Resubmitting a prompt you archived restores it rather than failing. Results are not available immediately: the prompt is asked on the next scheduled run.
- [Archive a prompt](https://rankspot.ai/docs/api-reference/ai-visibility/archive-a-prompt.md): Archives rather than deletes: the run history is the only source for the reporting, so removing it would rewrite past results. An archived prompt stops being run and frees its allowance slot.
- [Edit a prompt](https://rankspot.ai/docs/api-reference/ai-visibility/edit-a-prompt.md): Updates the `text` of a tracked prompt. The run history stays attached: it is the same tracked question, reworded. Add a new prompt for a different question.
- [Restore an archived prompt](https://rankspot.ai/docs/api-reference/ai-visibility/restore-an-archived-prompt.md): Puts the prompt back into the daily run. It takes an allowance slot again, so it is refused when the workspace is already at its limit.
- [List AI responses](https://rankspot.ai/docs/api-reference/ai-visibility/list-ai-responses.md): Captured answers for your tracked prompts, newest first. Covers the full history unless you narrow it with `startDate` and `endDate`. Runs that failed or are still in flight are not returned, so an absent response is never counted as a miss.
- [Get one AI response](https://rankspot.ai/docs/api-reference/ai-visibility/get-one-ai-response.md): The full answer as markdown, the pages it cited in order, the searches the platform ran, and every brand it named with its rank and sentiment.
- [List cited pages](https://rankspot.ai/docs/api-reference/ai-visibility/list-cited-pages.md): Pages the AI platforms cited while answering your prompts, most-cited first. Defaults to the worklist: pages not yet acted on. Pass `type=processed` or `type=archived` for the others. Covers the full history unless you narrow it with `startDate` and `endDate`; filter by `domain` substring to look at…
- [Archive a cited page](https://rankspot.ai/docs/api-reference/ai-visibility/archive-a-cited-page.md): Hides a page from the default list; retrieve it with `type=archived` and restore it with `/unarchive`. It keeps counting towards the reporting, because archiving is a statement about your workflow and not about what the engines cited.
- [Update a citation](https://rankspot.ai/docs/api-reference/ai-visibility/update-a-citation.md): Updates the `status` of a cited page. Set to `processed` once you have acted on the citation opportunity, or back to `new` to requeue it. Archiving is a separate axis: use `DELETE` and `/unarchive`. The returned `citations` and `platforms` are all-time totals, since a write has no period to count ov…
- [Unarchive a cited page](https://rankspot.ai/docs/api-reference/ai-visibility/unarchive-a-cited-page.md): Restores a previously archived page so it appears in the default list again.
- [List fanout queries](https://rankspot.ai/docs/api-reference/ai-visibility/list-fanout-queries.md): The searches the AI platforms ran while answering your prompts, most-run first. Where a citation tells you which page an engine trusted, a fanout query tells you what it decided it needed to know, so a query you rank for nowhere is a content gap stated in the engine's own words. Defaults to the work…
- [Get semantically related searches](https://rankspot.ai/docs/api-reference/ai-visibility/get-semantically-related-searches.md): The searches that mean the same thing as this one, most-run first, with the seed leading. Engines phrase one intent many ways, so an action should carry the cluster rather than whichever phrasing you happened to pick: pass the ids straight to rankspot_create_action as `fanoutQueryIds`. Returns just…
- [Archive a fanout query](https://rankspot.ai/docs/api-reference/ai-visibility/archive-a-fanout-query.md): Hides a query from the default list; retrieve it with `type=archived` and restore it with `/unarchive`. It keeps counting towards the reporting, because archiving is a statement about your workflow and not about what the engines ran.
- [Unarchive a fanout query](https://rankspot.ai/docs/api-reference/ai-visibility/unarchive-a-fanout-query.md): Restores a previously archived query so it appears in the default list again.
- [Get AI visibility summary](https://rankspot.ai/docs/api-reference/ai-visibility/get-ai-visibility-summary.md): How your brand did in AI answers over a period: four headline scores, the split across platforms, and the ten most-mentioned brands with yours among them.
- [Search Google](https://rankspot.ai/docs/api-reference/research/search-google.md): A live Google search, returned as `items`: the blocks of the results page in page order, each with a `type` to branch on. `types` chooses which blocks come back and defaults to `organic` and `discussions_and_forums`; ask for `ai_overview`, `people_also_ask`, `video` or `related_searches` when you wi…
- [Fetch a page as text](https://rankspot.ai/docs/api-reference/research/fetch-a-page-as-text.md): Fetches one public URL and returns its main content as markdown. That is the whole response: `{ "markdown": "# ..." }`. Two providers are tried in turn, so pages that block the first one (Reddit, most notably) still come back, and which one answered is not something the caller has to care about. Cos…
- [Get Search Console performance data](https://rankspot.ai/docs/api-reference/search-console/get-search-console-performance-data.md): Returns clicks, impressions, CTR, and average position from Google Search Console for your connected property.
- [Check whether a page is indexed](https://rankspot.ai/docs/api-reference/search-console/check-whether-a-page-is-indexed.md): Inspects a single URL with the Google Search Console URL Inspection API and reports its index status.
- [Submit a page for indexing](https://rankspot.ai/docs/api-reference/search-console/submit-a-page-for-indexing.md): Notifies Google via the Indexing API that a URL has been added/updated (`URL_UPDATED`) or removed (`URL_DELETED`).

## OpenAPI Specs

- [docs-json](https://api.rankspot.ai/docs-json)

## Optional

- [Blog](/content/blog/index.html)

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.
