Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: RankControl Auth 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: Auth
paths:
/api/v1/auth/device/poll:
post:
operationId: post_auth_device_poll
summary: auth device poll
description: Requires the `public` scope.
x-required-scope: public
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:
- Auth
/api/v1/auth/device/start:
post:
operationId: post_auth_device_start
summary: auth device start
description: Requires the `public` scope.
x-required-scope: public
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'
tags:
- Auth
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_...`'