Moderation V1
Distinguish V1
Add or remove the mod badge (green shield) on a post or comment. Set action=yes to distinguish, action=no to undistinguish. Works on both posts (t3_) and commen
POST /api/v1/moderate/distinguish
Add or remove the mod badge (green shield) on a post or comment. Set action=yes to distinguish, action=no to undistinguish. Works on both posts (t3_) and comments (t1_). Requires mod permissions.
Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
post | string | Yes | Post or comment URL, ID, or fullname (t3_ or t1_ prefix). Accepts URLs, stripped IDs, or prefixed IDs. |
proxy | string | No | Proxy. Optional if stored in Token Vault. |
action | string | No | yes = add mod badge (distinguish), no = remove mod badge (undistinguish). |
bearer | string | No | Bearer token. Optional if stored in Token Vault. |
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/v1/moderate/distinguish" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com" \
-H "Content-Type: application/json" \
--data '{"post": "1sys4r2", "proxy": "<proxy>", "action": "yes", "bearer": "<bearer>"}'JavaScript
const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v1/moderate/distinguish", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
},
body: JSON.stringify({
"post": "1sys4r2",
"proxy": "<proxy>",
"action": "yes",
"bearer": "<bearer>"
})
});
const data = await res.json();
console.log(data);Python
import requests
url = "https://red-crawler1.p.rapidapi.com/api/v1/moderate/distinguish"
headers = {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com",
"Content-Type": "application/json"
}
payload = {
"post": "1sys4r2",
"proxy": "<proxy>",
"action": "yes",
"bearer": "<bearer>"
}
resp = requests.post(url, headers=headers, json=payload)
print(resp.json())Example response
HTTP 200 — captured from a live call to the gateway.
{
"success": true,
"data": {
"jquery": [
[
0,
1,
"call",
[
"t3_1sz1v5h"
]
],
[
1,
2,
"attr",
"find"
],
[
2,
3,
"call",
[
".status"
]
],
[
3,
4,
"attr",
"hide"
],
[
4,
5,
"call",
[]
],
[
5,
6,
"attr",
"html"
],
[
6,
7,
"call",
[
""
]
],
[
7,
8,
"attr",
"end"
],
[
8,
9,
"call",
[]
],
[
0,
10,
"call",
[
"body>div.content"
]
],
[
10,
11,
"attr",
"replace_things"
],
[
11,
12,
"call",
[
[
{
"kind": "t3",
"data": {
"author_flair_background_color": "",
"approved_at_utc": 1777475962,
"subreddit": "RedCrawlerAPI",
"selftext": "testttt",
"author_fullname": "t2_29onm7dc32",
"location_lat": null,
"saved": false,
"mod_reason_title": null,
"gilded": 0,
"clicked": false,
"title": "test",
"link_flair_richtext": [],
"subreddit_name_prefixed": "r/RedCrawlerAPI",
"hidden": false,
"pwls": null,
"link_flair_css_class": null,
"downs": 0,
"thumbnail_height": null,
"top_awarded_type": null,
"hide_score": false,
"name": "t3_1sz1v5h",
"quarantine": false,
"link_flair_text_color": "dark",
"upvote_ratio": 1,
"ignore_reports": false,
"ups": 1,
"domain": "self.RedCrawlerAPI",
"media_embed": {},
"thumbnail_width": null,
"author_flair_template_id": null,
"is_original_content": false,
"user_reports": [],
"secure_media": null,
"is_reddit_media_domain": false,
"is_meta": false,
"category": null,
"secure_media_embed": {},
"link_flair_text": null,
"can_mod_post": true,
"score": 1,
"approved_by": "Motor_Tip8865",
"is_created_from_ads_ui": false,
"author_premium": false,
"thumbnail": "self",
"edited": false,
"author_flair_css_class": "power",
"author_flair_richtext": [
{
"e": "text",
"t": "Power User"
}
],
"websocket_url": "wss://k8s-lb.wss.redditmedia.com/link/1sz1v5h?m=AQAAA3PzaWFucV03GsaGtmEIqP7BqWBFJBqFg3vKNHpTKIhcH7rD",
"gildings": {},
"content_categories": null,
"is_self": true,
"subreddit_type": "private",
"created": 1777475958,
"link_flair_type": "text",
"wls": null,
"removed_by_category": null,
"send_replies": true,
"banned_by": null,
"author_flair_type": "richtext",
"total_awards_received": 0,
"allow_live_comments": false,
"selftext_html": "<!-- SC_OFF --><div class=\"md\"><p>testttt</p>\n</div><!-- SC_ON -->",
"likes": true,
"suggested_sort": null,
"banned_at_utc": null,
"view_count": null,
"archived": false,
"no_follow": false,
"spam": false,
"is_crosspostable": false,
"pinned": false,
"over_18": false,
"all_awardings": [],
"awarders": [],
"media_only": false,
"can_gild": false,
"removed": false,
"spoiler": false,
"locked": false,
"author_flair_text": "Power User",
"treatment_tags": [],
"rte_mode": "richtext",
"visited": false,
"removed_by": null,
"mod_note": null,
"distinguished": "moderator",
"subreddit_id": "t5_hmeujo",
"author_is_blocked": false,
"mod_reason_by": null,
"num_reports": 0,
"removal_reason": null,
"link_flair_background_color": "",
"id": "1sz1v5h",
"is_robot_indexable": true,
"location_name": null,
"report_reasons": [],
"author": "Motor_Tip8865",
"discussion_type": null,
"num_comments": 0,
"location_long": null,
"contest_mode": false,
"mod_reports": [],
"author_patreon_flair": false,
"approved": true,
"author_flair_text_color": "dark",
"permalink": "/r/RedCrawlerAPI/comments/1sz1v5h/test/",
"stickied": false,
"url": "https://www.reddit.com/r/RedCrawlerAPI/comments/1sz1v5h/test/",
"subreddit_subscribers": 2,
"created_utc": 1777475958,
"num_crossposts": 0,
"media": null,
"is_video": false
}
}
],
true,
true,
false
]
],
[
0,
13,
"call",
[
"body>div.content .link .rank"
]
],
[
13,
14,
"attr",
"hide"
],
[
14,
15,
"call",
[]
]
],
"success": true
},
"error": null,
"timestamp": "2026-04-29T15:19:31.269456+00:00"
}