llms.txt
RankSpot
Use the RankSpot Articles API to programmatically generate, schedule, and publish SEO-optimized blog articles to your connected website.
- Introduction: Welcome to your project
- MCP server: 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: 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: 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. Passtype=planned,type=processed… - Add keywords: Adds one or more keywords to your workspace. Duplicates are silently skipped. Returns the count of newly inserted keywords.
- Archive a keyword: 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/unarchiveto restore. - Unarchive a keyword: Restores a previously archived keyword so it appears in the default list again.
- Get cluster keywords: 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: Returns a paginated list of competitor domains in your workspace.
scope=tracked(the default) is ordered by creation date descending;discoveredandallare ordered by mention count descending. - Add a competitor: 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: 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: Returns a paginated list of forum opportunities. Archived items are never included. Filter by
status(comma-separated or repeated:?status=new,processed) or bycompetitorId. - Create a forum opportunity: Adds a forum thread or community post as a link-building opportunity. The
urlmust 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 viacompetitorId. - Archive a forum opportunity: Soft-deletes the forum opportunity by setting its archived date. Archived items are excluded from the list endpoint.
- Update a forum opportunity: Updates the
statusof a forum opportunity. Set toprocessedonce you have engaged with the thread, or back tonewto requeue it. - List questions: 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
statusto separate new from already-processed questions. - Archive a question: Soft-deletes the question by setting its archived date. Archived questions are excluded from the list endpoint.
- Update a question: Updates the
statusof a question. Mark itprocessedonce you have used or addressed the question (e.g. added it as an FAQ in an article), or set it back tonewto reconsider it. - List backlinks: Returns a paginated list of backlinks. Use
typeto switch between competitor backlinks (default), your own backlinks, or archived ones. Combinetype=competitorswithcompetitorIdto scope results to a single competitor. Filter bydomainFromsubstring to search for a specific linking domain. - Archive a backlink: 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/unarchiveto restore. - Unarchive a backlink: Restores a previously archived backlink so it appears in the default list again.
- Update backlink status: Mark a backlink as processed or new. Use this to track which competitor backlink opportunities you have already acted on.
- List actions: Returns a paginated list of actions ordered by position then creation date. Filter by
statusandtypes, both of which accept comma-separated or repeated values, or asearchsubstring matching the title or description. Archived actions are never returned. - Create an action:
typeis required and has no default, and it decides which other fields apply: - Get an action: Returns a single action by ID, including its linked keywords and the ID of the generated article (if one exists).
- Delete an action: 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: Edits an action's content —
title,slug,shortDescription,description,additionalInstructions,categoryId,keywordIds— or its bookkeeping:statusandarchived. PassingkeywordIdsreplaces the full set of linked keywords. - Generate an article for an action: Triggers AI article generation. The action must be
type: "write_article"withstatus: "new". Generation is asynchronous and takes ~5-10 minutes: this returns{ "success": true }immediately, then pollGET /actions/:iduntilstatusisprocessed(or watchGET /articles) to pick up the `a… - List categories: Returns a paginated list of all categories in your workspace, ordered by creation date descending.
- Create a category: Creates a new category in your workspace. Category names must be unique within a workspace. A default color is assigned automatically.
- Delete a category: Permanently deletes a category. Actions and articles that were assigned to this category will have their
categoryIdset to null. - Update a category: Rename a category. The new name must be unique within the workspace.
- List articles: 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),statusorcategoryId. ThecontentHtmlfield is omitted from list responses to keep payloads small — fetch a… - Get an article: Returns a single article including its full
contentHtml. Articles are identified by UUID. - Delete an article: Permanently deletes an article. This action cannot be undone. Associated action and keyword links are preserved.
- Update an article: Update metadata such as
title,description,slug,coverImageUrl, orcategoryId. Theslugmust be unique within your workspace. Article content and status are managed by RankSpot and cannot be changed via the API. - List tracked prompts: Returns the prompts asked on every AI visibility run. Archived prompts are excluded by default; pass
type=archivedfor those instead. - Track a new prompt: 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: 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: Updates the
textof 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: 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: Captured answers for your tracked prompts, newest first. Covers the full history unless you narrow it with
startDateandendDate. 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: 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: Pages the AI platforms cited while answering your prompts, most-cited first. Defaults to the worklist: pages not yet acted on. Pass
type=processedortype=archivedfor the others. Covers the full history unless you narrow it withstartDateandendDate; filter bydomainsubstring to look at… - Archive a cited page: Hides a page from the default list; retrieve it with
type=archivedand 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: Updates the
statusof a cited page. Set toprocessedonce you have acted on the citation opportunity, or back tonewto requeue it. Archiving is a separate axis: useDELETEand/unarchive. The returnedcitationsandplatformsare all-time totals, since a write has no period to count ov… - Unarchive a cited page: Restores a previously archived page so it appears in the default list again.
- List fanout queries: 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: 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: Hides a query from the default list; retrieve it with
type=archivedand 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: Restores a previously archived query so it appears in the default list again.
- Get AI visibility summary: 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: A live Google search, returned as
items: the blocks of the results page in page order, each with atypeto branch on.typeschooses which blocks come back and defaults toorganicanddiscussions_and_forums; ask forai_overview,people_also_ask,videoorrelated_searcheswhen you wi… - Fetch a page as text: 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: Returns clicks, impressions, CTR, and average position from Google Search Console for your connected property.
- Check whether a page is indexed: Inspects a single URL with the Google Search Console URL Inspection API and reports its index status.
- Submit a page for indexing: Notifies Google via the Indexing API that a URL has been added/updated (
URL_UPDATED) or removed (URL_DELETED).
OpenAPI Specs
Optional
This documentation is built and hosted on Mintlify, a developer documentation platform.