Commenting V2
Create Comment V2
Create a comment or reply. For top-level: pass post URL or t3_ID. For reply: pass comment URL or t1_ID. Supports Reddit markdown, inline images via URL, and GIF
POST /api/v2/comment/create
Create a comment or reply. For top-level: pass post URL or t3_ID. For reply: pass comment URL or t1_ID. Supports Reddit markdown, inline images via URL, and GIFs via URL. Requires bearer token.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Comment text — plain text or Reddit markdown both work. Required if no image_url/gif_url provided. |
post_id | string | Yes | Post URL/t3_ID for top-level comment, OR comment URL/t1_ID for reply (e.g. t3_1sys4r2, t1_ogv9p8c, or full reddit.com URL) |
proxy | string | No | Custom proxy (host:port:user:pass) |
bearer | string | No | Bearer token (auto-resolves from Token Vault if stored) |
image_url | string | No | Image URL to embed in comment (imgur, i.redd.it, etc.). Uploaded to Reddit automatically. |
gif_url | string | No | GIF URL to embed in comment (giphy, tenor, etc.). Uploaded to Reddit automatically. |
Authentication
| Header | Value |
|---|---|
X-RapidAPI-Key | Your RapidAPI key |
X-RapidAPI-Host | red-crawler1.p.rapidapi.com |
Example request
cURL
curl -X POST "https://red-crawler1.p.rapidapi.com/api/v2/comment/create?text=<text>&post_id=1sys4r2&proxy=<proxy>&bearer=<bearer>&image_url=<image_url>&gif_url=<gif_url>" \
-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/create?text=<text>&post_id=1sys4r2&proxy=<proxy>&bearer=<bearer>&image_url=<image_url>&gif_url=<gif_url>", {
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/create?text=<text>&post_id=1sys4r2&proxy=<proxy>&bearer=<bearer>&image_url=<image_url>&gif_url=<gif_url>"
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,
"comment": {
"createComment": {
"commentInfo": {
"id": "t1_oiwtf6f",
"createdAt": "2026-04-29T10:04:14.059000+0000",
"editedAt": null,
"isAdminTakedown": false,
"isRemoved": false,
"parent": null,
"postInfo": {
"id": "t3_1sys93q",
"title": "test gif",
"isNsfw": false,
"subreddit": {
"id": "t5_2qh23",
"name": "test",
"prefixedName": "r/test",
"allowedMediaInComments": [
"EXPRESSION",
"STATIC",
"ANIMATED",
"GIPHY"
],
"isQuarantined": false,
"styles": {
"icon": null,
"legacyIcon": null,
"primaryColor": null,
"legacyPrimaryColor": null
}
}
},
"isLocked": false,
"isInitiallyCollapsed": false,
"initiallyCollapsedReason": null,
"content": {
"markdown": "this is a comment\n\n",
"html": null,
"richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"this is a comment\"}],\"e\":\"par\"},{\"e\":\"img\",\"id\":\"ajk1054es3yg1\"}]}",
"typeHint": "RTJSON",
"preview": "this is a comment",
"richtextMedia": [
{
"id": "ajk1054es3yg1",
"userId": null,
"mimetype": "image/jpeg",
"width": null,
"height": null,
"status": "UNPROCESSED",
"url": null,
"small": null,
"medium": null,
"large": null,
"xlarge": null,
"xxlarge": null,
"xxxlarge": null,
"obfuscated_small": null,
"obfuscated_medium": null,
"obfuscated_large": null,
"obfuscated_xlarge": null,
"obfuscated_xxlarge": null,
"obfuscated_xxxlarge": null
}
],
"translationInfo": {
"isTranslated": false,
"translatedLanguage": null
}
},
"isTranslatable": false,
"languageCode": null,
"authorInfo": {
"id": "t2_29onm7dc32",
"name": "Motor_Tip8865",
"isBlocked": false,
"isCakeDayNow": false,
"attributes": {},
"newIcon": {
"url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_6.png",
"dimensions": {
"width": 256,
"height": 256
}
},
"iconSmall": {
"url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_6.png",
"dimensions": {
"width": 256,
"height": 256
}
},
"snoovatarIcon": null,
"profile": {
"isNsfw": false
},
"accountType": "USER"
},
"score": 1,
"voteState": "UP",
"authorFlair": null,
"isSaved": false,
"isStickied": false,
"isScoreHidden": false,
"awardings": [],
"isArchived": false,
"distinguishedAs": null,
"permalink": "/r/test/comments/1sys93q/test_gif/oiwtf6f/",
"moderationInfo": null,
"isCommercialCommunication": false,
"removedByCategory": null
},
"ok": true,
"errors": null,
"fieldErrors": null
}
}
},
"error": null,
"meta": {
"vault_expires_at": "2026-04-30T07:47:21.906002+00:00",
"vault_remaining": "21h 43m"
},
"timestamp": "2026-04-29T10:04:14.344960+00:00"
}