RedCrawler API
Manage Comments V2

Comment State Controls V2

All comment management actions in one endpoint: save, unsave, follow (reply notifications), unfollow, delete, and edit. Each action requires the comment author'

POST /api/v2/comment/state

All comment management actions in one endpoint: save, unsave, follow (reply notifications), unfollow, delete, and edit. Each action requires the comment author's bearer token.

Query parameters

NameTypeRequiredDescription
actionstringYesAction to perform: save, unsave, follow, unfollow, delete, edit
comment_idstringYesComment URL, t1_ID, or raw ID (e.g. m5abc12, t1_m5abc12, reddit.com/.../comment/m5abc12/)
proxystringNoCustom proxy (host:port:user:pass)
bearerstringNoBearer token (auto-resolves from Token Vault if stored)
contentstringNoNew comment text — plain text or Reddit markdown both work (required for 'edit' action only)

Authentication

HeaderValue
X-RapidAPI-KeyYour RapidAPI key
X-RapidAPI-Hostred-crawler1.p.rapidapi.com

Example request

cURL

curl -X POST "https://red-crawler1.p.rapidapi.com/api/v2/comment/state?action=<action>&comment_id=xyz789&proxy=<proxy>&bearer=<bearer>&content=<content>" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com"

JavaScript

const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v2/comment/state?action=<action>&comment_id=xyz789&proxy=<proxy>&bearer=<bearer>&content=<content>", {
  method: "POST",
  headers: {
      "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
    "X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
    }
});
const data = await res.json();
console.log(data);

Python

import requests

url = "https://red-crawler1.p.rapidapi.com/api/v2/comment/state?action=<action>&comment_id=xyz789&proxy=<proxy>&bearer=<bearer>&content=<content>"
headers = {
    "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
    "X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
resp = requests.post(url, headers=headers)
print(resp.json())

Example response

HTTP 200 — captured from a live call to the gateway.

{
  "success": true,
  "data": {
    "success": true,
    "action": "save",
    "comment_id": "t1_oi8uczm",
    "result": {
      "updateCommentSaveState": {
        "ok": true,
        "errors": null
      }
    }
  },
  "error": null,
  "meta": {
    "vault_expires_at": "2026-04-30T07:47:21.906002+00:00",
    "vault_remaining": "20h 2m"
  },
  "timestamp": "2026-04-29T11:44:26.313136+00:00"
}

On this page