RankControl Social API

The Social API from RankControl — 8 operation(s) for social.

GitHub OpenAPI

Operations 8

GET /api/v1/social Social thread prospects (Reddit/X) where the brand's articles could earn a… #
POST /api/v1/social/draft-reply AI-draft a reply for a social thread. #
POST /api/v1/social/open Open a drafted social thread to post the reply yourself: returns the thread URL… #
POST /api/v1/social/reddit-profile Save the Reddit account the Social tab drafts for: username (optional), comment… #
GET /api/v1/social/stats Counts of the Social tab's Reddit and X threads: total, by stage (identified… #
POST /api/v1/social/status Skip a social thread so it leaves the queue (the only manual status; Posted is… #
POST /api/v1/social/threads/posted Record the reply you posted on a social thread you opened with… #
POST /api/v1/social/x-handle Save the X handle used to recognise your posted replies (optional; text… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rctrl-com:rctrl-com-social-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rctrl-com-social-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RankControl Social 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: Social
paths:
  /api/v1/social:
    get:
      operationId: list_social_threads
      summary: Social thread prospects (Reddit/X) where the brand's articles could earn a…
      description: Requires the `read:content` scope.
      x-required-scope: read: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'
      parameters:
      - name: platform
        in: query
        required: false
        schema:
          type: string
          enum:
          - reddit
          - twitter
          description: reddit or twitter (X)
      - name: status
        in: query
        required: false
        schema:
          type: string
          description: 'Show one stored status: identified, reply_drafted (opened replies included), engaged (posted) or skipped'
      - name: stage
        in: query
        required: false
        schema:
          type: string
          enum:
          - identified
          - reply_ready
          - opened
          - posted
          - skipped
          description: 'Show one stage, as the Social tab''s chips do: identified, reply_ready, opened (you opened your reply on the platform and it isn''t on the thread yet), posted or skipped'
      - name: age
        in: query
        required: false
        schema:
          type: string
          enum:
          - ranked
          - new
          description: 'ranked: the best matches for your articles'' keywords, of any age. new: threads posted in the last 48 hours on Reddit or 24 hours on X.'
      - name: aiSources
        in: query
        required: false
        schema:
          type: boolean
          description: Set true to list only the threads AI engines cite for your tracked questions (aiCited). Needs a product or service in Brand Kit.
      tags:
      - Social
  /api/v1/social/draft-reply:
    post:
      operationId: draft_social_reply
      summary: AI-draft a reply for a social thread.
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      x-rate-limit-per-minute: 5
      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:
                threadId:
                  type: string
                  description: Thread id from list_social_threads
                mentionMode:
                  type: string
                  enum:
                  - none
                  - natural
                  - founderOpen
                  description: Brand-mention mode; warm-up accounts are clamped to none
              required:
              - threadId
      tags:
      - Social
  /api/v1/social/open:
    post:
      operationId: open_social_thread
      summary: 'Open a drafted social thread to post the reply yourself: returns the thread URL…'
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      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:
                threadId:
                  type: string
                  description: Thread id from list_social_threads
                text:
                  type: string
                  description: Your edited reply. Leave it out to use the draft.
              required:
              - threadId
      tags:
      - Social
  /api/v1/social/reddit-profile:
    post:
      operationId: set_reddit_profile
      summary: 'Save the Reddit account the Social tab drafts for: username (optional), comment…'
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      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:
                username:
                  type: string
                  description: Your Reddit username, with or without u/
                karma:
                  type: number
                  description: Your comment karma (0 or more)
                accountAge:
                  type: string
                  description: under1mo | 1to6mo | 6moto2yr | over2yr
                goal:
                  type: string
                  enum:
                  - Feedback
                  - First users
                  - Traffic
                  - Awareness
                  - Helping people
                  description: What you want from Reddit
                founderStory:
                  type: string
                  description: Your real backstory. Drafts draw on it, in the first person, when it fits.
                tone:
                  type: string
                  enum:
                  - Casual
                  - Technical
                  - Blunt
                  - Story-driven
                  - Funny
                  description: How your drafts sound
              required:
              - karma
              - accountAge
              - goal
              - founderStory
              - tone
      tags:
      - Social
  /api/v1/social/stats:
    get:
      operationId: get_social_stats
      summary: 'Counts of the Social tab''s Reddit and X threads: total, by stage (identified…'
      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:
      - Social
  /api/v1/social/status:
    post:
      operationId: update_social_thread_status
      summary: Skip a social thread so it leaves the queue (the only manual status; Posted is…
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      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:
                threadId:
                  type: string
                  description: Thread id from list_social_threads
                status:
                  type: string
                  description: skipped, the only status you can set
              required:
              - threadId
              - status
      tags:
      - Social
  /api/v1/social/threads/posted:
    post:
      operationId: mark_social_thread_posted
      summary: Record the reply you posted on a social thread you opened with…
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      x-rate-limit-per-minute: 20
      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:
                threadId:
                  type: string
                  description: Thread id from list_social_threads
                permalink:
                  type: string
                  description: The link to your posted reply
                postedText:
                  type: string
                  description: Your reply as posted
                confirm:
                  type: boolean
                  description: Set true to mark the thread Posted
              required:
              - threadId
              - permalink
      tags:
      - Social
  /api/v1/social/x-handle:
    post:
      operationId: set_social_x_handle
      summary: Save the X handle used to recognise your posted replies (optional; text…
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      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:
                handle:
                  type: string
                  description: Your X handle, with or without @. An empty string clears it.
              required:
              - handle
      tags:
      - Social
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_...`'