RankControl Links API
The Links API from RankControl — 4 operation(s) for links.
The Links API from RankControl — 4 operation(s) for links.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/rctrl-com:rctrl-com-links-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: RankControl Links API
version: 1.0.0
description: 'The REST API behind the RankControl dashboard, CLI, and MCP server. Authenticate every request with an API key as a Bearer header; keys are minted in Settings > API and carry scopes (see each operation''s x-required-scope). Full docs: https://rctrl.com/docs/api. MCP endpoint for AI agents: https://api.rctrl.com/mcp (OAuth 2.1, see https://rctrl.com/docs/mcp).'
contact:
email: help@rctrl.com
url: https://rctrl.com/contact
termsOfService: https://rctrl.com/terms
servers:
- url: https://api.rctrl.com
security:
- bearerAuth: []
tags:
- name: Links
paths:
/api/v1/links/detect:
post:
operationId: detect_site_links
summary: Scan the customer's sitemap (nested indexes handled) or crawl a blog root page…
description: Requires the `write:content` scope.
x-required-scope: write:content
x-rate-limit-per-minute: 3
security:
- bearerAuth: []
responses:
'200':
description: Success; the payload is wrapped in a data envelope
content:
application/json:
schema:
type: object
properties:
data: {}
'400':
description: Bad input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key lacks the required scope
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found in this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited; the body includes a retryAfterMs hint
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
source:
type: string
enum:
- sitemap
- blogroot
description: sitemap reads a sitemap XML. blogroot collects the links on one page, like your blog index.
url:
type: string
description: Sitemap XML URL or a page URL to crawl
required:
- source
- url
tags:
- Links
/api/v1/links/pages:
get:
operationId: list_site_pages
summary: Your site's pages that articles can link to, in the text and in the Related…
description: Requires the `read:content` scope.
x-required-scope: read:content
x-rate-limit-per-minute: 60
security:
- bearerAuth: []
responses:
'200':
description: Success; the payload is wrapped in a data envelope
content:
application/json:
schema:
type: object
properties:
data: {}
'400':
description: Bad input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key lacks the required scope
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found in this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited; the body includes a retryAfterMs hint
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Links
post:
operationId: add_site_pages
summary: Add site page URLs for internal linking.
description: Requires the `write:content` scope.
x-required-scope: write:content
x-rate-limit-per-minute: 10
security:
- bearerAuth: []
responses:
'200':
description: Success; the payload is wrapped in a data envelope
content:
application/json:
schema:
type: object
properties:
data: {}
'400':
description: Bad input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key lacks the required scope
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found in this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited; the body includes a retryAfterMs hint
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
urls:
type: array
items:
type: string
description: Full page URLs on your site
required:
- urls
tags:
- Links
/api/v1/links/pages/linking:
post:
operationId: set_site_page_linking
summary: Turn linking to a site page on or off.
description: Requires the `write:content` scope.
x-required-scope: write:content
x-rate-limit-per-minute: 30
security:
- bearerAuth: []
responses:
'200':
description: Success; the payload is wrapped in a data envelope
content:
application/json:
schema:
type: object
properties:
data: {}
'400':
description: Bad input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key lacks the required scope
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found in this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited; the body includes a retryAfterMs hint
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
pageId:
type: string
description: Page id from list_site_pages
isLinkable:
type: boolean
description: true lets new articles link to the page, false stops them
required:
- pageId
- isLinkable
tags:
- Links
/api/v1/links/pages/remove:
post:
operationId: remove_site_page
summary: Remove a page from your site pages.
description: Requires the `write:content` scope.
x-required-scope: write:content
x-rate-limit-per-minute: 30
security:
- bearerAuth: []
responses:
'200':
description: Success; the payload is wrapped in a data envelope
content:
application/json:
schema:
type: object
properties:
data: {}
'400':
description: Bad input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key lacks the required scope
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found in this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited; the body includes a retryAfterMs hint
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
pageId:
type: string
description: Page id from list_site_pages
required:
- pageId
tags:
- Links
components:
schemas:
Error:
type: object
properties:
error:
type: string
required:
- error
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'API key from Settings > API, e.g. `Authorization: Bearer rctrl_pk_...`'